ports/java/eclipse/files/patch-build.xml
Jimmy Olgeni 2ab9d80d68 Let the port build and install the source code related features and
plugins. This basically means that Javadoc help and editor hover
links will work on Eclipse libraries when developing plugins and
SWT applications.

It requires some zipping and unzipping but at least we get the
correct tree installed (much like the available binaries for other
platforms).

Obtained from:	Jan Schulz (from the eclipse.tools.jdt newsgroup)
2003-07-12 13:04:06 +00:00

51 lines
1.4 KiB
XML

$FreeBSD$
--- build.xml.orig Fri Jun 27 22:00:54 2003
+++ build.xml Fri Jul 11 20:45:22 2003
@@ -181,7 +181,19 @@
<equals arg1="${ws}" arg2="photon" />
</and>
</condition>
-
+ <condition property="launcherBin" value="${install}/plugins/platform-launcher/bin/freebsd/motif">
+ <and>
+ <equals arg1="${os}" arg2="freebsd" />
+ <equals arg1="${ws}" arg2="motif" />
+ </and>
+ </condition>
+ <condition property="launcherBin" value="${install}/plugins/platform-launcher/bin/freebsd/gtk">
+ <and>
+ <equals arg1="${os}" arg2="freebsd" />
+ <equals arg1="${ws}" arg2="gtk" />
+ </and>
+ </condition>
+
<condition property="win">
<and>
<os family="windows" />
@@ -192,6 +204,24 @@
<os family="unix" />
</and>
</condition>
+ </target>
+
+<!-- Gathers all plugins which belong to a feature into a zip, once for
+ the source, once for the bin plugins. Should be called after run -->
+
+ <target name="gatherFeatureSources" depends="init">
+ <antcall target="allElements">
+ <param name="target" value="build.sources" />
+ </antcall>
+ <antcall target="allElements">
+ <param name="target" value="zip.sources" />
+ </antcall>
+ </target>
+
+ <target name="gatherFeatureBinaries" depends="init">
+ <antcall target="allElements">
+ <param name="target" value="zip.distribution" />
+ </antcall>
</target>
</project>