-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathcompile.sh
More file actions
executable file
·19 lines (17 loc) · 903 Bytes
/
compile.sh
File metadata and controls
executable file
·19 lines (17 loc) · 903 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
set -e
echo "Manifest-Version: 1.0" > manifest.txt
echo "Main-Class: ExternalData" >> manifest.txt
echo "Specification-Title: \"Outsourcer\"" >> manifest.txt
echo "Specification-Version: \"1.0\"" >> manifest.txt
echo "Created-By: 1.6.0_65-b14-462-11M4609" >> manifest.txt
d=`date`
echo "Build-Date: $d" >> manifest.txt
#javac -cp .:jar/gpdb.jar *.java
javac -Xbootclasspath:/usr/java/jdk1.6.0_45/jre/lib/rt.jar -source 1.6 -target 1.6 -cp .:jar/gpdb.jar *.java
jar cfm jar/Outsourcer.jar manifest.txt Logger.class CommonDB.class Oracle.class SQLServer.class ExternalData.class CustomSQL.class GP.class ExternalDataD.class ExternalDataThread.class OSProperties.class GpfdistRunner.class
jar cfm jar/OutsourcerUI.jar manifest.txt *Model.class *View.class *Control.class UI*.class ServerRunnerUI.class
jar cfm jar/OutsourcerScheduler.jar manifest.txt AgentD.class
stop_all
sleep 1
start_all