You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by th...@apache.org on 2006/10/31 09:04:01 UTC

svn commit: r469403 - /webservices/axis2/branches/java/1_1/modules/samples/maven.xml

Author: thilina
Date: Tue Oct 31 00:04:00 2006
New Revision: 469403

URL: http://svn.apache.org/viewvc?view=rev&rev=469403
Log:
ooops... my bad.. Groovy service created here is used by the integration groovy test.. We can move the grrovy things out to integration later.. For the moment adding it again to the build to fix the build break..

Modified:
    webservices/axis2/branches/java/1_1/modules/samples/maven.xml

Modified: webservices/axis2/branches/java/1_1/modules/samples/maven.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/maven.xml?view=diff&rev=469403&r1=469402&r2=469403
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/samples/maven.xml (original)
+++ webservices/axis2/branches/java/1_1/modules/samples/maven.xml Tue Oct 31 00:04:00 2006
@@ -11,6 +11,9 @@
         <path id="samples.src.path">
             <pathelement location="version/src"/>
             <pathelement location="yahoorestsearch/src"/>
+            <!-- we need groovy service for the tests in integration. 
+             Later we can migrate this to integration-->
+	    <pathelement location="deprecated/groovy/src"/>
         </path>
         <maven:addPath id="maven.compile.src.set" refid="samples.src.path"/>
     </preGoal>
@@ -41,6 +44,7 @@
         <attainGoal name="googleSpellcheck"/>
         <attainGoal name="yahooRESTSearch"/>
         <attainGoal name="version"/>
+        <attainGoal name="groovy"/>
     </goal>
 
     <!-- ================================================================ -->
@@ -142,6 +146,36 @@
         </jar>
     </goal>
 
+    <!-- ================================================================ -->
+    <!--- Groovy Service Sample -->
+    <!-- ================================================================ -->
+
+    <goal name="groovy">
+        <mkdir dir="target/groovy"/>
+        <ant:copy file="deprecated/groovy/src/sample/groovy/GroovyRcv.groovy"
+                  tofile="target/classes/sample/groovy/GroovyRcv.groovy"/>
+        <mkdir dir="target/classes/sample/groovy/lib"/>
+        <mkdir dir="target/classes/sample/groovy/META-INF"/>
+        <mkdir dir="target/classes/sample/groovy/sample"/>
+        <mkdir dir="target/classes/sample/groovy/sample/groovy"/>
+        <ant:copy file="target/classes/sample/groovy/GroovyReceiver.class"
+                  tofile="target/classes/sample/groovy/sample/groovy/GroovyReceiver.class"/>
+        <ant:copy file="deprecated/groovy/src/sample/groovy/META-INF/services.xml"
+                  tofile="target/classes/sample/groovy/META-INF/services.xml"/>
+        <ant:delete file="target/classes/sample/groovy/GroovyReceiver.class"/>
+        <j:if test="${context.getVariable('maven.jar.override').toString().trim().equalsIgnoreCase('on')}">
+            <ant:copy file="${dependencies.dir}/groovy-all-${groovy.all.version}.jar"
+                      tofile="target/classes/sample/groovy/lib/groovy-all-${groovy.all.version}.jar"/>
+        </j:if>
+        <j:if test="${context.getVariable('maven.jar.override').toString().trim().equalsIgnoreCase('off')}">
+            <ant:copy file="${maven.repo.local}/groovy/jars/groovy-all-${groovy.all.version}.jar"
+                      tofile="target/classes/sample/groovy/lib/groovy-all-${groovy.all.version}.jar"/>
+        </j:if>
+        <jar destfile="target/groovy/groovyService.aar">
+            <fileset dir="target/classes/sample/groovy">
+            </fileset>
+        </jar>
+    </goal>
  
 
     <!-- ================================================================ -->



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