- fix BR (javaprov not pythonprov)
[packages/eclipse-ecj.git] / eclipse-ecj-gentoo.patch
CommitLineData
987fef41
AM
1diff -Naur eclipse-ecj-3.2/compilejdtcorewithjavac.xml eclipse-ecj-3.2-mod/compilejdtcorewithjavac.xml
2--- eclipse-ecj-3.2/compilejdtcorewithjavac.xml 2006-06-30 01:20:00.000000000 +0200
3+++ eclipse-ecj-3.2-mod/compilejdtcorewithjavac.xml 2006-07-28 01:35:06.000000000 +0200
4@@ -6,7 +6,6 @@
5 <tstamp/>
6 <property name="srcdir" value="src" />
7 <property name="destdir" value="compiler" />
8- <unzip src="${srcdir}/ecj.zip" dest="${srcdir}"/>
9 </target>
10
11 <target name="compile" depends="init">
12diff -Naur eclipse-ecj-3.2/compilejdtcore.xml eclipse-ecj-3.2-mod/compilejdtcore.xml
13--- eclipse-ecj-3.2/compilejdtcore.xml 2006-06-30 01:20:00.000000000 +0200
14+++ eclipse-ecj-3.2-mod/compilejdtcore.xml 2006-07-29 03:22:07.000000000 +0200
15@@ -5,7 +5,9 @@
16 <target name="init">
17 <tstamp/>
18 <property name="destdir" value="compiler2" />
19- <property name="srcdir" value="src" />
20+ <property name="srcdir" value="src" />
21+ <property name="distdir" value="dist" />
22+ <property name="javadocdir" value="${distdir}/doc/api" />
23 </target>
24
25 <target name="compile" depends="init">
26@@ -13,6 +15,7 @@
27 <echo message="TARGET: ${destdir}" />
28 <delete dir="${destdir}"/>
29 <mkdir dir="${destdir}"/>
30+ <mkdir dir="${distdir}"/>
31
32 <condition property="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter">
33 <available file="ecj.jar" />
34@@ -57,9 +60,17 @@
35 </fileset>
36 </copy>
37
38- <jar jarfile="../ecj.jar">
39+ <jar jarfile="${distdir}/ecj.jar">
40 <fileset dir="${destdir}"/>
41 </jar>
42
43 </target>
44+
45+ <target name="javadoc" depends="init">
46+ <mkdir dir="${javadocdir}"/>
47+ <javadoc destdir="${javadocdir}">
48+ <packageset dir="${srcdir}"/>
49+ </javadoc>
50+ </target>
51+
52 </project>
This page took 0.040672 seconds and 4 git commands to generate.