summaryrefslogtreecommitdiff
path: root/qpid/cpp/gentools/build
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-03-21 02:08:18 +0000
committerAlan Conway <aconway@apache.org>2007-03-21 02:08:18 +0000
commitd2eb3361494710466280341c98f76c03536d2ebe (patch)
treef16ec2eacd8383e388657e54a22fc0214a0ce023 /qpid/cpp/gentools/build
parent732544fe86089ab86c03fcc48d5ca4c72667c275 (diff)
downloadqpid-python-d2eb3361494710466280341c98f76c03536d2ebe.tar.gz
Renamed cpp-0-9 to cpp
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@520706 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/gentools/build')
-rwxr-xr-xqpid/cpp/gentools/build15
1 files changed, 15 insertions, 0 deletions
diff --git a/qpid/cpp/gentools/build b/qpid/cpp/gentools/build
new file mode 100755
index 0000000000..ad9827b113
--- /dev/null
+++ b/qpid/cpp/gentools/build
@@ -0,0 +1,15 @@
+#!/bin/bash
+cd src
+echo "--------- Building gentools ----------"
+echo "Clearing out old build files..."
+for f in org/apache/qpid/gentools/*.class; do
+ if [ -e $f ]; then
+ rm $f
+ fi
+done
+echo "Compiling..."
+javac org/apache/qpid/gentools/*.java
+echo "Done. Try it out..."
+java org.apache.qpid.gentools.Main
+echo "--------- Building gentools completed ----------"
+cd ..