ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject Re: [Ant customizable task]dependencies
Date Fri, 10 Jun 2011 13:47:24 GMT
On Fri, Jun 10, 2011 at 4:22 AM, wayne <> 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:
For additional commands, e-mail:

View raw message