Permalink
Browse files

Fixed compilation issues with JDK1.6

  • Loading branch information...
1 parent b494991 commit 8d6d21f939911cadfd92383df4457ebcd602b14e @gopaczewski gopaczewski committed Jul 8, 2008
Showing with 1 addition and 12 deletions.
  1. +1 −12 build/buildfiles/compile.xml
@@ -63,19 +63,8 @@ are in <project-home>/src
<!-- Sub-target of compile that compiles all the main files -->
<target name="compile.main" depends="compile.init">
- <!-- figure out if we need a jdk specific src path -->
- <available property="append.jdk.src.path" file="${dir.src}${ant.java.version}"/>
- <condition property="dir.src.jdk" value=":${dir.src}${ant.java.version}">
- <isset property="append.jdk.src.path"/>
- </condition>
- <condition property="dir.src.jdk" value="">
- <not>
- <isset property="append.jdk.src.path"/>
- </not>
- </condition>
-
<!-- Compile from src to build directory -->
- <javac srcdir="${dir.src}${dir.src.jdk}"
+ <javac srcdir="${dir.src.jdk15}"
destdir="${dir.compile}"
deprecation="${build.deprecation}"
encoding="${build.encoding}"

0 comments on commit 8d6d21f

Please sign in to comment.