summary refs log tree commit diff
path: root/pkgs/development/tools/build-managers/apache-ant/use-gcj.patch
blob: db82d3ba689e43f86ef5fa999442fd9b0385d442 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Setting `java.compiler' or `build.compiler' in `build.properties' isn't enough.

--- apache-ant-1.7.1/build.xml	2008-06-27 07:05:23.000000000 +0200
+++ apache-ant-1.7.1/build.xml	2009-09-24 15:10:53.000000000 +0200
@@ -578,12 +578,7 @@
       classname="com.jcraft.jsch.Session"
       classpathref="classpath"/>
 
-    <condition property="build.compiler" value="classic">
-      <not>
-        <isset property="jdk1.3+"/>
-      </not>
-    </condition>
-    <property name="build.compiler" value="modern"/>
+    <property name="build.compiler" value="gcj"/>
 
     <!--check for XSD support in the parser-->
     <condition property="xmlschema.present">