Switch compiler sourte/target to 1.6
This commit is contained in:
parent
3d33801027
commit
3f3ad6192c
@ -6,8 +6,8 @@
|
||||
# Compile classes.
|
||||
-javac -g -d build/classes `find src -name *.java`
|
||||
-javac -g -classpath build/classes:lib/junit.jar -d build/tck/classes \
|
||||
+javac -source 1.5 -target 1.5 -g -d build/classes `find src -name *.java`
|
||||
+javac -source 1.5 -target 1.5 -g -classpath build/classes:lib/junit.jar -d build/tck/classes \
|
||||
+javac -source 1.6 -target 1.6 -g -d build/classes `find src -name *.java`
|
||||
+javac -source 1.6 -target 1.6 -g -classpath build/classes:lib/junit.jar -d build/tck/classes \
|
||||
`find tck -name *.java`
|
||||
|
||||
FOOTER="<font size='-1'>Copyright (C) 2009 <a href='http://code.google.com/p/atinject/'>\
|
@ -18,8 +18,8 @@ Source1: MANIFEST.MF
|
||||
Source2: MANIFEST-TCK.MF
|
||||
Source3: http://www.apache.org/licenses/LICENSE-2.0.txt
|
||||
|
||||
# Compile with source/target 1.5
|
||||
Patch0: %{name}-target-1.5.patch
|
||||
# Compile with source/target 1.6
|
||||
Patch0: %{name}-target-1.6.patch
|
||||
|
||||
BuildRequires: javapackages-local
|
||||
BuildRequires: java-devel
|
||||
|
Loading…
Reference in New Issue
Block a user