Skip to content

Commit 8fbd7f0

Browse files
committed
Merge pull request akara#53 from jvirkki/jdk7-compilation
Allow using JDK 1.7 to compile faban.
2 parents 96ed326 + 6cab806 commit 8fbd7f0

File tree

28 files changed

+34
-34
lines changed

28 files changed

+34
-34
lines changed

common/build-defaults.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ compiler.debug=on
22
compiler.generate.no.warnings=off
33
compiler.args=-Xlint
44
compiler.max.memory=128m
5-
compiler.target.version=1.5
5+
compiler.source.version=1.5
66
junit.jar=/opt/netbeans-6.5/platform9/modules/ext/junit-4.5.jar

common/build.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
<mkdir dir="${compile.output}"/>
5858
<javac destdir="${compile.output}" debug="${compiler.debug}"
5959
nowarn="${compiler.generate.no.warnings}"
60-
target="${compiler.target.version}" includeantruntime="false"
60+
source="${compiler.source.version}" includeantruntime="false"
6161
memoryMaximumSize="${compiler.max.memory}" fork="true">
6262
<compilerarg line="${compiler.args}"/>
6363
<src refid="source.path"/>
@@ -69,7 +69,7 @@
6969
<mkdir dir="${compile.test.output}"/>
7070
<javac destdir="${compile.test.output}" debug="${compiler.debug}"
7171
nowarn="${compiler.generate.no.warnings}"
72-
target="${compiler.target.version}" includeantruntime="false"
72+
source="${compiler.source.version}" includeantruntime="false"
7373
memoryMaximumSize="${compiler.max.memory}" fork="true">
7474
<compilerarg line="${compiler.args}"/>
7575
<classpath refid="test.class.path"/>
@@ -143,7 +143,7 @@
143143
<target name="rmic" depends="compile"
144144
description="Create rmi stubs and skeletons">
145145
<rmic base="${compile.output}"
146-
stubversion="${compiler.target.version}"
146+
stubversion="1.2"
147147
includes="**/*Impl.class"
148148
excludes="**/*$*.class"/>
149149
</target>

driver/build-defaults.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ compiler.debug=on
22
compiler.generate.no.warnings=off
33
compiler.args=
44
compiler.max.memory=128m
5-
compiler.target.version=1.5
5+
compiler.source.version=1.5
66
junit.jar=/opt/netbeans-6.5/platform9/modules/ext/junit-4.5.jar

driver/build.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
<mkdir dir="${compile.output}"/>
7373
<javac destdir="${compile.output}" debug="${compiler.debug}"
7474
nowarn="${compiler.generate.no.warnings}"
75-
target="${compiler.target.version}" includeantruntime="false"
75+
source="${compiler.source.version}" includeantruntime="false"
7676
memoryMaximumSize="${compiler.max.memory}" fork="true">
7777
<compilerarg line="${compiler.args}"/>
7878
<classpath refid="class.path"/>
@@ -86,7 +86,7 @@
8686
<mkdir dir="${compile.test.output}"/>
8787
<javac destdir="${compile.test.output}" debug="${compiler.debug}"
8888
nowarn="${compiler.generate.no.warnings}"
89-
target="${compiler.target.version}" includeantruntime="false"
89+
source="${compiler.source.version}" includeantruntime="false"
9090
memoryMaximumSize="${compiler.max.memory}" fork="true">
9191
<compilerarg line="${compiler.args}"/>
9292
<classpath refid="test.class.path"/>
@@ -162,7 +162,7 @@
162162
<target name="rmic" depends="compile"
163163
description="Create rmi stubs and skeletons">
164164
<rmic base="${compile.output}"
165-
stubversion="${compiler.target.version}"
165+
stubversion="1.2"
166166
includes="**/engine/*Impl.class"/>
167167
</target>
168168

harness/build-defaults.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ compiler.debug=on
22
compiler.generate.no.warnings=off
33
compiler.args=
44
compiler.max.memory=128m
5-
compiler.target.version=1.5
5+
compiler.source.version=1.5
66
junit.jar=/opt/netbeans-6.5/platform9/modules/ext/junit-4.5.jar

