You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by lr...@apache.org on 2010/01/27 03:01:04 UTC

svn commit: r903527 - /tuscany/sca-java-1.x/trunk/samples/helloworld-dojo-webapp/build-dojo.xml

Author: lresende
Date: Wed Jan 27 02:01:03 2010
New Revision: 903527

URL: http://svn.apache.org/viewvc?rev=903527&view=rev
Log:
Updating ant script used to install dojo with missing target: install-dojo-nomaven

Modified:
    tuscany/sca-java-1.x/trunk/samples/helloworld-dojo-webapp/build-dojo.xml

Modified: tuscany/sca-java-1.x/trunk/samples/helloworld-dojo-webapp/build-dojo.xml
URL: http://svn.apache.org/viewvc/tuscany/sca-java-1.x/trunk/samples/helloworld-dojo-webapp/build-dojo.xml?rev=903527&r1=903526&r2=903527&view=diff
==============================================================================
--- tuscany/sca-java-1.x/trunk/samples/helloworld-dojo-webapp/build-dojo.xml (original)
+++ tuscany/sca-java-1.x/trunk/samples/helloworld-dojo-webapp/build-dojo.xml Wed Jan 27 02:01:03 2010
@@ -36,6 +36,16 @@
         </condition>
     </target>
 
+    <target name="install-dojo-nomaven" depends="check-dojo-installed" unless="already.installed">
+        <mkdir dir="${basedir}/target/dojo-download/"/>
+        <get src="http://download.dojotoolkit.org/release-${dojo.version}/dojo-release-${dojo.version}.zip"
+            dest="${basedir}/target/dojo-download/dojo-release-${dojo.version}.zip"
+            verbose="true"
+            usetimestamp="true"/>
+        <copy file="${basedir}/target/dojo-download/dojo-release-${dojo.version}.zip" 
+              tofile="${localRepository}/dojo/dojo/${dojo.version}/dojo-${dojo.version}.zip"/>
+    </target> 
+    
     <target name="unpack-dojo-files" depends="check-dojo-installed, check-dojo-unpacked" unless="already.unpacked">
         <fail message="dojo zip file not installed in local repository: ${localRepository}" unless="already.installed"/>
         <mkdir dir="${basedir}/target/dojo-unpack-temp/"/>