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 28127] New: - <parallel> documentation does not describe effects on target dependencies
Date Thu, 01 Apr 2004 12:33:38 GMT
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


Mime
View raw message