xml-xmlbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arek Stryjski <develo...@krzyzowki.net.pl>
Subject v2 and javax.xml.stream.*
Date Fri, 30 Jul 2004 13:53:46 GMT

I was trying to test v2 and found it a bit difficult.

I downloaded sources from CVS. First I was trying to make build with JDK 1.4. I
got warnings from JAM so I change to 1.5. There are problems with beta1 (some
files are not compiling), but after installing bata2 build success. 

Is it actually planed that v2 will work only with JDK 1.5, and v1 will be for 1.4?

After I coped all jars from v2/build/lib into my project. Then trying to build
with Ant. 
Ant throw such exception (running with verbose flag):

Exception while building schemas: javax/xml/stream/XMLStreamException
java.lang.NoClassDefFoundError: javax/xml/stream/XMLStreamException
    at org.apache.xmlbeans.impl.tool.SchemaCompiler.compile(SchemaCompiler.java:861)
    at org.apache.xmlbeans.impl.tool.XMLBean.execute(XMLBean.java:229)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
    at org.apache.tools.ant.Main.runBuild(Main.java:673)
    at org.apache.tools.ant.Main.startAnt(Main.java:188)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)

I could also not found javax.xml.stream.* package. It should be probably in
src/xmlpublic but could not get it with cvs checkout or update and 'anoncvs'
user. Also then browsing CVS on the web I could not found this package. You only
have it on javadoc page:
Javadoc says at one point: 'Copyright (c) 2003 by BEA Systems.', so it look like
this package is not jet open source. Is it possible to get source or jar with
this package? Do I need some other project (package name suggest that this will
go to JDK, but it is not part of beta2)?

Best regards

Is 'user' forum the right place to discus v2 questions, or should I use 'dev'?

- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-user-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/

View raw message