harness/build.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
<mkdir dir="${compile.output}"/>
7777
<javac destdir="${compile.output}" debug="${compiler.debug}"
7878
nowarn="${compiler.generate.no.warnings}"
79-
target="${compiler.target.version}" includeantruntime="false"
79+
source="${compiler.source.version}" includeantruntime="false"
8080
memoryMaximumSize="${compiler.max.memory}" fork="true">
8181
<compilerarg line="${compiler.args}"/>
8282
<classpath refid="class.path"/>
@@ -89,7 +89,7 @@
8989
<mkdir dir="${compile.test.output}"/>
9090
<javac destdir="${compile.test.output}" debug="${compiler.debug}"
9191
nowarn="${compiler.generate.no.warnings}"
92-
target="${compiler.target.version}" includeantruntime="false"
92+
source="${compiler.source.version}" includeantruntime="false"
9393
memoryMaximumSize="${compiler.max.memory}" fork="true">
9494
<compilerarg line="${compiler.args}"/>
9595
<classpath refid="test.class.path"/>
@@ -167,7 +167,7 @@
167167
<target name="rmic" depends="compile"
168168
description="Create rmi stubs and skeletons">
169169
<rmic base="${compile.output}"
170-
stubversion="${compiler.target.version}"
170+
stubversion="1.2"
171171
includes="**/*Impl.class"
172172
excludes="**/*$*.class">
173173
<classpath refid="class.path"/>

samples/benchmarks/fabanload/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ faban.url=http://brazilian:9980/
44
deploy.user=deployer
55
deploy.password=adminadmin
66
deploy.clearconfig=false
7-
compiler.target.version=1.5
7+
compiler.source.version=1.5

samples/benchmarks/fabanload/build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
<target name="compile" depends="init" description="Compiling all source files">
3333
<javac srcdir="${src.dir}" includeantruntime="false"
34-
deprecation="on" target="${compiler.target.version}"
34+
deprecation="on" target="${compiler.source.version}"
3535
destdir="${classes.dir}" debug="on">
3636
<include name="**/*.java" />
3737
<classpath refid="classpath"/>

samples/benchmarks/ftp101/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ faban.url=http://brazilian.sfbay:9980/
44
deploy.user=deployer
55
deploy.password=adminadmin
66
deploy.clearconfig=false
7-
compiler.target.version=1.5
7+
compiler.source.version=1.5

samples/benchmarks/ftp101/build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
<target name="compile" depends="init" description="Compiling all source files">
3333
<javac srcdir="${src.dir}" includeantruntime="false"
34-
deprecation="on" target="${compiler.target.version}"
34+
deprecation="on" target="${compiler.source.version}"
3535
destdir="${classes.dir}" debug="on">
3636
<include name="**/*.java" />
3737
<classpath refid="classpath"/>

samples/benchmarks/hadoopgridmix/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ faban.url=http://brazilian:9980
44
deploy.user=deployer
55
deploy.password=adminadmin
66
deploy.clearconfig=true
7-
compiler.target.version=1.5
7+
compiler.source.version=1.5

samples/benchmarks/hadoopgridmix/build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@
195195

196196
<target name="compile" depends="init,GridMix" description="Compiling all source files">
197197
<javac srcdir="${src.dir}"
198-
deprecation="on" target="${compiler.target.version}"
198+
deprecation="on" target="${compiler.source.version}"
199199
destdir="${classes.dir}" debug="on">
200200
<include name="com/sun/hadoop/harness/GridMix.java" />
201201
<classpath refid="classpath"/>

samples/benchmarks/specweb2005/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ faban.url=http://brazilian.sfbay:9980/
44
deploy.user=deployer
55
deploy.password=adminadmin
66
deploy.clearconfig=false
7-
compiler.target.version=1.5
7+
compiler.source.version=1.5

samples/benchmarks/specweb2005/build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
<target name="compile" depends="init" description="Compiling all source files">
3333
<javac srcdir="${src.dir}" includeantruntime="false"
34-
deprecation="on" target="${compiler.target.version}"
34+
deprecation="on" target="${compiler.source.version}"
3535
destdir="${classes.dir}" debug="on">
3636
<include name="**/*.java" />
3737
<classpath refid="classpath"/>

samples/benchmarks/web101/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ faban.url=http://brazilian:9980/
44
deploy.user=deployer
55
deploy.password=adminadmin
66
deploy.clearconfig=true
7-
compiler.target.version=1.5
7+
compiler.source.version=1.5

