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 43716] New: - position of import task cannot be after their references
Date Sun, 28 Oct 2007 23:25:35 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=43716>.
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=43716

           Summary: position of import task cannot be after their references
           Product: Ant
           Version: 1.7.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: dev@ant.apache.org
        ReportedBy: bobmoe@gmail.com


When I use ant tool version 1.7.0 the script generates errors if the any
reference to another file is before the import task. For instance:

<project name="Booking" default="deploy" basedir=".">

(...)

	<zipfileset id="example.war.webinf.lib.extra" 
    	    prefix="WEB-INF/lib"
    	     refid="extra.seam.jar"/> <!-- here is the reference to a property in
another file --->

(...)

	<import file="../../build.xml"/>

(...)

</project>

This script return the following message:

BUILD FAILED
C:\Java\jboss-seam-1.0.0.GA\build.xml:252: The following error occurred while
executing this line:
C:\Java\jboss-seam-1.0.0.GA\examples\booking\build.xml:29: Reference
extra.seam.jar not found.

When the version of ant is 1.6.5 I don't have this problem, thus in the version
1.6.5 the position of import task doesn't matter (what I think better).

-- 
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