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

ant task: no output of included ant file

           Summary: ant task: no output of included ant file
           Product: Ant
           Version: 1.5 alpha (nightly)
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


using the ant task to pass control to another ant file,
1.5alpha of 2002/01/28 does not show any output when executing the sub file.
(used the nighty build, because it fixed bug #4143).

Test data:

--- main.xml ---
<?xml version="1.0" encoding="iso-8859-1"?>
<project name="master" default="master-build" basedir=".">
  <target name="master-build">
    <echo>main.xml, calling sub.xml ...</echo>
    <ant antfile="sub.xml" />
    <echo>... back in main.xml</echo>
  </target>
</project>

--- sub.xml ---
<?xml version="1.0" encoding="iso-8859-1"?>
<project name="sub" default="project-build" basedir=".">
  <target name="project-build">
    <echo>this is sub.xml</echo>
  </target>
</project>

--- ant -buildfile main.xml
--- Expected output (ant 1.4.1):
Buildfile: main.xml
master-build:
     [echo] main.xml, calling sub.xml ...
project-build:
     [echo] this is sub.xml
     [echo] ... back in main.xml

--- when running with 1.5alpha the line
     [echo] this is sub.xml
is missing.

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

Reply via email to