ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10276] - [PATCH] added <import> declaration in project to include other projects
Date Wed, 10 Jul 2002 21:12:58 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10276>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10276

[PATCH] added <import> declaration in project to include other projects





------- Additional Comments From nicolaken@apache.org  2002-07-10 21:12 -------
Done.

With the new patch you can do the following (using the previous example):

 <target name="mytarget">
   <dostuff1/>
   <antcall target="super.mytarget"/>
   <dostuff2/>
 </target>

Dependencies are not inherited, but the name yes, so that all the targets that
call mytarget will call the newversion, and the depends="" of the old mytarget
are not used in the new version.
*If* (as in the above case) the super.mytarget is called, its dependencies are
run before himself.

Examples are supported as usual, and this patch supercedes all previous,
comprising the ones from Dominique Devienne,

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