[ http://jira.codehaus.org/browse/MOJO-209?page=all ]
Corridor Software Developer reassigned MOJO-209:
------------------------------------------------
Assign To: Corridor Software Developer
> schemaorg_apache_xmlbeans* Package not found
> --------------------------------------------
>
> Key: MOJO-209
> URL: http://jira.codehaus.org/browse/MOJO-209
> Project: Mojo
> Type: Bug
> Components: xmlbeans
> Versions: 2.0
> Environment: Windows XP, Java 1.4.2_05-b04, Maven 2
> Reporter: Matthias Bohlen
> Assignee: Corridor Software Developer
>
>
> When I use xmlbeans:xmlbeans-test to generate JavaBeans from an XSD schema,
> the generated source code contains
> public static final org.apache.xmlbeans.SchemaType type =
> (org.apache.xmlbeans.SchemaType)schemaorg_apache_xmlbeans.system.s5722FFFA9A52BE6A47E7BBD91F51EC76.TypeSystemHolder.typeSystem.resolveHandle("customer8571type");
> This package is not found when I compile the sources. Somewhere on the Net, I
> read that the package may cause path length problems on Windows. In xmlbeans
> 2.1, the source code looks differently, maybe because of that problem:
> public static final org.apache.xmlbeans.SchemaType type =
> (org.apache.xmlbeans.SchemaType)
>
> org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XmlArticleDocumentBean.class.getClassLoader(),
>
> "schemaorg_apache_xmlbeans.system.sF975B11E21E01714215F3DA865F30951").resolveHandle("article2adbdoctype");
> The problem is: How can I use xmlbeans 2.1 with the Codehaus xmlbeans maven
> plug-in?
> If using Xmlbeans 2.1 is not possible: The xmlbeans ant task contains a
> configuration property called "typesystemname" where I can override the name
> of the package that the TypeSystemHolder class should be generated in.
> However, I cannot find this property in the properties for
> xmlbeans:xmlbeans-test. Is there a way to set this?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira