ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephane Bailliez" <>
Subject Re: [PATCH] Path creation with elements specifed in an external file
Date Sat, 09 Feb 2002 18:10:34 GMT
----- Original Message -----
From: "Jason van Zyl" <>

Hi Jason, nice to see you around :-)

> -> 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
> way.

Same. What I have at work is a system similar to yours but less elaborated.

I have a that is included by each project in its build file.
and that gives property names to third party. so that no one really knows
where are the thirdparty but the basedir, something like:
<property name="lib.dir" location=""/>
<property file="${lib.dir}/"/>

and in the

so that no ones know what is the real name and location of xalan, it makes
it very easy to upgrade it, all I have to do is change the
people won't notice in the next label.

I have a gump descriptor per third party or project in its directory
(previously it was set up in a central place like Sam does but it does not
work well since we have to maintain both buildfile and gump descriptor in
different places and it is a pain to label each of them.)
However the system I have does not manage dependencies and is maintain by
hand so I duplicate the path in the and gump.xml descriptor,
I thought about generating the, so I'm glad you're into it

>    <path
>      id="classpath"
>      dir="${lib.repo}"
>      pathlist="deps.list"
>    />

mm.. I understand your point but the couple dir/pathlist is bothering me a
little bit, but I guess we don't have much choice.
I would not like people to confuse 'dir' with a directory path as with

And it has to be available in a pathelement too, something like:
<path id="classpath">
    <pathlelement basedir="" pathlistfile=""/>

basedir being optional and overriding the project basedir to resolve files.
but again I have to use a 'file' name...damn, confusing. maybe
'pathlistfile', or creating a new element for these kind of use, I'm curious
to see how we can a path to plug gump descriptors directly and we probably
have to think about that or use
a new datatype

Thoughts ?


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

View raw message