You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by an...@apache.org on 2007/01/28 00:55:38 UTC

svn commit: r500699 - in /incubator/tuscany/java: samples/sca/helloworldGroovy/ sca/extensions/groovy/ sca/extensions/groovy/container/ sca/extensions/groovy/container/src/main/resources/META-INF/sca/ sca/extensions/groovy/samples/ sca/extensions/groov...

Author: antelder
Date: Sat Jan 27 15:55:38 2007
New Revision: 500699

URL: http://svn.apache.org/viewvc?view=rev&rev=500699
Log:
Move Groovy helloworld sample to extension

Added:
    incubator/tuscany/java/sca/extensions/groovy/container/src/main/resources/META-INF/sca/default.scdl   (with props)
    incubator/tuscany/java/sca/extensions/groovy/pom.xml   (with props)
    incubator/tuscany/java/sca/extensions/groovy/samples/
    incubator/tuscany/java/sca/extensions/groovy/samples/helloworld/
      - copied from r500671, incubator/tuscany/java/samples/sca/helloworldGroovy/
    incubator/tuscany/java/sca/extensions/groovy/samples/pom.xml   (with props)
Removed:
    incubator/tuscany/java/samples/sca/helloworldGroovy/
Modified:
    incubator/tuscany/java/sca/extensions/groovy/   (props changed)
    incubator/tuscany/java/sca/extensions/groovy/container/pom.xml
    incubator/tuscany/java/sca/extensions/groovy/container/src/main/resources/META-INF/sca/groovy.system.scdl
    incubator/tuscany/java/sca/extensions/groovy/samples/helloworld/pom.xml

Propchange: incubator/tuscany/java/sca/extensions/groovy/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sat Jan 27 15:55:38 2007
@@ -0,0 +1,14 @@
+target
+*.iws
+*.ipr
+*.iml
+.project
+.classpath
+maven.log
+velocity.log*
+junit*.properties
+surefire*.properties
+.settings
+.deployables
+.wtpmodules
+

Modified: incubator/tuscany/java/sca/extensions/groovy/container/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/extensions/groovy/container/pom.xml?view=diff&rev=500699&r1=500698&r2=500699
==============================================================================
--- incubator/tuscany/java/sca/extensions/groovy/container/pom.xml (original)
+++ incubator/tuscany/java/sca/extensions/groovy/container/pom.xml Sat Jan 27 15:55:38 2007
@@ -20,13 +20,13 @@
 <project>
 
     <parent>
-        <groupId>org.apache.tuscany.sca.services.containers</groupId>
+        <groupId>org.apache.tuscany.sca.extensions.groovy</groupId>
         <artifactId>parent</artifactId>
         <version>1.0-incubator-SNAPSHOT</version>
     </parent>
 
     <modelVersion>4.0.0</modelVersion>
-    <artifactId>groovy</artifactId>
+    <artifactId>tuscany-groovy</artifactId>
     <name>Apache Tuscany Groovy Container</name>
     <description>Apache Tuscany Groovy Container</description>
 
@@ -34,32 +34,30 @@
         <dependency>
             <groupId>org.apache.tuscany.sca.kernel</groupId>
             <artifactId>tuscany-spi</artifactId>
-				<version>0.1-pre-spec-SNAPSHOT</version>
-            <scope>compile</scope>
         </dependency>
 
         <dependency>
-            <groupId>groovy</groupId>
-            <artifactId>groovy-all</artifactId>
-            <version>1.0</version>
-            <scope>compile</scope>
+           <groupId>groovy</groupId>
+           <artifactId>groovy-all</artifactId>
+           <version>1.0</version>
+           <scope>compile</scope>
         </dependency>
 
         <dependency>
             <groupId>org.apache.tuscany.sca</groupId>
             <artifactId>test</artifactId>
-				<version>0.1-pre-spec-SNAPSHOT</version>
-            <scope>test</scope>
         </dependency>
 
         <dependency>
             <groupId>org.easymock</groupId>
             <artifactId>easymock</artifactId>
         </dependency>
+
         <dependency>
             <groupId>org.easymock</groupId>
             <artifactId>easymockclassextension</artifactId>
         </dependency>
+
     </dependencies>
 
 </project>

