On Jun 22, 2009, at 8:28 PM, JerodLass wrote:


It compiled and I could run the build, but I just started trying to actually
run the wsejbdeploy ant task and I get an error:

No signature of method:
org .gradle .api .internal .artifacts.dsl.dependencies.DefaultDependencyHandler.antpath() is applicable for argument types: (java.lang.String) values: {"wsanttasks"}

on the line:

                   taskdef(name: "wsejbdeploy", classname:
"com.ibm.websphere.ant.tasks.WsEjbDeploy", classpath:
project.dependencies.antpath("wsanttasks"))

where the logic is defined for using the custom ant task wsejbdeploy. This
happens in the following code block:

               project.ant{
                   taskdef(name: "wsejbdeploy", classname:
"com.ibm.websphere.ant.tasks.WsEjbDeploy", classpath:
project.dependencies.antpath("wsanttasks"))

Use: project.configurations.wsanttasks.asPath

- Hans

--
Hans Dockter
Gradle Project Manager
http://www.gradle.org


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

   http://xircles.codehaus.org/manage_email


Reply via email to