[ 
http://issues.apache.org/jira/browse/XMLBEANS-124?page=comments#action_12315830 
] 

Dan Diephouse commented on XMLBEANS-124:
----------------------------------------

As I understand it the schemas are packaged by scomp into the directory 
schemaorg_apache_xmlbeans/src. Is there a reason you're duplicating them in the 
META_INF directory?

My code which is used to access the schemas...
SchemaType type = XmlBeans.typeForClass(xbeanType.getTypeClass());
String name = type.getSourceName();

ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
XmlObject obj = 
XmlObject.Factory.parse(classLoader.getResourceAsStream("schemaorg_apache_xmlbeans/src/"
 + name));
            

> XMLBeans 2 maven plugin
> -----------------------
>
>          Key: XMLBEANS-124
>          URL: http://issues.apache.org/jira/browse/XMLBEANS-124
>      Project: XMLBeans
>         Type: New Feature
>     Versions: Version 2 Beta 1
>     Reporter: David Jencks
>     Assignee: Cezar Andrei
>      Fix For: Version 2 Beta 1, Version 2, Version 2 Beta 2
>  Attachments: maven-xmlbeans-plugin-1.0.4.jar, 
> maven-xmlbeans-plugin-src-1.0.4.zip, xmlbeans-maven-plugin-2.0-beta1.jar, 
> xmlbeans-maven-plugin-src.jar, xmlbeans2-plugin.src.jar
>
> Maven plugin for xmlbeans 2.0 beta 1.  I developed this for use in geronimo 
> and have changed the package to fit better into xmlbeans.  See 
> INSTRUCTIONS.txt for basic usage instructions.  I'm considering some 
> enhancements such as more use of plugin.properties for the plugin parameters. 
>  Feedback  welcome.  I'm attaching both source and a built installable 
> version of the plugin.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to