You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Brian Murray (JIRA)" <tu...@ws.apache.org> on 2007/07/05 19:17:04 UTC

[jira] Closed: (TUSCANY-1364) sdo-impl should export org.apache.tuscany.sdo.model.internal

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

Brian Murray closed TUSCANY-1364.
---------------------------------

    Resolution: Invalid

This change is not necessary.

An update was needed in related osgi bundles.  The update to the sdo-impl pom.xml was neither sufficient nor necessary to correct the issue.  (It alone did not correct the symptom, nor was it needed when the osgi bundle change was made.)  Therefore this patch is not needed, and this Jira should be closed.

> 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, 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org