Commit 44e108e5 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Added "target=1.5" to ensure that WF works in Java 5 when compiled with Java 6.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@6767 b35dd754-fafc-0310-a699-88a17e54d16e
parent 2e3e35ae
...@@ -256,6 +256,7 @@ ...@@ -256,6 +256,7 @@
includeAntRuntime="no" includeAntRuntime="no"
debug="on" debug="on"
source="1.5" source="1.5"
target="1.5"
> >
<src path="${src.java.dir}"/> <src path="${src.java.dir}"/>
<patternset refid="compile.sources"/> <patternset refid="compile.sources"/>
...@@ -458,6 +459,7 @@ ...@@ -458,6 +459,7 @@
includeAntRuntime="no" includeAntRuntime="no"
debug="on" debug="on"
source="1.5" source="1.5"
target="1.5"
includes="org/jivesoftware/wildfire/admin/**/*.java" includes="org/jivesoftware/wildfire/admin/**/*.java"
> >
<src path="${jspc.java.dest.dir}"/> <src path="${jspc.java.dest.dir}"/>
...@@ -507,6 +509,7 @@ ...@@ -507,6 +509,7 @@
includeAntRuntime="no" includeAntRuntime="no"
debug="on" debug="on"
source="1.5" source="1.5"
target="1.5"
> >
<src path="${src.test.java.dir}"/> <src path="${src.test.java.dir}"/>
<patternset refid="test.sources"/> <patternset refid="test.sources"/>
...@@ -1032,6 +1035,7 @@ ...@@ -1032,6 +1035,7 @@
includeAntRuntime="no" includeAntRuntime="no"
debug="on" debug="on"
source="1.5" source="1.5"
target="1.5"
> >
<src path="@{pluginsrc}/@{plugin}/src/java"/> <src path="@{pluginsrc}/@{plugin}/src/java"/>
<classpath> <classpath>
...@@ -1173,6 +1177,7 @@ ...@@ -1173,6 +1177,7 @@
includeAntRuntime="no" includeAntRuntime="no"
debug="on" debug="on"
source="1.5" source="1.5"
target="1.5"
> >
<src path="${plugin.dev.dest.dir}/@{plugin}/target/jspc/java"/> <src path="${plugin.dev.dest.dir}/@{plugin}/target/jspc/java"/>
<classpath> <classpath>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment