RE: Maven and XMLBeans, not best friends??

2009-08-06 Thread Cezar Andrei
Did you look at using the maven-plugin that's in XMLBeans tree?
http://svn.apache.org/viewvc/xmlbeans/trunk/maven-plugin/

Cezar

 -Original Message-
 From: hannehomuth [mailto:hannehomu...@gmx.de]
 Sent: Wednesday, July 22, 2009 5:22 AM
 To: user@xmlbeans.apache.org
 Subject: Maven and XMLBeans, not best friends??
 
 
 Hi to everyone,
 
 I've trying and searching a lot of hours but could not find any solution
 which worked for me.
 
 I want to use xmlbeans in an project which uses maven as build tool. I've
 configured the plugin in the pom.xml in this way
 
 plugin
 groupIdorg.codehaus.mojo/groupId
 artifactIdxmlbeans-maven-plugin/artifactId
 version2.1.0/version
 executions
 execution
 idBuild-XMLBeans/id
 goals
 goalxmlbeans/goal
 /goals
 /execution
 /executions
 configuration
 
 schemaDirectorysrc/main/java/com/vw/ais/jobengine/propertytypes/schemaD
 irectory
 
 schemaDirectorysrc/main/java/com/vw/ais/jobengine/configurations/schema
 Directory
 
 classGenerationDirectory${project.build.directory}/generated-
 classes/xmlbeans/classGenerationDirectory
 
 sourceGenerationDirectory${project.build.directory}/generated-
 sources/xmlbeans/sourceGenerationDirectory
 verbosetrue/verbose
 /configuration
 /plugin
 
 Furthermore I have declared some dependencies for xmlbeans
 
  dependencies
 dependency
 groupIdxmlbeans/groupId
 artifactIdxmlbeans/artifactId
 version2.2.0/version
 /dependency
 dependency
 groupIdxmlbeans/groupId
 artifactIdxbean/artifactId
 version2.1.0/version
 /dependency
 /dependencies
 
 The project build will run successful, but when I try to run the app, I
 get
 the good old
 
 Exception in thread main java.lang.ExceptionInInitializerError
 at
 com.vw.ais.jobengine.validation.ConfigurationValidator.schematicValidation
 (ConfigurationValidator.java:98)
 at
 com.vw.ais.jobengine.validation.ConfigurationValidator.validate(Configurat
 ionValidator.java:58)
 at com.vw.ais.jobengine.JobEngine.initialize(JobEngine.java:54)
 at com.vw.ais.jobengine.Test.main(Test.java:34)
 Caused by: java.lang.RuntimeException: Cannot load SchemaTypeSystem.
 Unable
 to load class with name
 schemaorg_apache_xmlbeans.system.s09447651F54C8102642F6478AB9428E3.TypeSys
 temHolder.
 Make sure the generated binary files are on the classpath.
 at
 org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XmlBeans.java:783)
 at
 com.vw.ais.jobengine.configurations.JobEngineDocument.clinit(JobEngineDo
 cument.java:19)
 ... 4 more
 Caused by: java.lang.ClassNotFoundException:
 schemaorg_apache_xmlbeans.system.s09447651F54C8102642F6478AB9428E3.TypeSys
 temHolder
 ...
 ...
 
 The Class
 schemaorg_apache_xmlbeans.system.s09447651F54C8102642F6478AB9428E3.TypeSys
 temHolder
 lies in the jar.
 
 What the hell is wrong here. Does anyone see what I'm doing wrong here.
 Thx for suggestions
 --
 View this message in context: http://www.nabble.com/Maven-and-XMLBeans%2C-
 not-best-friends---tp24603611p24603611.html
 Sent from the Xml Beans - User mailing list archive at Nabble.com.
 
 
 -
 To unsubscribe, e-mail: user-unsubscr...@xmlbeans.apache.org
 For additional commands, e-mail: user-h...@xmlbeans.apache.org
 

-
To unsubscribe, e-mail: user-unsubscr...@xmlbeans.apache.org
For additional commands, e-mail: user-h...@xmlbeans.apache.org



unsubscribe

2009-08-06 Thread Andreas Guther
List Admin:

Please unsubscribe me from this list.

I am sorry that I have to write to this list but using the 
user-unsubscr...@xmlbeans.apache.orgmailto:user-unsubscr...@xmlbeans.apache.org
 address seems not to work for me.

I am trying for days now to unsubscribe from this list but without an success.

If a list admin sees this message, please unsubscribe my email address as well 
as check if something is broken with the user-unsubscribe mailing address.


Thanks in advance,

Andreas