You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2004/04/01 14:33:38 UTC

DO NOT REPLY [Bug 28127] New: - documentation does not describe effects on target dependencies

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28127>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28127

<parallel> documentation does not describe effects on target dependencies

           Summary: <parallel> documentation does not describe effects on
                    target dependencies
           Product: Ant
           Version: 1.6.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Documentation
        AssignedTo: dev@ant.apache.org
        ReportedBy: odungey@csc.com


<parallel> building is quite a tricky concept even if you have done loads of
multi-threaded programming. I have been using the <parallel> building options
and have already stumbled into quite a few problems/issues. One thing that is
really unclear in the documentation is the effect of <parallel> on target
dependencies. Consider the following:

<target name="subtask1" depends="subtask2,subtask3,subtask4">
.... do some stuff ...
</target>

<target name="maintask">
    <parallel>
        <antcall target="subtask1" inheritall="true"/>
    </parallel>
</task>

I know that parallel continues until it reaches a <sequential> block but what on
earth is the effect on the dependencies, will they be run as parallel blocks????

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