I am trying to use a multi-project build to do the JSR166 build.  I have
one difficulty for which I cannot see an easy solution only an extremely
horrid one.

The jsr166 artefact has source and tests (the TCK), both compile fine.

The extra166y artefact has source and tests.  However the tests depend
on a class in the TCK.

Clearly I could separate the TCK out as a separate project but this sort
of sucks.  I ought to be able to use a finegrain project reference to
allow compilation of the extra166y tests to depend on the TCK jar.  I
tried:

        testCompile project ( path : ':jsr166' , configuration 'testCompile' )

but this results in the error that testCompile is not public and cannot
be used.  The manual only deals in user defined configurations.  Is
there any way of being able to add the TCK directory of compiled files
to the classpath of the extra166y tests compilation?

Thanks.
  

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[email protected]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [email protected]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to