I updated to use from sourceSets.main.runtimeClasspath.filter { it.isFile() } 
and my JAR files are now included.  Thanks.

I've voted for the Jira issue, thanks for the link.

I attempted your suggestion with the custom configuration, however my
dependancy couldn't be resolved.  I ran with -d and can see the JAR I have
specified is in the compile classpath, but isn't getting resolved. The
depedancy I've set is on :ca_client which is a JAR (ca_client.jar) produced
by a dependant project and is on the compile classpath for this task.  Have
I specified the dependancy correctly?
 

 configurations {
        actualJars
        compile.extendsFrom actualJars
    }
           
    dependencies {
        compile project(':gui')       
        compile ":j2ee", ":log4j"  //picked up from repository defined in
'subprojects' section
        actualJars ':ca_client' 
    }

Thanks for all your help!
-- 
View this message in context: 
http://gradle.1045684.n5.nabble.com/Dependancy-error-with-EAR-task-tp3261740p3272120.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


Reply via email to