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

Ant doesn't detect circular "depends" within an antcall.

           Summary: Ant doesn't detect circular "depends" within an antcall.
           Product: Ant
           Version: 1.4
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Build Process
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


If I have target A that task B depends on, i.e.

<target name="A" />

<target name="B" depends="A" />

Then if I do an antcall within A to B then you have a circular 
dependency.

i.e.

<target name="A">
   <antcall target="B" />
</target>

you now have a circular dependency and Ant will just spin.

It would be nice to have detection of this by examining the parent
target chain to ensure that this can't happen.

Leaving this down to the developer is feasible but can put a large burden on 
you when you have a large build file, i.e. > 2000 lines.

Looking at the change notes for 1.4.1 it doesn't look like this issue has been 
tackled.

Thanks,

Gary

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

Reply via email to