Skip to content

Commit

Permalink
Fixed build for upcoming release
Browse files Browse the repository at this point in the history
  • Loading branch information
RetGal committed Feb 24, 2020
1 parent 9c05b01 commit ee592da
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<property name="dir.binfile" value="."/>
<property name="dir.src" value="${dir.binfile}/src/main/java"/>
<property name="dir.jares" value="${dir.binfile}/src/main/resources"/>
<property name="dir.docs" value="${dir.binfile}/docs"/>
<property name="dir.lib" value="${dir.binfile}/lib"/>
<property name="dir.res" value="${dir.binfile}/resources"/>
<property name="dir.bin" value="${dir.binfile}/bin"/>
Expand Down Expand Up @@ -76,6 +77,7 @@
<exclude name="license/azul_zulu_license.txt"/>
</fileset>
</copy>
<copy file="${dir.docs}/favicon.ico" todir="${dir.dist}"/>
<chmod dir="${dir.dist}/bin" perm="ugo+rx" includes="**/*"/>
<chmod dir="${dir.dist}" perm="ugo+rx" includes="**/*.sh"/>
</target>
Expand All @@ -84,6 +86,7 @@
<copy todir="${dir.dist}">
<fileset dir="${dir.res}"/>
</copy>
<copy file="${dir.docs}/favicon.ico" todir="${dir.dist}"/>
</target>

<target name="sign" description="Signs the distribution project jar">
Expand All @@ -102,6 +105,7 @@
<include name="**/*"/>
<exclude name="**/*.sh"/>
<exclude name="**/bin/*"/>
<exclude name="**/favicon.ico"/>
</tarfileset>
<tarfileset dir="${dir.dist}/tar" filemode="755">
<include name="**/*.sh"/>
Expand Down
16 changes: 16 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,22 @@
</resources>
</configuration>
</execution>
<execution>
<id>copy-docs</id>
<phase>package</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/dist</outputDirectory>
<resources>
<resource>
<directory>${basedir}/docs</directory>
<include>favicon.ico</include>
</resource>
</resources>
</configuration>
</execution>
<execution>
<id>copy-jar</id>
<phase>package</phase>
Expand Down

0 comments on commit ee592da

Please sign in to comment.