[ http://jira.codehaus.org/browse/MXMLBEANS-1?page=all ]

Corridor Software Developer updated MXMLBEANS-1:
------------------------------------------------

        Version: 2.0.1
                 2.0
    Fix Version: 2.1.0

assigned to a version. Going to match version 2.1 with version 2.1 of the xml 
beans library.

> schemaorg_apache_xmlbeans* Package not found
> --------------------------------------------
>
>          Key: MXMLBEANS-1
>          URL: http://jira.codehaus.org/browse/MXMLBEANS-1
>      Project: Maven 2.x Xmlbeans Plugin
>         Type: Bug

>     Versions: 2.0.1, 2.0
>  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

Reply via email to