ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Gregg" <>
Subject RE: <Property refid=> not working inside an ant task.
Date Tue, 07 May 2002 20:54:09 GMT
I encountered a similar problem recently with passing a <param> to
<antcall>, which also uses the taskdef.  It appears to be a bug but
I haven't had time to submit the patch.  I've included the patch here.  This
should get you running, though the owner of this taskdef really needs to
have a look at the code and think about why it works the way it does (read:
I don't get it.)  Now when running I get a warning messsage about something
being redefined, but it doesn't seem to hurt anything.  I created this
patchfile from whatever revision of comes with 1.4.1.


-----Original Message-----
]On Behalf Of ROB
Sent: Tuesday, May 07, 2002 9:48 AM
Subject: <Property refid=> not working inside an ant task.

This is for ant 1.4.1

 <property name="subapp.libs"      refid="catalog.classpath"/>

This works outside an ant task, but fails inside an ant task:

 <ant  antfile="build-subapp.xml"    target="compile">
    <property name=""      value="catalog"/>
    <property name="subapp.libs"      refid="catalog.classpath"/>

Is this a know limitation, design decision ?


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

View raw message