Skip to content

Commit

Permalink
Change hard coded path for java to use the current java home that is …
Browse files Browse the repository at this point in the history
…running ant. As long as java is in the PATH, this should work assuming its a JDK. (#131)
  • Loading branch information
jdonofrio728 authored and chaochenq committed Mar 5, 2018
1 parent 881d0e0 commit 35bacf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<path id="classpath">
<fileset dir="${build.dependencies}" includes="**/*.jar" />
<fileset dir="/usr/share/java" includes="**/*.jar" />
<fileset dir="${java.home}" includes="**/*.jar" />
</path>

<target name="get-java-version">
Expand Down Expand Up @@ -57,4 +57,4 @@

<target name="release" depends="clean, compile, build" />

</project>
</project>

0 comments on commit 35bacf4

Please sign in to comment.