Hi,

I am using gradle to run a Hadoop map reduce job using JavaExec as
follows


task(run, dependsOn: 'jar', type: JavaExec) {
        classpath sourceSets.main.runtimeClasspath
        setMain "...."
        args "$file"
}

I need to NOT have build/classes/main in the classpath but rather the
created jar file. How do I achieve this. 


Also is the the best way to run a java program?


Thanks and regards,
 - Ashish


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

    http://xircles.codehaus.org/manage_email


Reply via email to