I am launching a task from gradle and need to fetch the runtime
classpath of the current process, so I can spawn another process with
the classpath using ProcesBuilder.

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

my build.gradle has this in it to bring in other jars to my classpath....

buildscript {
    repositories {
        flatDir(name: 'buildLib', dirs: "../lib/buildlib")
        flatDir(name: 'test', dirs: "../lib/test")

    }
    dependencies {
        classpath name: 'optbuild'
        classpath name: 'yamlbeans', version: '1.04'
        classpath name: 'wm-mapi'
        classpath name: 'wm-brokerclient'
        classpath name: 'activation'
        classpath name: 'CLI'
        classpath name: 'qapushtools'
        classpath name: 'quartz', version: '1.6.0'
    }
}

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to