-
set JAVA_HOME to a jdk 1.8
-
execute:
mvn clean package
## Execute in standalone:
-
get apache-batchee-openejb-0.3-incubating-SNAPSHOT.zip
-
unzip it and go in the extracted folder
-
run:
export BATCHEE_OPTS="-Djdbc.LogSql=true -Djdbc=new://Resource?type=DataSource $BATCHEE_OPTS"
export BATCHEE_OPTS="-Djdbc.JdbcUrl=jdbc:hsqldb:file:database -Djdbc=new://Resource?type=DataSource $BATCHEE_OPTS"
./bin/batchee start -lifecycle openejb -archive financial-batch-1.0-SNAPSHOT.war
-name file-to-database
inputURL=http://www.xetra.com/blob/1424940/cdbb8e95489e25f891f537f70375fb04/data/allTradableInstruments.csv
downloadCache=/tmp/cache.csv
Data source: http://www.xetra.com/blob/1424940/cdbb8e95489e25f891f537f70375fb04/data/allTradableInstruments.csv