ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <co...@cortexebusiness.com.au>
Subject Re: [PATCH] User defined types and tasks to be loaded before defa ult ones are...
Date Wed, 27 Nov 2002 11:54:38 GMT
Stefan Bodewig wrote:
> On Tue, 26 Nov 2002, Costin Manolache <cmanolache@yahoo.com> wrote:
> 
> 
>>In general, there is no reason to not allow the core tasks to be 
>>redefined. 
> 
> 
> There isn't any reason - and it is possible right now.
> 

Not in a fully general way.

<project name="example" default="test">
   <taskdef name="echo" classname="org.apache.tools.ant.taskdefs.Jar"/>

   <target name="test">
     <!-- works -->
     <echo jarfile="test.jar">
     </echo>
     <!-- works -->
     <jar jarfile="test2.jar">
       <manifest>
       </manifest>
     </jar>
     <!-- doesn't work -->
     <echo jarfile="test3.jar">
       <manifest>
       </manifest>
     </echo>
   </target>
</project>

Conor


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message