thing is I'm trying to get the classpath defined in buildscript.... was just looking into what datastructure has that info right now.
thanks On Thu, Mar 25, 2010 at 11:57 AM, Geronimo M. H. <[email protected]> wrote: > Am Thursday 25 March 2010 18:36:47 schrieb phil swenson: >> However, when I call System.getProperty("java.class.path") I only get this: >> /Users/pswenson/dev/sag/gradle-0.8/lib/gradle-core-0.8.jar > > That's standard jvm behaviour if a jar is executed (like java -jar test.jar). > > Don't know wether it helps, but I do this to create the classpath in my > Manifest-files (supposing that there is a relative lib-subdir): > > cpSub = '' > sourceSets.main.compileClasspath.each { > File file -> > cpSub += ' lib/' + file.name > } > > classpath = cpSub > > If you want to give the classpath to another jvm-instance, you probabely have > to use a userdefined system property of your choice. > You might also want to change the path-separator (I use ' ' for manifest). > > hth Geronimo > > --------------------------------------------------------------------- > 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
