This page is no longer maintained — Please continue to the home page at www.scala-lang.org

(mvn + 2.8.0.RC2) .class files are not created in target/classes.

3 replies
Dmitry Grigoriev
Joined: 2009-07-12,
User offline. Last seen 42 years 45 weeks ago.

Hello all!

I'm trying to compile lib.web with Scala 2.8.0.RC2 and got problem:

1) compiler outputs its own internal errors (console log attached);
2) if I disable tests, maven finally says "SUCCESS";
3) but .class files are not created in target/classes directory.

david.bernard
Joined: 2009-01-08,
User offline. Last seen 1 year 27 weeks ago.
Re: (mvn + 2.8.0.RC2) .class files are not created in target/c

if there is error during scalac run then no class are created. The bug
is why maven-scala-plugin don't detect error in the compilation (I'll
investigate after office).

Do you use fork mode or not (could you attach/link the pom.xml) ?

/davidB

On Wed, May 12, 2010 at 13:45, Dmitry Grigoriev wrote:
> Hello all!
>
> I'm trying to compile lib.web with Scala 2.8.0.RC2 and got problem:
>
> 1) compiler outputs its own internal errors (console log attached);
> 2) if I disable tests, maven finally says "SUCCESS";
> 3) but .class files are not created in target/classes directory.
>
> --
> Cheers,
> dimgel
>
> http://dimgel.ru/lib.web
> Thin, stateless, strictly typed Scala web framework.
>

Dmitry Grigoriev
Joined: 2009-07-12,
User offline. Last seen 42 years 45 weeks ago.
Re: (mvn + 2.8.0.RC2) .class files are not created in target/cl

On 05/12/2010 04:47 PM, David Bernard wrote:
> if there is error during scalac run then no class are created. The bug
> is why maven-scala-plugin don't detect error in the compilation (I'll
> investigate after office).

Hm, but what about failure of scalac itself? Looks like compiler bug.
RC1 is ok (as was 2.7.7).

> Do you use fork mode or not (could you attach/link the pom.xml) ?

Attached.

david.bernard
Joined: 2009-01-08,
User offline. Last seen 1 year 27 weeks ago.
Re: Re: (mvn + 2.8.0.RC2) .class files are not created in targ

about scalac itself you should open a ticket at
https://lampsvn.epfl.ch/trac/scala

On Wed, May 12, 2010 at 15:19, Dmitry Grigoriev wrote:
> On 05/12/2010 04:47 PM, David Bernard wrote:
>> if there is error during scalac run then no class are created. The bug
>> is why maven-scala-plugin don't detect error in the compilation (I'll
>> investigate after office).
>
> Hm, but what about failure of scalac itself? Looks like compiler bug.
> RC1 is ok (as was 2.7.7).
>
>> Do you use fork mode or not (could you attach/link the pom.xml) ?
>
> Attached.
>
> --
> Cheers,
> dimgel
>
> http://dimgel.ru/lib.web
> Thin, stateless, strictly typed Scala web framework.
>

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland