buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Including a jar with src/test/java
Date Thu, 19 Aug 2010 08:29:49 GMT
Thanks for your suggestion, the error is now different but means the same thing. We don't
have the 100 tests failing BUT the build is aborted on a noclass found error. (probably because
it is in the src/test/java of the dependency).
       define 'stats-api' do                compile.with les_projets(['commons-metier','stats-persistence']),
EHCACHE, COMMONS_COLLECTIONS                compile.with SPRING_SEUL # attention,
commons embarque SPRING : confit ?                test.compile.with (project("stats-persistence")  
             test.with project('commons-test'), DB_UNIT, MOCKITO            
   package :jar        end

--- En date de : Mer 18.8.10, Antoine Toulme <> a écrit :

De: Antoine Toulme <>
Objet: Re: Including a jar with src/test/java
Date: Mercredi 18 août 2010, 18h31

Is it in the same Buildfile ?

If yes, then this should work:

test.compile.with (project("foo")

On Wed, Aug 18, 2010 at 09:22, <> wrote:

> Hi everyone (hope I'm not spamming),
> I have a test that is using another test in another project.
> Should I make a jar with only the classes of src/test/java and include this
> project as a test dependencies (like in maven
> ?
> I tried to include the src/test/java folder in the actual jar (just to see)
> with compile.from('src/test/java') but it does not seem to do the trick.
> Thanks for any help,Cheers,Florence.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message