summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Traut <manut@vogone.traut>2009-12-26 12:54:57 +0100
committerManuel Traut <manut@vogone.traut>2009-12-26 12:54:57 +0100
commit32494fc2b4d46d79e17c8ae32c42350e19edcc37 (patch)
tree0aee3293b4d2bf36e74fb45bb4145add61f5f660
parent6c31e34c238aaafd1d13ffae8f36f1b4eab08f06 (diff)
build: split java and python build
- split build scripts into java and python part - enables building only python or java stuff Signed-off-by: Manuel Traut <manut@mecka.net>
-rwxr-xr-xbuild-java.sh1
-rwxr-xr-xbuild-python.sh4
-rwxr-xr-xbuild.sh7
3 files changed, 7 insertions, 5 deletions
diff --git a/build-java.sh b/build-java.sh
new file mode 100755
index 0000000..22a7030
--- /dev/null
+++ b/build-java.sh
@@ -0,0 +1 @@
+CLASSPATH=./lib/log4j-1.2.15.jar:./lib/commons-net-1.4.1.jar:./lib/postgresql-8.1-404.jdbc3.jar:./lib/yajil-0.3.3.jar:/usr/share/java/swt.jar ant $@
diff --git a/build-python.sh b/build-python.sh
new file mode 100755
index 0000000..1fafda3
--- /dev/null
+++ b/build-python.sh
@@ -0,0 +1,4 @@
+# python stuff
+cd src/YalpClients/EflClient
+edje_cc yalp_gui.edc
+omniidl -bpython ../../yalp.idl
diff --git a/build.sh b/build.sh
index 76f0034..7ee46e6 100755
--- a/build.sh
+++ b/build.sh
@@ -1,7 +1,4 @@
# python stuff
-cd src/YalpClients/EflClient
-edje_cc yalp_gui.edc
-omniidl -bpython ../../yalp.idl
-cd ../../..
+./build-python.sh
# java stuff
-CLASSPATH=./lib/log4j-1.2.15.jar:./lib/commons-net-1.4.1.jar:./lib/postgresql-8.1-404.jdbc3.jar:./lib/yajil-0.3.3.jar:/usr/share/java/swt.jar ant $@
+./build-java.sh