Hi, I guess these instructions need to be updated to reflect the way we have broken up Castor in smaller parts over the last 9 months or so. Either that, or alternatively, we could and should refer to the dependencies section to make things clearer.
Feel free to raise a new Jira issue to ask us to improve this section. Regards Werner Guttmann daab wrote: > Hi, > > When running source generator on my XSD file, I get the following error: > C:\castor-1.2>java -cp castor-1.2-codegen.jar > org.exolab.castor.builder.SourceGeneratorMain -i mySchema.xsd -package > com.xyz > Exception in thread "main" java.lang.NoClassDefFoundError: > org/exolab/castor/util/CommandLineOptions > at > org.exolab.castor.builder.SourceGeneratorMain.setupCommandLineOptions(SourceGeneratorMain.java:414) > at > org.exolab.castor.builder.SourceGeneratorMain.<clinit>(SourceGeneratorMain.java:174) > > C:\castor-1.2> > > I noticed there is no CommandLineOptions class in castor1-1.2-codegen.jar. >>From the http://www.castor.org/SourceGeneratorUser.pdf pdf file and > http://www.castor.org/srcgen-cline.html website , I understood I had to run > SourceGeneratorMain which I thought would be in the codegen.jar. Should I > be using another jar? --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

