ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernhard Lenz" <BL...@BerMark.com>
Subject XMLLogger causes manifest task to crash
Date Wed, 03 Jul 2002 15:04:02 GMT
It appears that jakarta-ant-1.5Beta3's XMLLogger causes the manifest
task to crash.

Can anybody help me to get this fixed or find a work around?

 

Your help is appreciated. 

Thanks

Bernie

 

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/lenzb
01/jakarta-ant-1.5Beta3/lib/optional.jar:/vobs/ORC/external/lib/weblogic
sp2/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

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)

Mismatch - popped element = [task: null] finished target element =
[target: null]


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message