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=6722>.
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=6722

Dependent target reexecuted in parallel task

           Summary: Dependent target reexecuted in parallel task
           Product: Ant
           Version: 1.4.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Dependencies within parallel tasks don't seem to be handled correctly.  Run the 
following build.xml file:

<?xml version="1.0"?>

<project name="test" default="all">

  <target name="all" depends="init">
    <parallel>
      <antcall target="first"/>
    </parallel>
  </target>

  <target name="init"/>

  <target name="first" depends="init"/>

</project>

$ ant
Buildfile: build.xml

init:

all:

init:

first:

BUILD SUCCESSFUL

Total time: 0 seconds

The init target was executed twice.  According to the documentation on 
depends: "A target gets executed only once, even when more than one target 
depends on it...".

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to