samples/benchmarks/web101/build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
<target name="compile" depends="init" description="Compiling all source files">
3333
<javac srcdir="${src.dir}" includeantruntime="false"
34-
deprecation="on" target="${compiler.target.version}"
34+
deprecation="on" source="${compiler.source.version}"
3535
destdir="${classes.dir}" debug="on">
3636
<include name="**/*.java" />
3737
<classpath refid="classpath"/>

samples/services/ApacheHttpdService/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ faban.url=http://localhost:9980/
44
deploy.user=deployer
55
deploy.password=adminadmin
66
deploy.clearconfig=true
7-
compiler.target.version=1.5
7+
compiler.source.version=1.5

samples/services/ApacheHttpdService/build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
<target name="compile" depends="init" description="Compiling all source files">
3434
<javac srcdir="${src.dir}" includeantruntime="false"
35-
deprecation="on" target="${compiler.target.version}"
35+
deprecation="on" source="${compiler.source.version}"
3636
destdir="${classes.dir}" debug="on">
3737
<include name="**/*.java" />
3838
<classpath refid="classpath"/>

samples/services/GlassfishService/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ faban.url=http://localhost:9980/
44
deploy.user=deployer
55
deploy.password=adminadmin
66
deploy.clearconfig=true
7-
compiler.target.version=1.5
7+
compiler.source.version=1.5

samples/services/GlassfishService/build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
<target name="compile" depends="init" description="Compiling all source files">
3434
<javac srcdir="${src.dir}" includeantruntime="false"
35-
deprecation="on" target="${compiler.target.version}"
35+
deprecation="on" source="${compiler.source.version}"
3636
destdir="${classes.dir}" debug="on">
3737
<include name="**/*.java" />
3838
<classpath refid="classpath"/>

samples/services/LighttpdService/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ faban.url=http://localhost:9980/
44
deploy.user=deployer
55
deploy.password=adminadmin
66
deploy.clearconfig=true
7-
compiler.target.version=1.5
7+
compiler.source.version=1.5

samples/services/LighttpdService/build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
<target name="compile" depends="init" description="Compiling all source files">
3434
<javac srcdir="${src.dir}" includeantruntime="false"
35-
deprecation="on" target="${compiler.target.version}"
35+
deprecation="on" source="${compiler.source.version}"
3636
destdir="${classes.dir}" debug="on">
3737
<include name="**/*.java" />
3838
<classpath refid="classpath"/>

samples/services/MemcachedService/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ faban.url=http://localhost:9980/
44
deploy.user=deployer
55
deploy.password=adminadmin
66
deploy.clearconfig=true
7-
compiler.target.version=1.5
7+
compiler.source.version=1.5

samples/services/MemcachedService/build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
<target name="compile" depends="init" description="Compiling all source files">
3434
<javac srcdir="${src.dir}" includeantruntime="false"
35-
deprecation="on" target="${compiler.target.version}"
35+
deprecation="on" source="${compiler.source.version}"
3636
destdir="${classes.dir}" debug="on">
3737
<include name="**/*.java" />
3838
<classpath refid="classpath"/>

samples/services/MysqlService/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ faban.url=http://localhost:9980/
44
deploy.user=deployer
55
deploy.password=adminadmin
66
deploy.clearconfig=true
7-
compiler.target.version=1.5
7+
compiler.source.version=1.5

samples/services/MysqlService/build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
<target name="compile" depends="init" description="Compiling all source files">
3434
<javac srcdir="${src.dir}" includeantruntime="false"
35-
deprecation="on" target="${compiler.target.version}"
35+
deprecation="on" source="${compiler.source.version}"
3636
destdir="${classes.dir}" debug="on">
3737
<include name="**/*.java" />
3838
<classpath refid="classpath"/>

samples/services/OracleService/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ faban.url=http://localhost:9980/
44
deploy.user=deployer
55
deploy.password=adminadmin
66
deploy.clearconfig=true
7-
compiler.target.version=1.5
7+
compiler.source.version=1.5

samples/services/OracleService/build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
<target name="compile" depends="init" description="Compiling all source files">
3434
<javac srcdir="${src.dir}" includeantruntime="false"
35-
deprecation="on" target="${compiler.target.version}"
35+
deprecation="on" source="${compiler.source.version}"
3636
destdir="${classes.dir}" debug="on">
3737
<include name="**/*.java" />
3838
<classpath refid="classpath"/>

0 commit comments

Comments
 (0)