You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by js...@apache.org on 2007/09/24 02:54:26 UTC
svn commit: r578614 [1/3] - in /incubator/tuscany/java/sca/tools: ./
feature/ plugin-core/ plugin-core/META-INF/ plugin-core/icons/
plugin-core/src/ plugin-core/src/main/ plugin-core/src/main/java/
plugin-core/src/main/java/org/ plugin-core/src/main/ja...
Author: jsdelfino
Date: Sun Sep 23 17:54:20 2007
New Revision: 578614
URL: http://svn.apache.org/viewvc?rev=578614&view=rev
Log:
Strawman implementation of an Eclipse plugin that registers a Tuscany runtime library, the SCA and Tuscany schemas and a launcher for SCA composites.
Added:
incubator/tuscany/java/sca/tools/feature/
incubator/tuscany/java/sca/tools/feature/.project (with props)
incubator/tuscany/java/sca/tools/feature/DISCLAIMER
incubator/tuscany/java/sca/tools/feature/LICENSE (with props)
incubator/tuscany/java/sca/tools/feature/NOTICE (with props)
incubator/tuscany/java/sca/tools/feature/build.properties (with props)
incubator/tuscany/java/sca/tools/feature/feature.xml (with props)
incubator/tuscany/java/sca/tools/plugin-core/
incubator/tuscany/java/sca/tools/plugin-core/.classpath (with props)
incubator/tuscany/java/sca/tools/plugin-core/.project (with props)
incubator/tuscany/java/sca/tools/plugin-core/DISCLAIMER
incubator/tuscany/java/sca/tools/plugin-core/LICENSE (with props)
incubator/tuscany/java/sca/tools/plugin-core/META-INF/
incubator/tuscany/java/sca/tools/plugin-core/META-INF/MANIFEST.MF
incubator/tuscany/java/sca/tools/plugin-core/NOTICE (with props)
incubator/tuscany/java/sca/tools/plugin-core/build.properties (with props)
incubator/tuscany/java/sca/tools/plugin-core/icons/
incubator/tuscany/java/sca/tools/plugin-core/icons/t.gif (with props)
incubator/tuscany/java/sca/tools/plugin-core/icons/tuscany.gif (with props)
incubator/tuscany/java/sca/tools/plugin-core/plugin.xml (with props)
incubator/tuscany/java/sca/tools/plugin-core/src/
incubator/tuscany/java/sca/tools/plugin-core/src/main/
incubator/tuscany/java/sca/tools/plugin-core/src/main/java/
incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/
incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/
incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/
incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/
incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/
incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/classpath/
incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/classpath/TuscanyClasspathContainer.java (with props)
incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/classpath/TuscanyClasspathContainerInitializer.java (with props)
incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/classpath/TuscanyLibraryEntryPage.java (with props)
incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/launch/
incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/launch/TuscanyLaunchConfigurationDelegate.java (with props)
incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/launch/TuscanyLaunchConfigurationTabGroup.java (with props)
incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/launch/TuscanyLaunchShortcut.java (with props)
incubator/tuscany/java/sca/tools/plugin-core/xsd/
incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-binding-ejb.xsd (with props)
incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-binding-jms.xsd (with props)
incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-binding-sca.xsd (with props)
incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-binding-webservice.xsd (with props)
incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-core.xsd (with props)
incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-definitions.xsd (with props)
incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-implementation-bpel.xsd (with props)
incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-implementation-composite.xsd (with props)
incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-implementation-cpp.xsd (with props)
incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-implementation-java.xsd (with props)
incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-implementation-spring.xsd (with props)
incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-interface-cpp.xsd (with props)
incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-interface-java.xsd (with props)
incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-interface-wsdl.xsd (with props)
incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-policy.xsd (with props)
incubator/tuscany/java/sca/tools/plugin-core/xsd/sca.xsd (with props)
incubator/tuscany/java/sca/tools/plugin-core/xsd/tuscany-sca-binding-atom.xsd (with props)
incubator/tuscany/java/sca/tools/plugin-core/xsd/tuscany-sca-binding-dwr.xsd (with props)
incubator/tuscany/java/sca/tools/plugin-core/xsd/tuscany-sca-binding-http.xsd (with props)
incubator/tuscany/java/sca/tools/plugin-core/xsd/tuscany-sca-binding-jsonrpc.xsd (with props)
incubator/tuscany/java/sca/tools/plugin-core/xsd/tuscany-sca-binding-notification.xsd (with props)
incubator/tuscany/java/sca/tools/plugin-core/xsd/tuscany-sca-binding-rmi.xsd (with props)
incubator/tuscany/java/sca/tools/plugin-core/xsd/tuscany-sca-binding-rss.xsd (with props)
incubator/tuscany/java/sca/tools/plugin-core/xsd/tuscany-sca-implementation-node.xsd (with props)
incubator/tuscany/java/sca/tools/plugin-core/xsd/tuscany-sca-implementation-notification.xsd (with props)
incubator/tuscany/java/sca/tools/plugin-core/xsd/tuscany-sca-implementation-osgi.xsd (with props)
incubator/tuscany/java/sca/tools/plugin-core/xsd/tuscany-sca-implementation-resource.xsd (with props)
incubator/tuscany/java/sca/tools/plugin-core/xsd/tuscany-sca-implementation-script.xsd (with props)
incubator/tuscany/java/sca/tools/plugin-core/xsd/tuscany-sca-implementation-xquery.xsd (with props)
incubator/tuscany/java/sca/tools/plugin-core/xsd/tuscany-sca-include.xsd (with props)
incubator/tuscany/java/sca/tools/plugin-core/xsd/tuscany-sca.xsd (with props)
incubator/tuscany/java/sca/tools/plugin-runtime/
incubator/tuscany/java/sca/tools/plugin-runtime/.project (with props)
incubator/tuscany/java/sca/tools/plugin-runtime/BUILDING
incubator/tuscany/java/sca/tools/plugin-runtime/DISCLAIMER
incubator/tuscany/java/sca/tools/plugin-runtime/LICENSE (with props)
incubator/tuscany/java/sca/tools/plugin-runtime/META-INF/
incubator/tuscany/java/sca/tools/plugin-runtime/META-INF/MANIFEST.MF
incubator/tuscany/java/sca/tools/plugin-runtime/NOTICE (with props)
incubator/tuscany/java/sca/tools/plugin-runtime/lib/
incubator/tuscany/java/sca/tools/plugin-runtime/src/
incubator/tuscany/java/sca/tools/updatesite/
incubator/tuscany/java/sca/tools/updatesite/.project (with props)
incubator/tuscany/java/sca/tools/updatesite/DISCLAIMER
incubator/tuscany/java/sca/tools/updatesite/LICENSE (with props)
incubator/tuscany/java/sca/tools/updatesite/NOTICE (with props)
incubator/tuscany/java/sca/tools/updatesite/features/
incubator/tuscany/java/sca/tools/updatesite/plugins/
incubator/tuscany/java/sca/tools/updatesite/site.xml (with props)
Modified:
incubator/tuscany/java/sca/tools/pom.xml
Added: incubator/tuscany/java/sca/tools/feature/.project
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tools/feature/.project?rev=578614&view=auto
==============================================================================
--- incubator/tuscany/java/sca/tools/feature/.project (added)
+++ incubator/tuscany/java/sca/tools/feature/.project Sun Sep 23 17:54:20 2007
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.apache.tuscany.sca.feature</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.pde.FeatureBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.FeatureNature</nature>
+ </natures>
+</projectDescription>
Propchange: incubator/tuscany/java/sca/tools/feature/.project
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/tuscany/java/sca/tools/feature/DISCLAIMER
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tools/feature/DISCLAIMER?rev=578614&view=auto
==============================================================================
--- incubator/tuscany/java/sca/tools/feature/DISCLAIMER (added)
+++ incubator/tuscany/java/sca/tools/feature/DISCLAIMER Sun Sep 23 17:54:20 2007
@@ -0,0 +1,8 @@
+Apache Tuscany is an effort undergoing incubation at The Apache Software
+Foundation (ASF), sponsored by the Apache Web Services PMC. Incubation is
+required of all newly accepted projects until a further review indicates that
+the infrastructure, communications, and decision making process have stabilized
+in a manner consistent with other successful ASF projects. While incubation
+status is not necessarily a reflection of the completeness or stability of the
+code, it does indicate that the project has yet to be fully endorsed by the ASF.
+
Added: incubator/tuscany/java/sca/tools/feature/LICENSE
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tools/feature/LICENSE?rev=578614&view=auto
==============================================================================
--- incubator/tuscany/java/sca/tools/feature/LICENSE (added)
+++ incubator/tuscany/java/sca/tools/feature/LICENSE Sun Sep 23 17:54:20 2007
@@ -0,0 +1,205 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+
+
Propchange: incubator/tuscany/java/sca/tools/feature/LICENSE
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/tuscany/java/sca/tools/feature/NOTICE
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tools/feature/NOTICE?rev=578614&view=auto
==============================================================================
--- incubator/tuscany/java/sca/tools/feature/NOTICE (added)
+++ incubator/tuscany/java/sca/tools/feature/NOTICE Sun Sep 23 17:54:20 2007
@@ -0,0 +1,6 @@
+${pom.name}
+Copyright (c) 2005 - 2007 The Apache Software Foundation
+
+This product includes software developed by
+The Apache Software Foundation (http://www.apache.org/).
+
Propchange: incubator/tuscany/java/sca/tools/feature/NOTICE
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/tuscany/java/sca/tools/feature/build.properties
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tools/feature/build.properties?rev=578614&view=auto
==============================================================================
--- incubator/tuscany/java/sca/tools/feature/build.properties (added)
+++ incubator/tuscany/java/sca/tools/feature/build.properties Sun Sep 23 17:54:20 2007
@@ -0,0 +1 @@
+bin.includes = feature.xml
Propchange: incubator/tuscany/java/sca/tools/feature/build.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/java/sca/tools/feature/build.properties
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: incubator/tuscany/java/sca/tools/feature/feature.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tools/feature/feature.xml?rev=578614&view=auto
==============================================================================
--- incubator/tuscany/java/sca/tools/feature/feature.xml (added)
+++ incubator/tuscany/java/sca/tools/feature/feature.xml Sun Sep 23 17:54:20 2007
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<feature
+ id="org.apache.tuscany.sca.feature"
+ label="Apache Tuscany SCA Tools"
+ version="1.0.0">
+
+ <description url="http://incubator.apache.org/tuscany">
+ Apache Tuscany SCA Tools.
+ </description>
+
+ <license url="http://www.apache.org/licenses/LICENSE-2.0">
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ </license>
+
+ <plugin
+ id="org.apache.tuscany.sca.core"
+ download-size="0"
+ install-size="0"
+ version="1.0.0"/>
+
+ <plugin
+ id="org.apache.tuscany.sca.runtime"
+ download-size="0"
+ install-size="0"
+ version="1.0.0"/>
+
+</feature>
Propchange: incubator/tuscany/java/sca/tools/feature/feature.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/java/sca/tools/feature/feature.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: incubator/tuscany/java/sca/tools/plugin-core/.classpath
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tools/plugin-core/.classpath?rev=578614&view=auto
==============================================================================
--- incubator/tuscany/java/sca/tools/plugin-core/.classpath (added)
+++ incubator/tuscany/java/sca/tools/plugin-core/.classpath Sun Sep 23 17:54:20 2007
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src/main/java"/>
+ <classpathentry excluding="icons/|src/main/java/|target/|xsd/" kind="src" path=""/>
+ <classpathentry exported="true" kind="lib" path="target/classes/"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="target/classes"/>
+</classpath>
Propchange: incubator/tuscany/java/sca/tools/plugin-core/.classpath
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/tuscany/java/sca/tools/plugin-core/.project
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tools/plugin-core/.project?rev=578614&view=auto
==============================================================================
--- incubator/tuscany/java/sca/tools/plugin-core/.project (added)
+++ incubator/tuscany/java/sca/tools/plugin-core/.project Sun Sep 23 17:54:20 2007
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.apache.tuscany.sca.core</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Propchange: incubator/tuscany/java/sca/tools/plugin-core/.project
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/tuscany/java/sca/tools/plugin-core/DISCLAIMER
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tools/plugin-core/DISCLAIMER?rev=578614&view=auto
==============================================================================
--- incubator/tuscany/java/sca/tools/plugin-core/DISCLAIMER (added)
+++ incubator/tuscany/java/sca/tools/plugin-core/DISCLAIMER Sun Sep 23 17:54:20 2007
@@ -0,0 +1,8 @@
+Apache Tuscany is an effort undergoing incubation at The Apache Software
+Foundation (ASF), sponsored by the Apache Web Services PMC. Incubation is
+required of all newly accepted projects until a further review indicates that
+the infrastructure, communications, and decision making process have stabilized
+in a manner consistent with other successful ASF projects. While incubation
+status is not necessarily a reflection of the completeness or stability of the
+code, it does indicate that the project has yet to be fully endorsed by the ASF.
+
Added: incubator/tuscany/java/sca/tools/plugin-core/LICENSE
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tools/plugin-core/LICENSE?rev=578614&view=auto
==============================================================================
--- incubator/tuscany/java/sca/tools/plugin-core/LICENSE (added)
+++ incubator/tuscany/java/sca/tools/plugin-core/LICENSE Sun Sep 23 17:54:20 2007
@@ -0,0 +1,205 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+
+
Propchange: incubator/tuscany/java/sca/tools/plugin-core/LICENSE
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/tuscany/java/sca/tools/plugin-core/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tools/plugin-core/META-INF/MANIFEST.MF?rev=578614&view=auto
==============================================================================
--- incubator/tuscany/java/sca/tools/plugin-core/META-INF/MANIFEST.MF (added)
+++ incubator/tuscany/java/sca/tools/plugin-core/META-INF/MANIFEST.MF Sun Sep 23 17:54:20 2007
@@ -0,0 +1,26 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Apache Tuscany SCA Tools
+Bundle-SymbolicName: org.apache.tuscany.sca.core;singleton:=true
+Bundle-Version: 1.0.0
+Import-Package: org.eclipse.core.resources,
+ org.eclipse.core.runtime,
+ org.eclipse.core.runtime.jobs,
+ org.eclipse.debug.core,
+ org.eclipse.debug.core.model,
+ org.eclipse.debug.ui,
+ org.eclipse.debug.ui.sourcelookup,
+ org.eclipse.jdt.core,
+ org.eclipse.jdt.debug.ui.launchConfigurations,
+ org.eclipse.jdt.launching,
+ org.eclipse.jdt.ui.wizards,
+ org.eclipse.jface.dialogs,
+ org.eclipse.jface.resource,
+ org.eclipse.jface.viewers,
+ org.eclipse.jface.wizard,
+ org.eclipse.swt,
+ org.eclipse.swt.graphics,
+ org.eclipse.swt.widgets,
+ org.eclipse.ui,
+ org.osgi.framework;version="1.4.0"
+Bundle-ClassPath: target/classes/
Added: incubator/tuscany/java/sca/tools/plugin-core/NOTICE
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tools/plugin-core/NOTICE?rev=578614&view=auto
==============================================================================
--- incubator/tuscany/java/sca/tools/plugin-core/NOTICE (added)
+++ incubator/tuscany/java/sca/tools/plugin-core/NOTICE Sun Sep 23 17:54:20 2007
@@ -0,0 +1,12 @@
+${pom.name}
+Copyright (c) 2005 - 2007 The Apache Software Foundation
+
+This product includes software developed by
+The Apache Software Foundation (http://www.apache.org/).
+
+This product also includes software under the SCA Collaboration license
+(see the LICENSE file contained in this distribution), with the following
+copyright:
+
+(c) Copyright SCA Collaboration 2006, 2007
+
Propchange: incubator/tuscany/java/sca/tools/plugin-core/NOTICE
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/tuscany/java/sca/tools/plugin-core/build.properties
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tools/plugin-core/build.properties?rev=578614&view=auto
==============================================================================
--- incubator/tuscany/java/sca/tools/plugin-core/build.properties (added)
+++ incubator/tuscany/java/sca/tools/plugin-core/build.properties Sun Sep 23 17:54:20 2007
@@ -0,0 +1,9 @@
+output.. = bin/
+bin.includes = META-INF/,\
+ plugin.xml,\
+ xsd/,\
+ icons/,\
+ target/classes/
+src.includes = xsd/,\
+ plugin.xml,\
+ src/main/java/
Propchange: incubator/tuscany/java/sca/tools/plugin-core/build.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/java/sca/tools/plugin-core/build.properties
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: incubator/tuscany/java/sca/tools/plugin-core/icons/t.gif
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tools/plugin-core/icons/t.gif?rev=578614&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/tuscany/java/sca/tools/plugin-core/icons/t.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/tuscany/java/sca/tools/plugin-core/icons/tuscany.gif
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tools/plugin-core/icons/tuscany.gif?rev=578614&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/tuscany/java/sca/tools/plugin-core/icons/tuscany.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/tuscany/java/sca/tools/plugin-core/plugin.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tools/plugin-core/plugin.xml?rev=578614&view=auto
==============================================================================
--- incubator/tuscany/java/sca/tools/plugin-core/plugin.xml (added)
+++ incubator/tuscany/java/sca/tools/plugin-core/plugin.xml Sun Sep 23 17:54:20 2007
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<plugin>
+
+ <extension point = "org.eclipse.wst.xml.core.catalogContributions">
+ <catalogContribution id="default">
+ <uri name="http://www.osoa.org/xmlns/sca/1.0" uri="xsd/tuscany-sca-include.xsd"/>
+ </catalogContribution>
+ </extension>
+
+ <extension point = "org.eclipse.wst.xml.core.catalogContributions">
+ <catalogContribution id="default">
+ <uri name="http://tuscany.apache.org/xmlns/sca/1.0" uri="xsd/tuscany-sca.xsd"/>
+ </catalogContribution>
+ </extension>
+
+ <extension point="org.eclipse.core.runtime.contentTypes">
+ <file-association content-type="org.eclipse.core.runtime.xml" file-extensions="composite"/>
+ <file-association content-type="org.eclipse.core.runtime.xml" file-extensions="componentType"/>
+ </extension>
+
+ <extension point="org.eclipse.jdt.core.classpathContainerInitializer">
+ <classpathContainerInitializer
+ id="org.apache.tuscany.sca.runtime.library"
+ class="org.apache.tuscany.sca.core.classpath.TuscanyClasspathContainerInitializer"/>
+ </extension>
+
+ <extension point="org.eclipse.jdt.ui.classpathContainerPage">
+ <classpathContainerPage
+ id="org.apache.tuscany.sca.runtime.library"
+ name="Tuscany Library"
+ class="org.apache.tuscany.sca.core.classpath.TuscanyLibraryEntryPage">
+ </classpathContainerPage>
+ </extension>
+
+ <extension point="org.eclipse.debug.core.launchConfigurationTypes">
+ <launchConfigurationType
+ name="Tuscany"
+ delegate="org.apache.tuscany.sca.core.launch.TuscanyLaunchConfigurationDelegate"
+ modes="run, debug"
+ sourceLocatorId="org.eclipse.jdt.launching.sourceLocator.JavaSourceLookupDirector"
+ sourcePathComputerId="org.eclipse.jdt.launching.sourceLookup.javaSourcePathComputer"
+ id="org.apache.tuscany.sca.core.launch.configurationtype">
+ </launchConfigurationType>
+ </extension>
+
+ <extension point="org.eclipse.debug.ui.launchConfigurationTypeImages">
+ <launchConfigurationTypeImage
+ icon="icons/t.gif"
+ configTypeID="org.apache.tuscany.sca.core.launch.configurationtype"
+ id="org.apache.tuscany.sca.core.launch.configurationtypeimage">
+ </launchConfigurationTypeImage>
+ </extension>
+
+ <extension point="org.eclipse.debug.ui.launchConfigurationTabGroups">
+ <launchConfigurationTabGroup
+ type="org.apache.tuscany.sca.core.launch.configurationtype"
+ class="org.apache.tuscany.sca.core.launch.TuscanyLaunchConfigurationTabGroup"
+ id="org.apache.tuscany.sca.core.launch.configurationtypetabgroup">
+ </launchConfigurationTabGroup>
+ </extension>
+
+ <extension point="org.eclipse.debug.ui.launchShortcuts">
+ <shortcut
+ id="org.apache.tuscany.sca.core.launchshortcut"
+ class="org.apache.tuscany.sca.core.launch.TuscanyLaunchShortcut"
+ label="Tuscany"
+ icon="icons/t.gif"
+ modes="run, debug">
+ <contextualLaunch>
+ <enablement>
+ <with variable="selection">
+ <count value="1"/>
+ <iterate>
+ <or>
+ <test property="org.eclipse.debug.ui.matchesPattern" value="*.composite"/>
+ </or>
+ </iterate>
+ </with>
+ </enablement>
+ </contextualLaunch>
+ </shortcut>
+ </extension>
+
+</plugin>
Propchange: incubator/tuscany/java/sca/tools/plugin-core/plugin.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/classpath/TuscanyClasspathContainer.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/classpath/TuscanyClasspathContainer.java?rev=578614&view=auto
==============================================================================
--- incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/classpath/TuscanyClasspathContainer.java (added)
+++ incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/classpath/TuscanyClasspathContainer.java Sun Sep 23 17:54:20 2007
@@ -0,0 +1,86 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.tuscany.sca.core.classpath;
+
+import java.io.File;
+import java.io.IOException;
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.List;
+
+import org.eclipse.core.runtime.FileLocator;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.Path;
+import org.eclipse.core.runtime.Platform;
+import org.eclipse.jdt.core.IClasspathContainer;
+import org.eclipse.jdt.core.IClasspathEntry;
+import org.eclipse.jdt.core.JavaCore;
+
+/**
+ * A classpath container for the Tuscany runtime.
+ *
+ * @version $Rev$ $Date$
+ */
+public class TuscanyClasspathContainer implements IClasspathContainer {
+
+ public TuscanyClasspathContainer() {
+ }
+
+ public IClasspathEntry[] getClasspathEntries() {
+
+ // Get the runtime plugin location
+ IPath runtimePath;
+ try {
+ URL url = FileLocator.toFileURL(Platform.getBundle("org.apache.tuscany.sca.runtime").getEntry("/"));
+ runtimePath = new Path(url.getFile());
+ } catch (IOException e) {
+ throw new IllegalArgumentException(e);
+ }
+
+ // Add Jars from runtime/lib as classpath entries
+ List<IClasspathEntry> list = new ArrayList<IClasspathEntry>();
+ for (File file : runtimePath.append("lib").toFile().listFiles()) {
+ IPath path = new Path(file.getPath());
+ if (!"jar".equals(path.getFileExtension())) {
+ continue;
+ }
+ if (path.lastSegment().equals("tuscany-sca-all-1.0-incubating.jar")) {
+ IPath sourcePath =
+ runtimePath.append("src/apache-tuscany-sca-1.0-incubating-src.zip");
+ list.add(JavaCore.newLibraryEntry(path, sourcePath, null));
+ } else
+ list.add(JavaCore.newLibraryEntry(path, null, null));
+ }
+ return (IClasspathEntry[])list.toArray(new IClasspathEntry[list.size()]);
+ }
+
+ public String getDescription() {
+ return "Tuscany Library";
+ }
+
+ public int getKind() {
+ return IClasspathContainer.K_APPLICATION;
+ }
+
+ public IPath getPath() {
+ return new Path("org.apache.tuscany.sca.runtime.library");
+ }
+
+}
Propchange: incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/classpath/TuscanyClasspathContainer.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/classpath/TuscanyClasspathContainer.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/classpath/TuscanyClasspathContainerInitializer.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/classpath/TuscanyClasspathContainerInitializer.java?rev=578614&view=auto
==============================================================================
--- incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/classpath/TuscanyClasspathContainerInitializer.java (added)
+++ incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/classpath/TuscanyClasspathContainerInitializer.java Sun Sep 23 17:54:20 2007
@@ -0,0 +1,50 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.tuscany.sca.core.classpath;
+
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.jdt.core.ClasspathContainerInitializer;
+import org.eclipse.jdt.core.IClasspathContainer;
+import org.eclipse.jdt.core.IJavaProject;
+import org.eclipse.jdt.core.JavaCore;
+
+/**
+ * A classpath container initializer for the Tuscany runtime.
+ *
+ * @version $Rev$ $Date$
+ */
+public class TuscanyClasspathContainerInitializer extends ClasspathContainerInitializer {
+
+ @Override
+ public void initialize(IPath containerPath, IJavaProject project) throws CoreException {
+
+ TuscanyClasspathContainer classpathContainer = new TuscanyClasspathContainer();
+ JavaCore.setClasspathContainer(containerPath,
+ new IJavaProject[] {project},
+ new IClasspathContainer[] {classpathContainer},
+ null);
+ }
+
+ @Override
+ public boolean canUpdateClasspathContainer(IPath containerPath, IJavaProject project) {
+ return true;
+ }
+}
Propchange: incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/classpath/TuscanyClasspathContainerInitializer.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/classpath/TuscanyClasspathContainerInitializer.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/classpath/TuscanyLibraryEntryPage.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/classpath/TuscanyLibraryEntryPage.java?rev=578614&view=auto
==============================================================================
--- incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/classpath/TuscanyLibraryEntryPage.java (added)
+++ incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/classpath/TuscanyLibraryEntryPage.java Sun Sep 23 17:54:20 2007
@@ -0,0 +1,70 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.tuscany.sca.core.classpath;
+
+import org.eclipse.core.runtime.Path;
+import org.eclipse.jdt.core.IClasspathEntry;
+import org.eclipse.jdt.core.JavaCore;
+import org.eclipse.jdt.ui.wizards.IClasspathContainerPage;
+import org.eclipse.jface.wizard.WizardPage;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Label;
+
+/**
+ * A classpath container page for the Tuscany runtime library.
+ *
+ * @version $Rev$ $Date$
+ */
+public class TuscanyLibraryEntryPage extends WizardPage implements IClasspathContainerPage {
+
+ private IClasspathEntry classpathEntry;
+
+ public TuscanyLibraryEntryPage() {
+ super("Tuscany");
+ }
+
+ public void createControl(Composite parent) {
+ setTitle("Tuscany Library");
+
+ Label label = new Label(parent, SWT.NONE);
+ label.setText("Press Finish to add the Tuscany Library");
+ label.setFont(parent.getFont());
+
+ setControl(label);
+ }
+
+ public boolean finish() {
+ classpathEntry = JavaCore.newContainerEntry(new Path("org.apache.tuscany.sca.runtime.library"));
+ return true;
+ }
+
+ public boolean isPageComplete() {
+ return true;
+ }
+
+ public IClasspathEntry getSelection() {
+ return classpathEntry;
+ }
+
+ public void setSelection(IClasspathEntry containerEntry) {
+ this.classpathEntry = containerEntry;
+ }
+}
Propchange: incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/classpath/TuscanyLibraryEntryPage.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/classpath/TuscanyLibraryEntryPage.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/launch/TuscanyLaunchConfigurationDelegate.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/launch/TuscanyLaunchConfigurationDelegate.java?rev=578614&view=auto
==============================================================================
--- incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/launch/TuscanyLaunchConfigurationDelegate.java (added)
+++ incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/launch/TuscanyLaunchConfigurationDelegate.java Sun Sep 23 17:54:20 2007
@@ -0,0 +1,73 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.tuscany.sca.core.launch;
+
+import java.io.File;
+import java.util.Map;
+
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.debug.core.ILaunch;
+import org.eclipse.debug.core.ILaunchConfiguration;
+import org.eclipse.debug.core.model.ILaunchConfigurationDelegate;
+import org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate;
+import org.eclipse.jdt.launching.ExecutionArguments;
+import org.eclipse.jdt.launching.IVMInstall;
+import org.eclipse.jdt.launching.IVMRunner;
+import org.eclipse.jdt.launching.VMRunnerConfiguration;
+
+/**
+ * Launch configuration delegate for the Tuscany launch configuration.
+ *
+ * @version $Rev$ $Date$
+ */
+public class TuscanyLaunchConfigurationDelegate extends AbstractJavaLaunchConfigurationDelegate implements
+ ILaunchConfigurationDelegate {
+
+ public void launch(ILaunchConfiguration configuration, String mode, ILaunch launch, IProgressMonitor monitor)
+ throws CoreException {
+
+ // Verify the configuration
+ String mainTypeName = verifyMainTypeName(configuration);
+ IVMInstall vm = verifyVMInstall(configuration);
+ IVMRunner runner = vm.getVMRunner(mode);
+
+ ExecutionArguments execArgs =
+ new ExecutionArguments(getVMArguments(configuration), getProgramArguments(configuration));
+ Map vmAttributesMap = getVMSpecificAttributesMap(configuration);
+ String[] classpath = getClasspath(configuration);
+
+ File workingDir = verifyWorkingDirectory(configuration);
+ String workingDirName = null;
+ if (workingDir != null)
+ workingDirName = workingDir.getAbsolutePath();
+
+ // Create a VM runner configuration
+ VMRunnerConfiguration runConfig = new VMRunnerConfiguration(mainTypeName, classpath);
+ runConfig.setProgramArguments(execArgs.getProgramArgumentsArray());
+ runConfig.setVMArguments(execArgs.getVMArgumentsArray());
+ runConfig.setVMSpecificAttributesMap(vmAttributesMap);
+ runConfig.setWorkingDirectory(workingDirName);
+ runConfig.setBootClassPath(getBootpath(configuration));
+
+ // Run!!
+ runner.run(runConfig, launch, monitor);
+ }
+}
Propchange: incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/launch/TuscanyLaunchConfigurationDelegate.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/launch/TuscanyLaunchConfigurationDelegate.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/launch/TuscanyLaunchConfigurationTabGroup.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/launch/TuscanyLaunchConfigurationTabGroup.java?rev=578614&view=auto
==============================================================================
--- incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/launch/TuscanyLaunchConfigurationTabGroup.java (added)
+++ incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/launch/TuscanyLaunchConfigurationTabGroup.java Sun Sep 23 17:54:20 2007
@@ -0,0 +1,48 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.tuscany.sca.core.launch;
+
+import org.eclipse.debug.ui.AbstractLaunchConfigurationTabGroup;
+import org.eclipse.debug.ui.CommonTab;
+import org.eclipse.debug.ui.EnvironmentTab;
+import org.eclipse.debug.ui.ILaunchConfigurationDialog;
+import org.eclipse.debug.ui.ILaunchConfigurationTab;
+import org.eclipse.debug.ui.ILaunchConfigurationTabGroup;
+import org.eclipse.debug.ui.sourcelookup.SourceLookupTab;
+import org.eclipse.jdt.debug.ui.launchConfigurations.JavaArgumentsTab;
+import org.eclipse.jdt.debug.ui.launchConfigurations.JavaClasspathTab;
+import org.eclipse.jdt.debug.ui.launchConfigurations.JavaJRETab;
+
+/**
+ * Tab groups from the Tuscany launch configuration.
+ *
+ * @version $Rev$ $Date$
+ */
+public class TuscanyLaunchConfigurationTabGroup extends AbstractLaunchConfigurationTabGroup implements
+ ILaunchConfigurationTabGroup {
+
+ public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
+ ILaunchConfigurationTab[] tabs =
+ new ILaunchConfigurationTab[] {new JavaArgumentsTab(), new JavaJRETab(), new JavaClasspathTab(),
+ new SourceLookupTab(), new EnvironmentTab(), new CommonTab()};
+
+ setTabs(tabs);
+ }
+}
Propchange: incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/launch/TuscanyLaunchConfigurationTabGroup.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/launch/TuscanyLaunchConfigurationTabGroup.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/launch/TuscanyLaunchShortcut.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/launch/TuscanyLaunchShortcut.java?rev=578614&view=auto
==============================================================================
--- incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/launch/TuscanyLaunchShortcut.java (added)
+++ incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/launch/TuscanyLaunchShortcut.java Sun Sep 23 17:54:20 2007
@@ -0,0 +1,104 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.tuscany.sca.core.launch;
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.debug.core.DebugPlugin;
+import org.eclipse.debug.core.ILaunchConfigurationType;
+import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
+import org.eclipse.debug.core.ILaunchManager;
+import org.eclipse.debug.ui.ILaunchShortcut;
+import org.eclipse.jdt.core.IClasspathEntry;
+import org.eclipse.jdt.core.IJavaProject;
+import org.eclipse.jdt.core.JavaCore;
+import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants;
+import org.eclipse.jface.viewers.ISelection;
+import org.eclipse.jface.viewers.IStructuredSelection;
+import org.eclipse.ui.IEditorPart;
+
+/**
+ * A launch shortcut for SCA .composite files.
+ *
+ * @version $Rev$ $Date$
+ */
+public class TuscanyLaunchShortcut implements ILaunchShortcut {
+
+ public void launch(ISelection selection, String mode) {
+
+ try {
+
+ // Make sure we have a .composite file selected
+ if (!(selection instanceof IStructuredSelection)) {
+ return;
+ }
+ Object[] selections = ((IStructuredSelection)selection).toArray();
+ if (selections.length == 0) {
+ return;
+ }
+ IFile file = (IFile)selections[0];
+ if (!file.getFileExtension().equals("composite")) {
+ return;
+ }
+
+ // Get the Java project
+ IJavaProject javaProject = JavaCore.create(file.getProject());
+
+ // Find the Java source container containing the selected
+ // .composite file
+ IClasspathEntry[] classpathEntries = javaProject.getRawClasspath();
+ int segments = 0;
+ for (IClasspathEntry entry : classpathEntries)
+ if (entry.getEntryKind() == IClasspathEntry.CPE_SOURCE) {
+ segments = entry.getPath().matchingFirstSegments(file.getFullPath());
+ if (segments > 0)
+ break;
+ }
+
+ // Get our launch configuration type
+ ILaunchManager launchManager = DebugPlugin.getDefault().getLaunchManager();
+ ILaunchConfigurationType launchConfigurationType =
+ launchManager.getLaunchConfigurationType("org.apache.tuscany.sca.core.launch.configurationtype");
+
+ // Create a launch configuration
+ ILaunchConfigurationWorkingCopy configuration =
+ launchConfigurationType.newInstance(null,
+ launchManager.generateUniqueLaunchConfigurationNameFrom("test"));
+ configuration.setAttribute(IJavaLaunchConfigurationConstants.ATTR_MAIN_TYPE_NAME, "org.apache.tuscany.sca.core.launch.TuscanyLaunch");
+ configuration.setAttribute(IJavaLaunchConfigurationConstants.ATTR_PROJECT_NAME, file.getProject().getName());
+
+ // Pass the path of the .composite relative to the classpath root to the launcher
+ configuration.setAttribute(IJavaLaunchConfigurationConstants.ATTR_PROGRAM_ARGUMENTS, file.getFullPath()
+ .removeFirstSegments(segments).toString());
+
+ // Save the configuration
+ configuration.doSave();
+
+ // Launch!!
+ configuration.launch(mode, null);
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+ public void launch(IEditorPart editor, String mode) {
+ //TODO later...
+ }
+}
Propchange: incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/launch/TuscanyLaunchShortcut.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/java/sca/tools/plugin-core/src/main/java/org/apache/tuscany/sca/core/launch/TuscanyLaunchShortcut.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-binding-ejb.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-binding-ejb.xsd?rev=578614&view=auto
==============================================================================
--- incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-binding-ejb.xsd (added)
+++ incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-binding-ejb.xsd Sun Sep 23 17:54:20 2007
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- (c) Copyright SCA Collaboration 2006, 2007 -->
+<schema xmlns="http://www.w3.org/2001/XMLSchema"
+ xmlns:sca="http://www.osoa.org/xmlns/sca/1.0"
+ targetNamespace="http://www.osoa.org/xmlns/sca/1.0"
+ elementFormDefault="qualified">
+ <include schemaLocation="sca-core.xsd"/>
+
+ <element name="binding.ejb" type="sca:EJBSessionBeanBinding"
+ substitutionGroup="sca:binding" />
+
+ <simpleType name="BeanType">
+ <restriction base="string">
+ <enumeration value="stateless"/>
+ <enumeration value="stateful"/>
+ </restriction>
+ </simpleType>
+
+ <simpleType name="VersionValue">
+ <restriction base="string">
+ <enumeration value="EJB2"/>
+ <enumeration value="EJB3"/>
+ </restriction>
+ </simpleType>
+
+
+ <complexType name="EJBSessionBeanBinding">
+ <complexContent>
+ <extension base="sca:Binding">
+ <sequence>
+ <any namespace="##other" processContents="lax"
+ minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="homeInterface" type="NCName" use="optional"/>
+ <attribute name="ejb-link-name" type="NCName" use="optional"/>
+ <attribute name="session-type" type="sca:BeanType" use="optional" default="stateless"/>
+ <attribute name="ejb-version" type="sca:VersionValue" use="optional" default="EJB2"/>
+ <anyAttribute namespace="##any" processContents="lax"/>
+ </extension>
+ </complexContent>
+ </complexType>
+
+</schema>
Propchange: incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-binding-ejb.xsd
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-binding-ejb.xsd
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-binding-jms.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-binding-jms.xsd?rev=578614&view=auto
==============================================================================
--- incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-binding-jms.xsd (added)
+++ incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-binding-jms.xsd Sun Sep 23 17:54:20 2007
@@ -0,0 +1,135 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- (c) Copyright SCA Collaboration 2006, 2007 -->
+<schema xmlns="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://www.osoa.org/xmlns/sca/1.0"
+ xmlns:sca="http://www.osoa.org/xmlns/sca/1.0"
+ elementFormDefault="qualified">
+
+ <include schemaLocation="sca-core.xsd"/>
+
+ <complexType name="JMSBinding">
+ <complexContent>
+ <extension base="sca:Binding">
+ <sequence>
+ <element name="destination" type="sca:Destination" minOccurs="0"/>
+ <element name="connectionFactory" type="sca:ConnectionFactory"
+ minOccurs="0"/>
+ <element name="activationSpec" type="sca:ActivationSpec"
+ minOccurs="0"/>
+ <element name="response" type="sca:Response" minOccurs="0"/>
+ <element name="headers" type="sca:Headers" minOccurs="0"/>
+ <element name="resourceAdapter" type="sca:ResourceAdapter"
+ minOccurs="0"/>
+ <element name="operationProperties" type="sca:OperationProperties"
+ minOccurs="0" maxOccurs="unbounded"/>
+ <any namespace="##other" processContents="lax"
+ minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="correlationScheme"
+ default="RequestMsgIDToCorrelID">
+ <simpleType>
+ <restriction base="string">
+ <enumeration value="RequestMsgIDToCorrelID"/>
+ <enumeration value="RequestCorrelIDToCorrelID"/>
+ <enumeration value="None"/>
+ </restriction>
+ </simpleType>
+ </attribute>
+
+ <attribute name="initialContextFactory" type="anyURI"/>
+ <attribute name="jndiURL" type="anyURI"/>
+ <attribute name="requestConnection" type="QName"/>
+ <attribute name="responseConnection" type="QName"/>
+ <attribute name="operationProperties" type="QName"/>
+ <anyAttribute/>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <simpleType name="CreateResource">
+ <restriction base="string">
+ <enumeration value="always"/>
+ <enumeration value="never"/>
+ <enumeration value="ifnotexist"/>
+ </restriction>
+ </simpleType>
+
+ <complexType name="Destination">
+ <sequence>
+ <element name="property" type="string"
+ minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="name" type="anyURI" use="required"/>
+ <attribute name="type" use="optional" default="queue">
+ <simpleType>
+ <restriction base="string">
+ <enumeration value="queue"/>
+ <enumeration value="topic"/>
+ </restriction>
+ </simpleType>
+ </attribute>
+ <attribute name="create" type="sca:CreateResource"
+ use="optional" default="ifnotexist"/>
+ </complexType>
+
+ <complexType name="ConnectionFactory">
+ <sequence> <element name="property" type="string"
+ minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="name" type="anyURI" use="required"/>
+ <attribute name="create" type="sca:CreateResource"
+ use="optional" default="ifnotexist"/>
+ </complexType>
+
+ <complexType name="ActivationSpec">
+ <sequence>
+ <element name="property" type="string"
+ minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="name" type="anyURI" use="required"/>
+ <attribute name="create" type="sca:CreateResource"
+ use="optional" default="ifnotexist"/>
+ </complexType>
+
+ <complexType name="Response">
+ <sequence>
+ <element name="destination" type="sca:Destination" minOccurs="0"/>
+ <element name="connectionFactory" type="sca:ConnectionFactory"
+ minOccurs="0"/>
+ <element name="activationSpec" type="sca:ActivationSpec" minOccurs="0"/>
+ </sequence>
+ </complexType>
+
+ <complexType name="Headers">
+ <sequence>
+ <element name="property" type="string"
+ minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="JMSType" type="string"/>
+ <attribute name="JMSCorrelationID" type="string"/>
+ <attribute name="JMSDeliveryMode" type="string"/>
+ <attribute name="JMSTimeToLive" type="int"/>
+ <attribute name="JMSPriority" type="string"/>
+ </complexType>
+
+ <complexType name="ResourceAdapter">
+ <sequence>
+ <element name="property" type="string"
+ minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="name" type="string" use="required"/>
+ </complexType>
+
+ <complexType name="OperationProperties">
+ <sequence>
+ <element name="property" type="string"
+ minOccurs="0" maxOccurs="unbounded"/>
+ <element name="headers" type="sca:Headers"/>
+ </sequence>
+ <attribute name="name" type="string" use="required"/>
+ <attribute name="nativeOperation" type="string"/>
+ </complexType>
+
+ <element name="binding.jms" type="sca:JMSBinding"
+ substitutionGroup="sca:binding"/>
+</schema>
Propchange: incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-binding-jms.xsd
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-binding-jms.xsd
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-binding-sca.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-binding-sca.xsd?rev=578614&view=auto
==============================================================================
--- incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-binding-sca.xsd (added)
+++ incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-binding-sca.xsd Sun Sep 23 17:54:20 2007
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- (c) Copyright SCA Collaboration 2006, 2007 -->
+<schema xmlns="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://www.osoa.org/xmlns/sca/1.0"
+ xmlns:sca="http://www.osoa.org/xmlns/sca/1.0"
+ elementFormDefault="qualified">
+
+ <include schemaLocation="sca-core.xsd"/>
+
+ <element name="binding.sca" type="sca:SCABinding"
+ substitutionGroup="sca:binding"/>
+ <complexType name="SCABinding">
+ <complexContent>
+ <extension base="sca:Binding">
+ <sequence>
+ <any namespace="##other" processContents="lax" minOccurs="0"
+ maxOccurs="unbounded"/>
+ </sequence>
+ <anyAttribute namespace="##any" processContents="lax"/>
+ </extension>
+ </complexContent>
+ </complexType>
+</schema>
\ No newline at end of file
Propchange: incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-binding-sca.xsd
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-binding-webservice.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-binding-webservice.xsd?rev=578614&view=auto
==============================================================================
--- incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-binding-webservice.xsd (added)
+++ incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-binding-webservice.xsd Sun Sep 23 17:54:20 2007
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- (c) Copyright SCA Collaboration 2006, 2007 -->
+<schema xmlns="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://www.osoa.org/xmlns/sca/1.0"
+ xmlns:sca="http://www.osoa.org/xmlns/sca/1.0"
+ xmlns:wsdli="http://www.w3.org/2004/08/wsdl-instance"
+ xmlns:wsa="http://www.w3.org/2004/12/addressing"
+ elementFormDefault="qualified">
+
+ <include schemaLocation="sca-core.xsd"/>
+
+ <element name="binding.ws" type="sca:WebServiceBinding"
+ substitutionGroup="sca:binding"/>
+ <complexType name="WebServiceBinding">
+ <complexContent>
+ <extension base="sca:Binding">
+ <sequence>
+ <any namespace="##other" processContents="lax" minOccurs="0"
+ maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="wsdlElement" type="anyURI" use="optional"/>
+ <anyAttribute namespace="##any" processContents="lax"/>
+ </extension>
+ </complexContent>
+ </complexType>
+</schema>
Propchange: incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-binding-webservice.xsd
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/java/sca/tools/plugin-core/xsd/sca-binding-webservice.xsd
------------------------------------------------------------------------------
svn:keywords = Rev Date
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org