summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2010-01-27 01:59:26 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2010-01-27 01:59:26 +0000
commitf8c6a37aa533d6cc5c38291aeb2483feab8e9a8b (patch)
treefcff07f9c16b88c4b5a49b5ed32f855c98c19493
parentaf583534ff6d33b1fa8405c550b9ba25263772c7 (diff)
Updating ant script used to install dojo with missing target: install-dojo-nomaven
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@903526 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sca-java-1.x/branches/sca-java-1.6/samples/helloworld-dojo-webapp/build-dojo.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/sca-java-1.x/branches/sca-java-1.6/samples/helloworld-dojo-webapp/build-dojo.xml b/sca-java-1.x/branches/sca-java-1.6/samples/helloworld-dojo-webapp/build-dojo.xml
index 5a715b1e6b..07cd8a8a63 100644
--- a/sca-java-1.x/branches/sca-java-1.6/samples/helloworld-dojo-webapp/build-dojo.xml
+++ b/sca-java-1.x/branches/sca-java-1.6/samples/helloworld-dojo-webapp/build-dojo.xml
@@ -35,6 +35,16 @@
<available file="${unpack.location}"/>
</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"/>