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 10445] New: - XMLLogger causes the manifest task to crash
Date Wed, 03 Jul 2002 15:23:50 GMT
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=10445>.
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=10445

XMLLogger causes the manifest task to crash

           Summary: XMLLogger causes the manifest task to crash
           Product: Ant
           Version: 1.5Beta3
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: BLenz@BerMark.com


This is the build file testbuild.xml: 
<project name="SomeProject" default="manifest" basedir=".">
  <target name="manifest">
    <manifest file="MANIFEST.MF" mode="update">
      <attribute name="Implementation-Title" value="Some Title" />
    </manifest>
  </target>
</project>

I execute testbuild.xml using the following command:
/opt/local/bea/jdk131/bin/java -classpath /export/home/lenzb01/jakarta-ant-
1.5Beta3/lib/ant.jar:/export/home/lenzb01/jakarta-ant-
1.5Beta3/lib/optional.jar:/vobs/ORC/external/lib/weblogicsp2/weblogic.jar 
org.apache.tools.ant.Main -listener org.apache.tools.ant.XmlLogger -debug -
verbose -buildfile /vobs/ORC/scripts/testbuild.xml

And this is the exception I get: 
Apache Ant version 1.5Beta3 compiled on June 22 2002
Buildfile: /vobs/ORC/scripts/testbuild.xml
Detected Java version: 1.3 in: /opt/local/bea/jdk131/jre
Detected OS: SunOS
parsing buildfile /vobs/ORC/scripts/testbuild.xml with URI = 
file:/vobs/ORC/scripts/testbuild.xml
Project base dir set to: /vobs/ORC/scripts
Build sequence for target `manifest' is [manifest]
Complete build sequence is [manifest]

manifest:
 [manifest] Manifest has not changed, do not recreate

BUILD FAILED

java.lang.RuntimeException: Mismatch - popped element = [task: null] finished 
target element = [target: null]
        at org.apache.tools.ant.XmlLogger.targetFinished(XmlLogger.java:290)
        at org.apache.tools.ant.Project.fireTargetFinished(Project.java:1907)
        at org.apache.tools.ant.Target.performTasks(Target.java:335)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
        at org.apache.tools.ant.Main.runBuild(Main.java:606)
        at org.apache.tools.ant.Main.start(Main.java:195)
        at org.apache.tools.ant.Main.main(Main.java:234)

Total time: 2 seconds

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


Mime
View raw message