Bugs item #639858, was opened at 2002-11-18 02:39 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: Jason Dillon (user57) 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) ! ---------------------------------------------------------------------- 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: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
