Skip to content
Permalink
Browse files
ANY23-371 Any23 cannot start in CMD in Windows 10 (#170)
  • Loading branch information
tjroamer committed May 12, 2021
1 parent bfffbcb commit 978d2a058d6b40956b0861c2068293085d23ba4c
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 5 deletions.
@@ -304,6 +304,12 @@
</dependency>
<!-- END: additional dependencies used by RDF4J or Tika -->

<dependency>
<groupId>org.codehaus.mojo.appassembler</groupId>
<artifactId>appassembler-booter</artifactId>
<version>1.10</version>
</dependency>

</dependencies>

<build>
@@ -332,7 +338,8 @@
<execution>
<phase>package</phase>
<goals>
<goal>assemble</goal>
<goal>generate-daemons</goal>
<goal>create-repository</goal>
</goals>
</execution>
</executions>
@@ -61,17 +61,24 @@
| shell scripts
-->
<fileSet>
<directory>${project.build.directory}/appassembler/bin/</directory>
<outputDirectory>/bin</outputDirectory>
<directory>${project.build.directory}/generated-resources/appassembler/booter-unix/bin/</directory>
<outputDirectory>bin</outputDirectory>
<fileMode>0755</fileMode>
<lineEnding>unix</lineEnding>
</fileSet>
<fileSet>
<directory>${project.build.directory}/generated-resources/appassembler/booter-windows/bin/</directory>
<outputDirectory>bin</outputDirectory>
<fileMode>0755</fileMode>
<lineEnding>dos</lineEnding>
</fileSet>

<!--
| core libraries
-->
<fileSet>
<directory>${project.build.directory}/appassembler/lib/</directory>
<outputDirectory>/lib</outputDirectory>
<outputDirectory>lib</outputDirectory>
<excludes>
<exclude>*.xml</exclude>
</excludes>
@@ -80,9 +87,16 @@
<!--
| Configuration and Resources
-->
<fileSet>
<directory>${project.build.directory}/generated-resources/appassembler/booter-unix/etc/</directory>
<outputDirectory>etc</outputDirectory>
<includes>
<include>*.xml</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.build.directory}/appassembler/conf/</directory>
<outputDirectory>/conf</outputDirectory>
<outputDirectory>conf</outputDirectory>
</fileSet>
</fileSets>

10 pom.xml
@@ -686,6 +686,16 @@
<repositoryLayout>flat</repositoryLayout>
<repositoryName>lib</repositoryName>
<extraJvmArguments>-Xms500m -Xmx500m -XX:PermSize=128m -XX:-UseGCOverheadLimit</extraJvmArguments>
<daemons>
<daemon>
<id>any23</id>
<mainClass>org.apache.any23.cli.ToolRunner</mainClass>
<platforms>
<platform>booter-unix</platform>
<platform>booter-windows</platform>
</platforms>
</daemon>
</daemons>
</configuration>
</plugin>

0 comments on commit 978d2a0

Please sign in to comment.