You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Jacob Danner (JIRA)" <xm...@xml.apache.org> on 2005/03/09 20:47:52 UTC

[jira] Commented: (XMLBEANS-119) Excluding namespaces to prevent it appearing on every jar I create

     [ http://issues.apache.org/jira/browse/XMLBEANS-119?page=comments#action_60513 ]
     
Jacob Danner commented on XMLBEANS-119:
---------------------------------------

Have you tried using the sfactor tool from the trunk/bin directory. 
After using it, you will get a schema containing all of the common types/element/etc. You should then be able to compile this schema into a jar. To build A.jar and B.jar without the common references, place the common.jar on the classpath when you compile A.xsd, etc.

Please try this out and let me know if you run into any problems.

> Excluding namespaces to prevent it appearing on every jar I create
> ------------------------------------------------------------------
>
>          Key: XMLBEANS-119
>          URL: http://issues.apache.org/jira/browse/XMLBEANS-119
>      Project: XMLBeans
>         Type: Bug
>   Components: Compiler
>  Environment: Windows 2000
>     Reporter: Sethuraman .R

>
> I have to create 2 jars (say A.jar and B.jar) and both import two common namespaces (say namespace A and namespace B). 
> I would like to generate a third jar that has only the two common namespace files (namespace A and namespace B). 
> I do not want the namespace A and namespace B class and/or xsb files appearing on A.jar and B.jar, rather they should just refer to the third namespace jar.
> Creating the third namespace jar is not a problem, but how do I exclude the namespace class and xsb files from appearing on A.jar and B.jar?
> Can I do this without the use of Build files via command prompt options to scomp?

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org