Added: incubator/tuscany/java/sca/extensions/groovy/container/src/main/resources/META-INF/sca/default.scdl
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/extensions/groovy/container/src/main/resources/META-INF/sca/default.scdl?view=auto&rev=500699
==============================================================================
--- incubator/tuscany/java/sca/extensions/groovy/container/src/main/resources/META-INF/sca/default.scdl (added)
+++ incubator/tuscany/java/sca/extensions/groovy/container/src/main/resources/META-INF/sca/default.scdl Sat Jan 27 15:55:38 2007
@@ -0,0 +1,46 @@
+<?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.    
+ -->
+<!--
+    JavaScript configuration for the launcher environment.
+-->
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
+           xmlns:system="http://tuscany.apache.org/xmlns/system/1.0-SNAPSHOT"
+
+           name="groovy.extension">
+
+    <dependency xmlns="http://tuscany.apache.org/xmlns/1.0-SNAPSHOT">
+        <group>org.apache.tuscany.sca.extensions.groovy</group>
+        <name>tuscany-groovy</name>
+        <version>1.0-incubator-SNAPSHOT</version>
+    </dependency>
+
+    <component name="GroovyLoader">
+        <system:implementation.system class="org.apache.tuscany.container.groovy.ImplementationLoader"/>
+    </component>
+
+    <component name="GroovyComponentTypeLoader">
+        <system:implementation.system class="org.apache.tuscany.container.groovy.GroovyComponentTypeLoader"/>
+    </component>
+
+    <component name="GroovyBuilder">
+        <system:implementation.system class="org.apache.tuscany.container.groovy.GroovyComponentBuilder"/>
+    </component>
+
+</composite>
\ No newline at end of file

Propchange: incubator/tuscany/java/sca/extensions/groovy/container/src/main/resources/META-INF/sca/default.scdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/extensions/groovy/container/src/main/resources/META-INF/sca/default.scdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/sca/extensions/groovy/container/src/main/resources/META-INF/sca/default.scdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/tuscany/java/sca/extensions/groovy/container/src/main/resources/META-INF/sca/groovy.system.scdl
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/extensions/groovy/container/src/main/resources/META-INF/sca/groovy.system.scdl?view=diff&rev=500699&r1=500698&r2=500699
==============================================================================
--- incubator/tuscany/java/sca/extensions/groovy/container/src/main/resources/META-INF/sca/groovy.system.scdl (original)
+++ incubator/tuscany/java/sca/extensions/groovy/container/src/main/resources/META-INF/sca/groovy.system.scdl Sat Jan 27 15:55:38 2007
@@ -25,6 +25,12 @@
 
            name="groovy.extension">
 
+    <dependency xmlns="http://tuscany.apache.org/xmlns/1.0-SNAPSHOT">
+        <group>org.apache.tuscany.sca.extensions.groovy</group>
+        <name>tuscany-groovy</name>
+        <version>1.0-incubator-SNAPSHOT</version>
+    </dependency>
+
     <component name="GroovyLoader">
         <system:implementation.system class="org.apache.tuscany.container.groovy.ImplementationLoader"/>
     </component>

Added: incubator/tuscany/java/sca/extensions/groovy/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/extensions/groovy/pom.xml?view=auto&rev=500699
==============================================================================
--- incubator/tuscany/java/sca/extensions/groovy/pom.xml (added)
+++ incubator/tuscany/java/sca/extensions/groovy/pom.xml Sat Jan 27 15:55:38 2007
@@ -0,0 +1,39 @@
+<?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.    
+-->
+<project>
+
+    <parent>
+        <groupId>org.apache.tuscany.sca.extensions</groupId>
+        <artifactId>parent</artifactId>
+        <version>1.0-incubator-SNAPSHOT</version>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>org.apache.tuscany.sca.extensions.groovy</groupId>
+    <artifactId>parent</artifactId>
+    <packaging>pom</packaging>
+    <name>Tuscany Groovy Extension</name>
+
+    <modules>
+        <module>container</module>
+        <module>samples</module>
+    </modules>
+
+</project>

