summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2010-01-27 01:55:39 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2010-01-27 01:55:39 +0000
commitaf583534ff6d33b1fa8405c550b9ba25263772c7 (patch)
tree558e9218c03db6bc1dcbd84b7532cc2155399c28
parent2f64bb955d6120255dc0a6580f013c47c8bbf1ae (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@903524 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--sca-java-1.x/branches/sca-java-1.6/demos/bigbank/build-dojo.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/sca-java-1.x/branches/sca-java-1.6/demos/bigbank/build-dojo.xml b/sca-java-1.x/branches/sca-java-1.6/demos/bigbank/build-dojo.xml
index 3a0c0fd87f..97acbfc417 100644
--- a/sca-java-1.x/branches/sca-java-1.6/demos/bigbank/build-dojo.xml
+++ b/sca-java-1.x/branches/sca-java-1.6/demos/bigbank/build-dojo.xml
@@ -36,6 +36,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"/>