On Fri, Jun 10, 2011 at 4:22 AM, wayne <whwa...@gmail.com> wrote:
>     Is anybody know how to add dependencies to a customizable ant task.

Not sure what you mean here.

>        <taskdef name="javaflow"
> classname="org.apache.commons.javaflow.ant.AntRewriteTask">
>                                <classpath id = "project.class.path">
>                                        <fileset dir = "lib">
>                                                        <include name = 
> "**/ant-1.7.1.jar"/>

Avoid ** and fileset+include in this case, rather use pathelement lib/...

> i try to use  fileset  to add these dependencies. but it seems wrong.

Tried? Are you saying it doesn't work? You don't need to list the jars
which are already in $ANT_HOME/lib, and I don't see why you feel it
"seems wrong" to list the dependencies you task needs. --DD

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to