Hi Luciano That's a good point. It hadn't occurred to me that java and resource import/export have just been invented by Tuscany. The code is also wrong, e.g. [1].
So we need to go and switch the code into the Tuscany namespace and fix any samples that depend on this. Then we should create a tuscany-sca-contributions.xsd for java and resources. Regards Simon [1] http://svn.apache.org/repos/asf/tuscany/java/sca/modules/contribution-java/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor On Sat, Nov 29, 2008 at 6:18 AM, Luciano Resende <[EMAIL PROTECTED]>wrote: > I was checking the OSOA specification and also the latest OASIS > specification drafts [1] and I did not see the import/export java > defined in the sca-contribution schema. > > Is there any particular reason why we need to have this defined (when > it' s not on the spec) ? If so, should we raise an issue with the > OASIS spec group ? Otherwise, should we make clear this is a Tuscany > extension ? > > [1] > http://www.oasis-open.org/committees/download.php/30077/sca-assembly-1.1-spec-cd01-rev3.pdf > > On Fri, Nov 28, 2008 at 6:07 AM, <[EMAIL PROTECTED]> wrote: > > Author: slaws > > Date: Fri Nov 28 06:07:17 2008 > > New Revision: 721505 > > > > URL: http://svn.apache.org/viewvc?rev=721505&view=rev > > Log: > > Add schema for java import/export > > > > Modified: > > > > tuscany/branches/sca-java-1.x/modules/assembly-xsd/src/main/resources/sca-contributions.xsd > > > > Modified: > tuscany/branches/sca-java-1.x/modules/assembly-xsd/src/main/resources/sca-contributions.xsd > > URL: > http://svn.apache.org/viewvc/tuscany/branches/sca-java-1.x/modules/assembly-xsd/src/main/resources/sca-contributions.xsd?rev=721505&r1=721504&r2=721505&view=diff > > > ============================================================================== > > --- > tuscany/branches/sca-java-1.x/modules/assembly-xsd/src/main/resources/sca-contributions.xsd > (original) > > +++ > tuscany/branches/sca-java-1.x/modules/assembly-xsd/src/main/resources/sca-contributions.xsd > Fri Nov 28 06:07:17 2008 > > @@ -62,4 +62,22 @@ > > </extension> > > </complexContent> > > </complexType> > > + > > + <element name="import.java" type="sca:ImportJavaType" > substitutionGroup="sca:import"/> > > + <complexType name="ImportJavaType"> > > + <complexContent> > > + <extension base="sca:ImportType"> > > + <attribute name="package" type="string" > use="optional"/> > > + </extension> > > + </complexContent> > > + </complexType> > > + > > + <element name="export.java" type="sca:ExportJavaType" > substitutionGroup="sca:export"/> > > + <complexType name="ExportJavaType"> > > + <complexContent> > > + <extension base="sca:ExportType"> > > + <attribute name="package" type="string" use="optional"/> > > + </extension> > > + </complexContent> > > + </complexType> > > </schema> > > \ No newline at end of file > > > > > > > > > > -- > Luciano Resende > Apache Tuscany, Apache PhotArk > http://people.apache.org/~lresende <http://people.apache.org/%7Elresende> > http://lresende.blogspot.com/ >
