Skip to content

Commit

Permalink
Replaced source target versions with release.
Browse files Browse the repository at this point in the history
  • Loading branch information
tgvaughan committed Oct 14, 2024
1 parent dbeae8c commit 31b20d4
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
<property name="local-beastfx-source-root" location="../BeastFX"/>

<!-- BEAST 2 currently uses Java 1.8 -->
<property name="sourceVersion" value="1.8"/>
<property name="targetVersion" value="1.8"/>
<property name="releaseVersion" value="17"/>

<!-- Directories necessary for all BEAST 2 packages -->
<property name="examples" location="examples"/>
Expand Down Expand Up @@ -97,8 +96,7 @@
<javac
srcdir="${beast-source-root}/src"
destdir="${build-beast}"
source="${sourceVersion}"
target="${targetVersion}"
release="${releaseVersion}"
includeantruntime="false"
encoding="UTF-8"
fork="yes">
Expand Down Expand Up @@ -144,8 +142,7 @@
<javac
srcdir="${beastfx-source-root}/src"
destdir="${build-beastfx}"
source="${sourceVersion}"
target="${targetVersion}"
release="${releaseVersion}"
includeantruntime="false"
encoding="UTF-8"
fork="yes">
Expand All @@ -162,8 +159,7 @@
<!-- Compile -->
<target name="compile" depends="build-beast,build-beastfx">
<javac srcdir="${src}" destdir="${build}"
source="${sourceVersion}"
target="${targetVersion}"
release="${releaseVersion}"
includeantruntime="false"
encoding="UTF-8"
fork="yes">
Expand Down Expand Up @@ -201,8 +197,7 @@
<!-- Compile unit tests -->
<target name="compile-test" depends="init-test,compile,copy-resources">
<javac srcdir="${test}" destdir="${build-test}" includeantruntime="false"
source="${sourceVersion}"
target="${targetVersion}"
release="${releaseVersion}"
fork="yes">
<classpath>
<pathelement path="${classpath}"/>
Expand Down

0 comments on commit 31b20d4

Please sign in to comment.