ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason van Zyl <>
Subject [PATCH] Path creation with elements specifed in an external file
Date Sun, 10 Feb 2002 06:29:31 GMT

I have a little patch that allows one to create a set of paths
from a dependency file that lists the JAR files required by a project.

This is in part to:

-> Have a single build.xml for many projects so I want to keep 
definitions outside the build.xml file. My motivation is the maintenance 
of all the turbine related projects. I would like to have a single 
build.xml file and just change properties files where appropriate for 
each project. So I would like to ...

-> Localize JAR dependencies to a single location. Right now this is a
simple text file that I generate from the Gump project descriptors but 
eventually I would like to use the project descriptors in a more direct

The dep lists that are currently employed are also being used to 
automatically download any jars required for the build. The file
looks something like this:

So this list has two purposes: the downloading of jars and being use for 
constructing the classpath with JARs located in a local JAR repository 
(the way I have it rigged for now anyway). So I would really like to 
keep this info in one place.

This is what I currently have in the turbine3 build.xml file:

   <!-- Create a classpath from the deps.list file using
        the ${lib.repo} as the base directory -->


I don't know if this patch is the best way to do this, if there is an 
easier or better way I'm all ears. I'm in the process of trying to get a 
  JAR repository working for the turbine projects and unify all the 
build files so any suggestions would be much appreciated.

The patch is available here:


Jason van Zyl

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message