Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
INB
Text Mining
Generic Tools
nlp-gate-generic-component
Commits
950f69e7
Commit
950f69e7
authored
Mar 09, 2020
by
jcorvi
Browse files
error building docker
parent
6438e8ab
Pipeline
#2676
passed with stage
in 6 minutes and 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
docker-build.sh
View file @
950f69e7
...
...
@@ -30,13 +30,13 @@ fi
mvn clean
install
-DskipTests
#rename jar
mv
target/nlp-generic-
dictionary-annotation
-0.0.1-SNAPSHOT-jar-with-dependencies.jar nlp-generic-
dictionary-annotation
-
${
DICT_TAGGER_VERSION
}
.jar
mv
target/nlp-
gate-
generic-
component
-0.0.1-SNAPSHOT-jar-with-dependencies.jar nlp-
gate-
generic-
component
-
${
DICT_TAGGER_VERSION
}
.jar
cat
>
/usr/local/bin/nlp-generic-
dictionary-annotation
<<
EOF
cat
>
/usr/local/bin/nlp-
gate-
generic-
component
<<
EOF
#!/bin/sh
exec java
\$
JAVA_OPTS -jar "
${
DICT_TAGGER_HOME
}
/nlp-generic-
dictionary-annotation
-
${
DICT_TAGGER_VERSION
}
.jar" -workdir "
${
DICT_TAGGER_HOME
}
" "
\$
@"
exec java
\$
JAVA_OPTS -jar "
${
DICT_TAGGER_HOME
}
/nlp-
gate-
generic-
component
-
${
DICT_TAGGER_VERSION
}
.jar" -workdir "
${
DICT_TAGGER_HOME
}
" "
\$
@"
EOF
chmod
+x /usr/local/bin/nlp-generic-
dictionary-annotation
chmod
+x /usr/local/bin/nlp-
gate-
generic-
component
#delete target
rm
-R
target src pom.xml
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment