M
Mark Thomas
I've been trying to run the sample apps supplied by Sun as part of the
JWSDP. The ant script supplied fails & I can't work out what's going
wrong. Here's what I get:
C:\Sun\jwsdp-2.0\jaxb\samples\unmarshal-read>ant
Buildfile: build.xml
compile:
[echo] Compiling the schema...
[xjc]
C:\Sun\jwsdp-2.0\jaxb\samples\unmarshal-read\gen-src\primer.po is no
t found and thus excluded from the dependency check
BUILD FAILED
java.lang.NullPointerException
at com.sun.tools.xjc.Messages.format(Messages.java:33)
at com.sun.tools.xjc.Driver.getBuildID(Driver.java:351)
at com.sun.tools.xjc.XJC2Task.execute(XJC2Task.java:308)
at com.sun.tools.xjc.XJCTask.execute(XJCTask.java:65)
at org.apache.tools.ant.Task.perform(Task.java:319)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
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:610)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)
Total time: 0 seconds
Any ideas?
Mark
JWSDP. The ant script supplied fails & I can't work out what's going
wrong. Here's what I get:
C:\Sun\jwsdp-2.0\jaxb\samples\unmarshal-read>ant
Buildfile: build.xml
compile:
[echo] Compiling the schema...
[xjc]
C:\Sun\jwsdp-2.0\jaxb\samples\unmarshal-read\gen-src\primer.po is no
t found and thus excluded from the dependency check
BUILD FAILED
java.lang.NullPointerException
at com.sun.tools.xjc.Messages.format(Messages.java:33)
at com.sun.tools.xjc.Driver.getBuildID(Driver.java:351)
at com.sun.tools.xjc.XJC2Task.execute(XJC2Task.java:308)
at com.sun.tools.xjc.XJCTask.execute(XJCTask.java:65)
at org.apache.tools.ant.Task.perform(Task.java:319)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
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:610)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)
Total time: 0 seconds
Any ideas?
Mark