summaryrefslogtreecommitdiff
path: root/gentools/build
diff options
context:
space:
mode:
authorKim van der Riet <kpvdr@apache.org>2006-11-22 16:54:30 +0000
committerKim van der Riet <kpvdr@apache.org>2006-11-22 16:54:30 +0000
commit018723f3889e9a1f63585dddba8eecff1d168501 (patch)
treef947fbef936a6fc33e788ab91914ef743a1a1c17 /gentools/build
parentf6b81bf19f1e9c5a6299516f030623bd41a73e56 (diff)
downloadqpid-python-018723f3889e9a1f63585dddba8eecff1d168501.tar.gz
Changes to allow gentools to be used from a makefile
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@478234 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'gentools/build')
-rwxr-xr-xgentools/build15
1 files changed, 15 insertions, 0 deletions
diff --git a/gentools/build b/gentools/build
new file mode 100755
index 0000000000..614f600152
--- /dev/null
+++ b/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 ..