summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/trunk
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2010-01-27 01:52:33 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2010-01-27 01:52:33 +0000
commit2f64bb955d6120255dc0a6580f013c47c8bbf1ae (patch)
tree74ed7761c785e306a44be8174c29ac27e16d57ed /sca-java-1.x/trunk
parentf84c23247f295979ec8eb10482d929c26053acc8 (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@903522 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/trunk')
-rw-r--r--sca-java-1.x/trunk/demos/bigbank/build-dojo.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/sca-java-1.x/trunk/demos/bigbank/build-dojo.xml b/sca-java-1.x/trunk/demos/bigbank/build-dojo.xml
index 3a0c0fd87f..fb878bb143 100644
--- a/sca-java-1.x/trunk/demos/bigbank/build-dojo.xml
+++ b/sca-java-1.x/trunk/demos/bigbank/build-dojo.xml
@@ -37,6 +37,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/"/>