summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHorst Burkhardt <horst@adelielinux.org>2024-12-06 15:00:09 +1100
committerHorst Burkhardt <horst@adelielinux.org>2024-12-06 15:00:09 +1100
commit830775333c5aa95b34e33a444fd9dc8e851cb403 (patch)
treef94e9aedfd26a23225af9268fe74934fd35c0b94
parent1f4e5f95c4561a77b194bf77c6595589d60f4a47 (diff)
downloadpackages-830775333c5aa95b34e33a444fd9dc8e851cb403.tar.gz
packages-830775333c5aa95b34e33a444fd9dc8e851cb403.tar.bz2
packages-830775333c5aa95b34e33a444fd9dc8e851cb403.tar.xz
packages-830775333c5aa95b34e33a444fd9dc8e851cb403.zip
bootstrap/ecj-3.2: actually commit the patch
Signed-off-by: Horst Burkhardt <horst@adelielinux.org>
-rw-r--r--bootstrap/ecj-3.2/build-niceties.patch52
1 files changed, 52 insertions, 0 deletions
diff --git a/bootstrap/ecj-3.2/build-niceties.patch b/bootstrap/ecj-3.2/build-niceties.patch
new file mode 100644
index 000000000..7f146f433
--- /dev/null
+++ b/bootstrap/ecj-3.2/build-niceties.patch
@@ -0,0 +1,52 @@
+diff -Naur eclipse-ecj-3.2.2/compilejdtcorewithjavac.xml eclipse-ecj-3.2.2/compilejdtcorewithjavac.xml
+--- eclipse-ecj-3.2.2/compilejdtcorewithjavac.xml 2006-06-30 01:20:00.000000000 +0200
++++ eclipse-ecj-3.2.2-mod/compilejdtcorewithjavac.xml 2006-07-28 01:35:06.000000000 +0200
+@@ -6,7 +6,6 @@
+ <tstamp/>
+ <property name="srcdir" value="src" />
+ <property name="destdir" value="compiler" />
+- <unzip src="${srcdir}/ecj.zip" dest="${srcdir}"/>
+ </target>
+
+ <target name="compile" depends="init">
+diff -Naur eclipse-ecj-3.2.2/compilejdtcore.xml eclipse-ecj-3.2.2/compilejdtcore.xml
+--- eclipse-ecj-3.2.2/compilejdtcore.xml 2006-06-30 01:20:00.000000000 +0200
++++ eclipse-ecj-3.2.2/compilejdtcore.xml 2006-07-29 03:22:07.000000000 +0200
+@@ -5,7 +5,9 @@
+ <target name="init">
+ <tstamp/>
+ <property name="destdir" value="compiler2" />
+- <property name="srcdir" value="src" />
++ <property name="srcdir" value="src" />
++ <property name="distdir" value="dist" />
++ <property name="javadocdir" value="${distdir}/doc/api" />
+ </target>
+
+ <target name="compile" depends="init">
+@@ -13,6 +15,7 @@
+ <echo message="TARGET: ${destdir}" />
+ <delete dir="${destdir}"/>
+ <mkdir dir="${destdir}"/>
++ <mkdir dir="${distdir}"/>
+
+ <condition property="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter">
+ <available file="ecj.jar" />
+@@ -57,9 +60,17 @@
+ </fileset>
+ </copy>
+
+- <jar jarfile="../ecj.jar">
++ <jar jarfile="${distdir}/ecj.jar">
+ <fileset dir="${destdir}"/>
+ </jar>
+
+ </target>
++
++ <target name="javadoc" depends="init">
++ <mkdir dir="${javadocdir}"/>
++ <javadoc destdir="${javadocdir}">
++ <fileset dir="${srcdir}"/>
++ </javadoc>
++ </target>
++
+ </project>