# set CLASSPATH
CLASSPATH=.:../lib/ojdbc6.jar:/Users/daust/Downloads/KEEP/apex/apex_5.0.3/apex/utilities/:$CLASSPATH
export CLASSPATH

# set variables for database and user
DB=vm1:1521:xe
USER=SYSTEM
PWD=oracle1

# Exportiere Applikation 102
java oracle.apex.APEXExport -db $DB -user $USER -password $PWD -applicationid 102

# split application 102 with directory tree
java oracle.apex.APEXExportSplitter f102.sql

# split application 102 flat
#java oracle.apex.APEXExportSplitter -flat f102.sql

# generate update script
#java oracle.apex.APEXExportSplitter -update f102.sql

