You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@buildr.apache.org by Roman Roelofsen <r....@prosyst.com> on 2008/08/13 14:03:10 UTC

Scala test classes are always compiled

Hi all!

When compiling the normal scala files (src/main/scala), Buildr seems to check 
if the compilation is necessary (I guess by comparing the time stamps with 
target/classes). However, it seems that this behaviour is not used when 
compiling the scala test files (src/test/scala -> target/test/classes).

On purpose? Bug? 

Cheers,

Roman


Re: Scala test classes are always compiled

Posted by Alex Boisvert <bo...@intalio.com>.
Did you check that each .scala file generates a corresponding .class file?

(Same name, same directory structure)

This is now documented but I don't think the website has been updated yet.

alex


On Wed, Aug 13, 2008 at 5:03 AM, Roman Roelofsen <r....@prosyst.com>wrote:

>
> Hi all!
>
> When compiling the normal scala files (src/main/scala), Buildr seems to
> check
> if the compilation is necessary (I guess by comparing the time stamps with
> target/classes). However, it seems that this behaviour is not used when
> compiling the scala test files (src/test/scala -> target/test/classes).
>
> On purpose? Bug?
>
> Cheers,
>
> Roman
>
>