ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wayne <whwa...@gmail.com>
Subject Re: [Ant customizable task]dependencies
Date Sat, 11 Jun 2011 16:48:01 GMT
Dominique Devienne and haefelinger :

   I use pathelement. it works. thanks for kind help.


>From Wayne



2011/6/11 wolfgang haefelinger <whaefelinger@gmail.com>:
>>> i try to use  fileset  to add these dependencies. but it seems wrong.
>
> I bet he is missing transitive dependencies: Just let task "javaflow"
> depend on " commons-javaflow-1.0-SNAPSHOT.jar" and Ant would
> automatically add those other dependencies.
>
> On Fri, Jun 10, 2011 at 3:47 PM, Dominique Devienne <ddevienne@gmail.com> wrote:
>> On Fri, Jun 10, 2011 at 4:22 AM, wayne <whwayne@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-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>>
>
>
>
> --
> Wolfgang Häfelinger
> häfelinger IT - Applied Information Technology
> http://www.haefelinger.it
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>



-- 
..............................................

************************************************

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


Mime
View raw message