summaryrefslogtreecommitdiffstats
path: root/site/tags/site-090106-pre667/build.sh
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-11-21 07:50:17 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-11-21 07:50:17 +0000
commit2ae32b04b9d771118a7cafc1d7edec86fbe9c3c0 (patch)
treef61529f71e1fabbbfd91f3df29e60e5418327db2 /site/tags/site-090106-pre667/build.sh
parentaaf9a30afeb4390cc0bb4fdfca435e5c331e2df6 (diff)
Moving site tags
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@882847 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'site/tags/site-090106-pre667/build.sh')
-rwxr-xr-xsite/tags/site-090106-pre667/build.sh25
1 files changed, 25 insertions, 0 deletions
diff --git a/site/tags/site-090106-pre667/build.sh b/site/tags/site-090106-pre667/build.sh
new file mode 100755
index 0000000000..e1ba62c8f8
--- /dev/null
+++ b/site/tags/site-090106-pre667/build.sh
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+# convert the existing path to unix
+if [ "$OSTYPE" = "cygwin32" ] || [ "$OSTYPE" = "cygwin" ] ; then
+ CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
+fi
+
+# Add in your .jar files first
+for i in ./lib/*.jar
+do
+ CLASSPATH=$CLASSPATH:"$i"
+done
+
+# convert the unix path to windows
+if [ "$OSTYPE" = "cygwin32" ] || [ "$OSTYPE" = "cygwin" ] ; then
+ CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
+fi
+
+BUILDFILE=build.xml
+
+java $ANT_OPTS -classpath "$CLASSPATH" \
+ org.apache.tools.ant.Main \
+ -Dant.home=$ANT_HOME \
+ -buildfile ${BUILDFILE} \
+ "$@"