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: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to