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