You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by ge...@apache.org on 2006/11/29 04:58:56 UTC

svn commit: r480387 - /harmony/enhanced/trunk/build.xml

Author: geirm
Date: Tue Nov 28 19:58:55 2006
New Revision: 480387

URL: http://svn.apache.org/viewvc?view=rev&rev=480387
Log:
and do the switch trick for common_resources

Modified:
    harmony/enhanced/trunk/build.xml

Modified: harmony/enhanced/trunk/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/trunk/build.xml?view=diff&rev=480387&r1=480386&r2=480387
==============================================================================
--- harmony/enhanced/trunk/build.xml (original)
+++ harmony/enhanced/trunk/build.xml Tue Nov 28 19:58:55 2006
@@ -32,6 +32,9 @@
     <!-- SVN URL for jdktools default -->
     <property name="jdktools.svn.url" value="https://svn.apache.org/repos/asf/harmony/enhanced/jdktools/trunk" />
 
+    <!-- SVN URL for common_resources default -->
+    <property name="commonresources.svn.url" value="https://svn.apache.org/repos/asf/harmony/enhanced/common_resources" />
+
     <!-- classlib location to tell DRLVM build -->
     <property name="drlvm.classlib.offset" value="../../../working_classlib"/>
 
@@ -51,6 +54,7 @@
                  switch_svn_vm,
                  switch_svn_classlib,
                  switch_svn_jdktools,
+                 switch_svn_commonresources,
                  build_classlib,
                  build_vm,
                  assemble_artifacts,
@@ -60,7 +64,8 @@
     <!-- =============================================================================== -->
     <!--     populates the source directories, working_classlib and working_vm           -->
     <!-- =============================================================================== -->
-    <target name="populate_source" depends="init, show_props, switch_svn_vm, switch_svn_classlib, switch_svn_jdktools"
+    <target name="populate_source" depends="init, show_props, switch_svn_vm, switch_svn_classlib, 
+        									switch_svn_jdktools, switch_svn_commonresources"
             description="checkout the class library and VM source trees"/>
 
     <!-- ================================================================================ -->
@@ -340,6 +345,17 @@
             <arg line="-r${svn.revision}"/>
             <arg line="switch" />
             <arg line="${jdktools.svn.url}" />
+        </exec>
+    </target>
+
+    <!-- ================================================================================ -->
+    <!--    Switches the common_resources directory to common_resources                   -->
+    <!-- ================================================================================ -->
+    <target name="switch_svn_commonresources" depends="init" if="is.svn">
+        <exec executable="svn" dir="common_resources" failonerror="true">
+            <arg line="-r${svn.revision}"/>
+            <arg line="switch" />
+            <arg line="${commonresources.svn.url}" />
         </exec>
     </target>