[
http://jira.codehaus.org/browse/MXMLBEANS-1?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Corridor Software Developer closed MXMLBEANS-1.
-----------------------------------------------
Resolution: Fixed
Releasing a 2.1.0 version mapped to xml beans 2.1.x. Please reopen if the
problem is not resolved.
> schemaorg_apache_xmlbeans* Package not found
> --------------------------------------------
>
> Key: MXMLBEANS-1
> URL: http://jira.codehaus.org/browse/MXMLBEANS-1
> Project: Maven 2.x Xmlbeans Plugin
> Issue Type: Bug
> Affects Versions: 2.0, 2.0.1
> Environment: Windows XP, Java 1.4.2_05-b04, Maven 2
> Reporter: Matthias Bohlen
> Assignee: Corridor Software Developer
> Fix For: 2.1.0
>
>
> 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
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email