I ended up using this (rather brute force) command to get it to work (newlines added):
java -cp castor-1.2-anttasks.jar;castor-1.2-codegen.jar;castor-1.2-ddlgen.jar;castor-1.2-jdo.jar; castor-1.2-xml-schema.jar;castor-1.2-xml.jar;castor-1.2.jar;install-com.pnehrer.castor_2.0.4.jar; jdbc-se2.0.jar;jta1.0.1.jar;./lib/cglib-full-2.0.2.jar;./lib/commons-collections-3.1.jar; ./lib/commons-lang-2.1.jar;./lib/commons-logging-1.1.jar;./lib/derby-10.1.2.1.jar; ./lib/jakarta-oro-2.0.5.jar;./lib/jakarta-regexp-1.1.jar;./lib/jdbc-se2.0.jar;./lib/jndi_1.2.1.jar; jta1.0.1.jar;./lib/jtf-0.1.jar;junit_3.8.2.jar;./lib/ldapjdk_4.1.jar;./lib/log4j-1.2.13.jar; ./lib/velocity-1.5.jar;./lib/xerces-J_1.4.0.jar org.exolab.castor.builder.SourceGeneratorMain -i mySchema.xsd -package com.xyz -- View this message in context: http://www.nabble.com/Error-while-running-source-generator-tp18616833p18634504.html Sent from the Castor - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

