[ 
https://issues.apache.org/jira/browse/TUSCANY-1364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Frank Budinsky updated TUSCANY-1364:
------------------------------------

          Component/s: Java SDO Implementation
        Fix Version/s: Java-SDO-1.0
    Affects Version/s: Java-SDO-beta1

> sdo-impl should export org.apache.tuscany.sdo.model.internal
> ------------------------------------------------------------
>
>                 Key: TUSCANY-1364
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1364
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-beta1
>            Reporter: Brian Murray
>             Fix For: Java-SDO-1.0
>
>         Attachments: 1364.patch
>
>
> The org.apache.tuscany.sdo.model.internal package was introduced somewhat 
> recently, and is visible in a statically generated class.  The problem is 
> that the impl project does not export this package.  
> For example, I ran the XSD2JavaGenerator tool on 
> sdo\impl\src\test\resources\bank.xsd and here are some snippets from the 
> resulting MybankFactory.impl:
> import org.apache.tuscany.sdo.model.internal.InternalFactory;
> .......
>   public static MybankFactoryImpl init()
>   {
>     if (isInited) return 
> (MybankFactoryImpl)FactoryBase.getStaticFactory(MybankFactoryImpl.NAMESPACE_URI);
>     MybankFactoryImpl theMybankFactoryImpl = new MybankFactoryImpl();
>     isInited = true;
>     // Initialize dependencies
>     SDOUtil.registerStaticTypes(SDOFactory.class);
>     SDOUtil.registerStaticTypes(ModelFactory.class);
>     SDOUtil.registerStaticTypes(InternalFactory.class);
> I am providing a patch to the sdo/impl/pom.xml which will export this package.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to