ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Morten S. Mortensen" <>
Subject Q: Defining a path <path> by "reference and prefix" only?
Date Thu, 22 Jan 2004 21:55:07 GMT
Hi all Ant-users,
I want two paths like -
<path id="a">
  <pathelement .........../>
  <pathelement .........../>
- and -
<path id="b">
- both valid for convertion through <pathconvert>.
I would like to define path "b" in such a way, that each element from "a" is in "b", but with
a prefix attached! That is, by writing "b" *without* repeating the individual elements of
"a", but just writing 'reference to "a"' and 'attach prefix "misc/etc/"'.

Example of effect:

After convertion the "a" path is e.g. -
- and "b" will automatically become -
Can path-like structures do this natively? -If so, how do I define path "b"?
Morten Sabroe Mortensen
View raw message