Propchange: incubator/tuscany/java/sca/extensions/groovy/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/extensions/groovy/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/sca/extensions/groovy/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/tuscany/java/sca/extensions/groovy/samples/helloworld/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/extensions/groovy/samples/helloworld/pom.xml?view=diff&rev=500699&r1=500671&r2=500699
==============================================================================
--- incubator/tuscany/java/sca/extensions/groovy/samples/helloworld/pom.xml (original)
+++ incubator/tuscany/java/sca/extensions/groovy/samples/helloworld/pom.xml Sat Jan 27 15:55:38 2007
@@ -19,7 +19,7 @@
 -->
 <project>
     <parent>
-        <groupId>org.apache.tuscany.samples.sca</groupId>
+        <groupId>org.apache.tuscany.sca.extensions.groovy.samples</groupId>
         <artifactId>parent</artifactId>
         <version>1.0-incubator-SNAPSHOT</version>
     </parent>
@@ -37,13 +37,11 @@
         <dependency>
             <groupId>org.apache.tuscany.sca</groupId>
             <artifactId>test</artifactId>
-            <version>${tuscanyVersion}</version>
-            <scope>test</scope>
         </dependency>
         <dependency>
-            <groupId>org.apache.tuscany.sca.services.containers</groupId>
-            <artifactId>groovy</artifactId>
-            <version>${tuscanyVersion}</version>
+            <groupId>org.apache.tuscany.sca.extensions.groovy</groupId>
+            <artifactId>tuscany-groovy</artifactId>
+            <version>${extensionVersion}</version>
             <scope>test</scope>
         </dependency>
     </dependencies>

Added: incubator/tuscany/java/sca/extensions/groovy/samples/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/extensions/groovy/samples/pom.xml?view=auto&rev=500699
==============================================================================
--- incubator/tuscany/java/sca/extensions/groovy/samples/pom.xml (added)
+++ incubator/tuscany/java/sca/extensions/groovy/samples/pom.xml Sat Jan 27 15:55:38 2007
@@ -0,0 +1,102 @@
+<?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.    
+-->
+<project>
+
+    <parent>
+        <groupId>org.apache.tuscany.sca.extensions.groovy</groupId>
+        <artifactId>parent</artifactId>
+        <version>1.0-incubator-SNAPSHOT</version>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>org.apache.tuscany.sca.extensions.groovy.samples</groupId>
+    <artifactId>parent</artifactId>
+    <packaging>pom</packaging>
+    <name>Tuscany Samples for the Groovy extension</name>
+
+    <!-- definition of repositories where the parent pom can be found -->
+    <repositories>
+        <repository>
+            <id>apache.snapshots</id>
+            <name>Apache Snapshot Repository</name>
+            <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+            <releases>
+                <enabled>false</enabled>
+            </releases>
+            <snapshots>
+                <enabled>true</enabled>
+            </snapshots>
+        </repository>
+        <repository>
+            <id>apache.incubator</id>
+            <name>Apache Incubator Repository</name>
+            <url>http://people.apache.org/repo/m2-incubating-repository/</url>
+            <releases>
+                <enabled>true</enabled>
+            </releases>
+            <snapshots>
+                <enabled>false</enabled>
+            </snapshots>
+        </repository>
+    </repositories>
+
+    <modules>
+        <module>helloworld</module>
+    </modules>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>dependency-maven-plugin</artifactId>
+                <configuration>
+                    <artifactItems>
+                        <artifactItem>
+                            <groupId>org.apache.tuscany.distribution.sca</groupId>
+                            <artifactId>standalone</artifactId>
+                            <version>${scaImplVersion}</version>
+                            <classifier>bin</classifier>
+                            <type>zip</type>
+                        </artifactItem>
+                    </artifactItems>
+                    <outputDirectory>${project.build.directory}/distribution</outputDirectory>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+    <dependencyManagement>
+        <dependencies>
+            <dependency>
+                <groupId>org.osoa</groupId>
+                <artifactId>sca-api-r${specVersion}</artifactId>
+                <version>${scaVersion}</version>
+                <scope>compile</scope>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.tuscany.sca</groupId>
+                <artifactId>test</artifactId>
+                <version>${scaImplVersion}</version>
+                <scope>test</scope>
+            </dependency>
+        </dependencies>
+    </dependencyManagement>
+
+</project>

Propchange: incubator/tuscany/java/sca/extensions/groovy/samples/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/extensions/groovy/samples/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/sca/extensions/groovy/samples/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org