Bugs item #639858, was opened at 2002-11-18 09:39 Message generated for change (Comment added) made by user57 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=639858&group_id=22866
Category: Build System Group: None Status: Open Resolution: None Priority: 5 Submitted By: McBain (mcbain4711) >Assigned to: Nobody/Anonymous (nobody) Summary: multiple execution of "_buildmagic:init" Initial Comment: <target name="init" unless="init.disable" depends="_buildmagic:init"/> Ant always executes the "depends" targets. The unless attribute only prevents the execution of the target "init" (where the unless ist used). The idea of property "init.disable" is to prevent the multiple initialization of the buildmagic-system. This property is set to "true" at the end of "_buildmagic:init" target. Without using "antcall" Task it is not nessessary to do so, because ant only run the init target once, independently the number of dependencies on "init" in other targets. Maybe ant calculates the graph of target execution order and call every target only once... This does not match to the case in which antcall is used. With antcall the "only-once" rule is broken and for every single antcall the buildsystem�s init targets are executed. This makes the "configure" target a lot of times and makes the whole build very slow. Beside the build- output is polluted by the "Overriding previous definition of reference to ..." messages. Solution: move the unless="init.disable" to the target "_buildmagic:init" (common.xml) ! ---------------------------------------------------------------------- >Comment By: Jason Dillon (user57) Date: 2003-08-21 13:28 Message: Logged In: YES user_id=15045 I do not have commit access to JBoss anymore, please re-assign to someone else. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=639858&group_id=22866 ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
