On Mon, Dec 1, 2008 at 9:31 AM, Mark Combellack <[EMAIL PROTECTED]>wrote:
> Hi, > > > > There is currently an OASIS SCA-J issue open that is very similar to the > problem. It talks about the ability to share Java code across contributions. > There is a suggestion to use something line import.java and export.java to > provide this functionality. The issue can be found at > http://www.osoa.org/jira/browse/JAVA-60 > > > > Thanks, > > > > Mark > ------------------------------ > > *From:* Simon Laws [mailto:[EMAIL PROTECTED] > *Sent:* 29 November 2008 11:13 > *To:* [email protected] > *Subject:* Re: SCA-Contribution schema for import/export java, was Re: svn > commit: r721505 - > /tuscany/branches/sca-java-1.x/modules/assembly-xsd/src/main/resources/sca-contributions.xsd > > > > 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/ > > > Thanks Mark So it sounds like in OASIS there may be import/export.java in the OASIS namespace. In OSOA though it would seem they need to be in the Tuscany namespace. Simon
