Skip to content
Snippets Groups Projects
Commit b8c2497d authored by Lange, Dr. Herbert's avatar Lange, Dr. Herbert
Browse files

try to name artifact and move jar files into lib dir of the archive

parent 306bac4e
Branches
Tags
No related merge requests found
Pipeline #12216 passed
......@@ -5,10 +5,12 @@ compile_withmaven:
- bash install-corpus-services.sh
- cd ..
- mvn clean test compile assembly:single
- cp target/corpus-service-gui-1.0-SNAPSHOT-bundle.jar lib
artifacts:
expire_in: 10 week
name: "corpus-services-gui"
paths:
- target/corpus-service-gui-1.0-SNAPSHOT-bundle.jar
- lib/corpus-service-gui-1.0-SNAPSHOT-bundle.jar
- run-linux.sh
#!/bin/bash
java -cp corpus-services.jar:target/corpus-service-gui-1.0-SNAPSHOT-bundle.jar de.uni_hamburg.corpora.gui.GUIApp
java -cp corpus-services.jar:lib/corpus-service-gui-1.0-SNAPSHOT-bundle.jar de.uni_hamburg.corpora.gui.GUIApp
......@@ -123,7 +123,7 @@ public class GUI {
JOptionPane.INFORMATION_MESSAGE);
try {
BufferedInputStream in = new BufferedInputStream(new URL(FILE_URL).openStream());
BufferedOutputStream out = new BufferedOutputStream(new FileOutputStream("corpus-services.jar"));
BufferedOutputStream out = new BufferedOutputStream(new FileOutputStream("lib/corpus-services.jar"));
in.transferTo(out);
in.close();
out.close();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment