File tree Expand file tree Collapse file tree 2 files changed +10
-27
lines changed
Expand file tree Collapse file tree 2 files changed +10
-27
lines changed Original file line number Diff line number Diff line change 2929 PROPS=without_linux.properties
3030fi
3131
32+ JAR=Extraction-jar-with-dependencies.jar
33+
3234if [ " $1 " == ' fast' ] || [ " $2 " == ' fast' ]
3335then
34- JAR=FastExtraction-jar-with-dependencies.jar
36+ EX_TYPE=org.variantsync.vevos.extraction.FastGroundTruthExtraction
3537elif [ " $1 " == ' full' ] || [ " $2 " == ' full' ]
3638then
37- JAR=FullExtraction-jar-with-dependencies.jar
39+ EX_TYPE=org.variantsync.vevos.extraction.FullGroundTruthExtraction
3840else
3941 echo " You either have to select the 'fast' or the 'full' extraction. See --help for more information"
4042 exit 1
4143fi
4244
43- java -Xmx128g -jar -Dtinylog.configuration=/home/user/tinylog.properties $JAR $PROPS
44- # java -jar -Dtinylog.configuration=/home/user/tinylog.properties $JAR $PROPS
45+ java -Xmx128g -jar -Dtinylog.configuration=/home/user/tinylog.properties $JAR $PROPS $EX_TYPE
46+ # java -jar -Dtinylog.configuration=/home/user/tinylog.properties $JAR $PROPS $EX_TYPE
Original file line number Diff line number Diff line change 1414 <!-- Adjust your java version here -->
1515 <java .version>19</java .version>
1616 <!-- Adjust the path to the class that contains the main-method, that is to be executed, here -->
17- <path .to.fast>${project.groupId} .FastGroundTruthExtraction</path .to.fast>
18- <path .to.full>${project.groupId} .FullGroundTruthExtraction</path .to.full>
17+ <path .to.main>${project.groupId} .GroundTruthExtraction</path .to.main>
1918 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
2019 <maven .compiler.source>${java.version} </maven .compiler.source>
2120 <maven .compiler.target>${java.version} </maven .compiler.target>
4544 <artifactId >maven-assembly-plugin</artifactId >
4645 <executions >
4746 <execution >
48- <id >FastExtraction </id >
47+ <id >Extraction </id >
4948 <phase >package</phase >
5049 <goals >
5150 <goal >single</goal >
5251 </goals >
5352 <configuration >
5453 <archive >
5554 <manifest >
56- <mainClass >${path.to.fast } </mainClass >
55+ <mainClass >${path.to.main } </mainClass >
5756 </manifest >
5857 </archive >
5958 <descriptorRefs >
6059 <descriptorRef >jar-with-dependencies</descriptorRef >
6160 </descriptorRefs >
62- <finalName >FastExtraction</finalName >
63- </configuration >
64- </execution >
65- <execution >
66- <id >FullExtraction</id >
67- <phase >package</phase >
68- <goals >
69- <goal >single</goal >
70- </goals >
71- <configuration >
72- <archive >
73- <manifest >
74- <mainClass >${path.to.full} </mainClass >
75- </manifest >
76- </archive >
77- <descriptorRefs >
78- <descriptorRef >jar-with-dependencies</descriptorRef >
79- </descriptorRefs >
80- <finalName >FullExtraction</finalName >
61+ <finalName >Extraction</finalName >
8162 </configuration >
8263 </execution >
8364 </executions >
You can’t perform that action at this time.
0 commit comments