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 42483] New: - subant incorrectly complaining about circular references
Date Tue, 22 May 2007 02:37:52 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=42483>.
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=42483

           Summary: subant incorrectly complaining about circular references
           Product: Ant
           Version: 1.7.0
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: sanduatwork@hotmail.com


It seems ant discovers circular references by looking at the location of
build.xml and the target that is being called. What it doesn't take into account
is the basedir.
I have a generic script that invokes a target on dependent projects before
calling it locally and I get the exception:
" ... task calling a target that depends on its parent target ..." thrown from
Ant.execute.
I was actually able to workaround by creating and invoking a bogus script:
<project name="bogus">
<import file="realscrpt.xml"/>
</project>

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message