buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Frommel <>
Subject Re: Always compiling
Date Fri, 19 Feb 2010 15:59:15 GMT
Alex Boisvert schrieb:
> On Fri, Feb 19, 2010 at 4:49 AM, Oliver Frommel
> <>wrote:
>> after some try and error I managed to create a buildfile for a small
>> Scala project that uses some artifacts from Maven repo and some local
>> libs. However every time I am running buildr it compiles the source code
>> files again, even if nothing has changed. Is this the default behaviour
>> or is there anything I can do to change it?
> Most likely you have a source file (Foo.scala) that does not generate an
> equivalent class file (Foo.class).

I see. How can I fix it? Is there no way to "hard code" dependencies
like that, like in classic make, where I could write

someCrazyClassname.class: src/main/scala/com/example/Foo.scala

What can you do anyway, when a Java/Scala source gets compiled to many
class files?


View raw message