Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91421779
xml-csv-adapter-mappings-converter
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Nov 10, 23:09
Size
653 B
Mime Type
text/x-shellscript
Expires
Tue, Nov 12, 23:09 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22194368
Attached To
R2664 SHRINE MedCo Fork
xml-csv-adapter-mappings-converter
View Options
#!/bin/bash
CONFIG_HOME
=
`
dirname
$0
`
CONFIG_FILE_DIR
=
${
CONFIG_HOME
}
/conf
mkdir -p
${
CONFIG_FILE_DIR
}
CONFIG_CLASSPATH
=
.:CONFIG_FILE_DIR
LIB_DIR
=
${
CONFIG_HOME
}
/lib
#
#Set up our classpath with our library dependencies...
for
jar in
`
find
${
LIB_DIR
}
/*.jar
`
;
do
CONFIG_CLASSPATH
=
${
jar
}
:
${
CONFIG_CLASSPATH
}
done
#
#Guess JAVA_HOME if it's not set
if
[
${#
JAVA_HOME
}
==
0
]
;
then
JAVA_HOME
=
/usr/local/java
fi
JVM_ARGS
=
"-Xmx256m"
JAVA_COMMAND
=
"java ${JVM_ARGS} -Dlog4j.configuration=${CONFIG_FILE_DIR}/log4j.properties -cp ${CONFIG_CLASSPATH}:${CONFIG_FILE_DIR} net.shrine.utilities.mapping.conversion.XmlToCsvConverter $@"
${
JAVA_COMMAND
}
Event Timeline
Log In to Comment