ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: Process File?
Date Thu, 06 Aug 2009 07:15:57 GMT
You could use the textfile if you write the dependencies as include-patterns.

dependencies.txt
----------------
lib/foo.jar
lib/bar.jar
lib/spring/*.jar

<fileset dir="." includesfile="dependencies.txt"/>


Or use Ivy, which additionally loads the artefacts from a repository.


Jan

>-----Urspr√ľngliche Nachricht-----
>Von: Sam [mailto:ntkn@esamir.com] 
>Gesendet: Mittwoch, 5. August 2009 22:12
>An: Ant Users List
>Betreff: Process File?
>
>I was wondering if this was feasible in ant.
>
>I was thinking of having the list of dependencies listed somewhere say 
>in:  ant/dependencylist.txt for example.
>
>I'd like to have ant read the text file and build a fileset then for 
>each entry in the depenendancy.txt I'd pass a line to my jar target.
>
>ie.
><jar>
>     .... usual parameters
>    <zipfileset src="${libpath}/jarfilereferencedinDependency.txt" />
>    <zipfileset src="${libpath}/jarfilereferencedinDependency.txt" />
></jar>
>
>--
>Sam
>
>
>---------------------------------------------------------------------
>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