Commit fd4482e8 authored by jcorvi's avatar jcorvi

Update docker-build.sh

parent 09db99c9
......@@ -34,11 +34,11 @@ cd ..
#rename jar
mv nlp-gate-generic-component/target/nlp-gate-generic-component-0.0.1-SNAPSHOT-jar-with-dependencies.jar nlp-gate-generic-component-${CDISC_ETOX_TAGGER_VERSION}.jar
cat > /usr/local/bin/cdisc-etox-annotation <<EOF
cat > /usr/local/bin/cdisc-etox-annotator <<EOF
#!/bin/sh
exec java \$JAVA_OPTS -jar "${CDISC_ETOX_TAGGER_HOME}/nlp-gate-generic-component-${CDISC_ETOX_TAGGER_VERSION}.jar" -workdir "${CDISC_ETOX_TAGGER_HOME}" -l dictionaries/lists.def -j jape_rules/main.jape "\$@"
EOF
chmod +x /usr/local/bin/cdisc-etox-annotation
chmod +x /usr/local/bin/cdisc-etox-annotator
#delete target, do not delete for now because it has the jape rules inside
#rm -R nlp_generic_annotation
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment