Marty, it seems to me, that the problem (as Levi suggested) is that, you tell Gradle to look for sources in buildDir and that buildDir is cleaned everytime you do "gradle clean".
(Someone please stop me if I'm talking nonsense). -- Tomek 2010/1/20 MartyMcFly <[email protected]>: > > Thanks for the logging hint... > > if this is intentional ? honestly - no idea... its from the userguide or the > internet... I'm just trying to get the right syntax. > > usePlugin 'java' > > sourceSets.main.srcDir = new File(buildDir, 'src') > sourceSets.main.classesDir = new File(buildDir, 'classes') > > so the compilation works - it does compile... but it compiles to > build/classes and I wanted to compile it to classes... so it ignores the > second entry. > > Is there no way of changing it ? > > Thanks for the fast help here... cool > > > > levi_h wrote: >> >> Hi Marty, >> >> On Wed, Jan 20, 2010 at 12:30 PM, MartyMcFly >> <[email protected]>wrote: >> >>> >>> sourceSets.main.srcDir = new File(buildDir, 'src') >>> >> >> Is this intentional? >> >> Levi >> >> > > -- > View this message in context: > http://old.nabble.com/Failing-on-simple-script-tp27240252p27240548.html > Sent from the gradle-user mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
