On Tue, 2011-03-01 at 08:35 +0800, Niclas Hedhman wrote:
[ . . . ]
> When you declare the project 'jsr166y' in settings.gradle, and later use it as
> project( ':jsr166y'), Gradle assumes a directory path of './jsr166y'
> and hence you need the ".." in "../src/jsr166y" to get to the right
> location.
> The main project is relative to the settings.gradle file, and I think
> you should drop the "..".

I'll look into this, thanks for the signpost.  It certainly gives me a
new direction to investigate for a solution.

> Besides, how come you don't need to specify "../src/main/java" ?? And
> for the main project, you shouldn't need it at all, as src/main/java
> is the default.

As I mentioned src/main/java is the Maven 2 default which is default for
Gradle, but the package in there is java.util.  So the java you are
seeing in the path is not the language specification of a Maven 2
default but is the first component of the package name in a Maven 1
structured filestore.

Sadly I can't just rearrange the filestore which would make all this go
away.   

-- 
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