summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2018-01-23 11:03:11 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2018-01-23 11:03:11 +0100
commit0fdf4b62a848933cdacb5b502bbd03c0d8354b36 (patch)
treea0185c6a2084c6f552f9a2a2cab2002d0fb4e3bc /dev-java/netbeans-java
parentnetbeans: bumped to the latest nightly sources (diff)
downloadfordfrog-0fdf4b62a848933cdacb5b502bbd03c0d8354b36.tar.gz
fordfrog-0fdf4b62a848933cdacb5b502bbd03c0d8354b36.tar.bz2
fordfrog-0fdf4b62a848933cdacb5b502bbd03c0d8354b36.zip
netbeans: bumped to the latest nightly sources
Package-Manager: Portage-2.3.20, Repoman-2.3.6 RepoMan-Options: --force
Diffstat (limited to 'dev-java/netbeans-java')
-rw-r--r--dev-java/netbeans-java/Manifest2
-rw-r--r--dev-java/netbeans-java/netbeans-java-9999_p20180123.ebuild268
2 files changed, 270 insertions, 0 deletions
diff --git a/dev-java/netbeans-java/Manifest b/dev-java/netbeans-java/Manifest
index aef87515e..0bb345884 100644
--- a/dev-java/netbeans-java/Manifest
+++ b/dev-java/netbeans-java/Manifest
@@ -35,6 +35,7 @@ DIST netbeans-trunk-nightly-201801150002-src.zip 221062529 BLAKE2B 4699d843d5a3d
DIST netbeans-trunk-nightly-201801160002-src.zip 221062529 BLAKE2B 8599ab31eff27f167f88e0416c1202eb96661d03aa4f63b4d7223c45207eb37860cc2ccb3ec380b1c2341b88a706811ae3e39add2ded73f79c9a41bd41e03baf SHA512 0daf8c86cfad80db85b0ac5291d15168004b92df6fda301fd718e2e2dedf3b73c7220dabd4a4a29c71c8eceddb688aba26e5216ce701c13efca943522b5a93e9
DIST netbeans-trunk-nightly-201801170002-src.zip 221062529 BLAKE2B 28348812a990b9f36715084cb5e200d42212556d01331f0732a4fa307f028844e46b5186900de5f3575249aaa57ef7b08236fc0179597ab73be931617617dab5 SHA512 7eec3ebf9135644ba6d7975f4560bef97e1dac7e05335a77639599cd8076753eae850e8838a8e9154eff6ac728cee4c572867ab27f618a37aa28c7177be035b5
DIST netbeans-trunk-nightly-201801220002-src.zip 221062529 BLAKE2B 911bea5093e0f4919664c97ae18399c47593dc46fb42e94389181d6739052721fab9378c5892b3f5533673eaa1e9ff02696f1550395670d13dfcd3c9a47d8b72 SHA512 0fdf3ed8b07c4073e4469ab9fbe898f1e59a493869dbfa6f5e34b3df38c241fe62932b4950552ac6464d65ed80fe9350e816f9214f325dd1634c73c199a7aeda
+DIST netbeans-trunk-nightly-201801230002-src.zip 221062529 BLAKE2B ef4529b6393ada651cbecfbf3c23f1a90a04d421b79aa4b8057a2103c8a563ebc4b81f7601438f36d11a7d7ac6b714cc81a89255ff41784569536ef926c00bae SHA512 80d284dffd195741b148482f11f17748e392f3a1b26d8598f96964dad6ce5b3e39dee215c4680496cf4c856776df4b5a449e02e42e8972d1b19700733a3cd904
EBUILD netbeans-java-9999_p20180102.ebuild 15702 BLAKE2B e2186391562c3269ce1678912ed40bef441fe5ae0f0b070690a70f8d3ebbdffe4648aeafcd3f6bccf11b26b0fead94a47e1357339710ca4d0f13a3792303a44c SHA512 ba84888cda741c4dc81327ea9f30536d2a466508defbdda4898561686f8c43b03ee0a4c6e28c5357b6ca25a35614307a5b48fcf840547d68137090ee53cbf6ff
EBUILD netbeans-java-9999_p20180104.ebuild 15702 BLAKE2B c1e6e92eb5ca0fd982bda0213e2cd6613b49bd3121f0db13ed3fd9f391f1ea28f8e22f04f9d1f62fe4139116fffa3fc081b6551e9b0d1dcc68f54710191d0688 SHA512 c85108379e6979409360dfe98481f0d0f2fd483e253c60417a19e0a3743d1f3a2ab1c1eef53ae33b21e040ce2136fb466a0b4e99e81641804e90c209e24c921f
EBUILD netbeans-java-9999_p20180105.ebuild 15702 BLAKE2B 2419da6d286074819895cdcdf025a86d0f259c645841c7ff013ebe2a732ad9ac05c3d052929c83e048e0f9a98278cbb0342add88dabb5d5f0fcb95b275375b32 SHA512 c3784af5e0cc1404f97a73031c25c2b8df47ccd7d4e1b3ea42bcf00e4d55bb98f07766ade534ab99b28c999c468b8bfacf9ae3f3154b0e248b280afeb2ca1150
@@ -46,4 +47,5 @@ EBUILD netbeans-java-9999_p20180115.ebuild 15702 BLAKE2B c3427d1be05b034ceeb9a32
EBUILD netbeans-java-9999_p20180116.ebuild 15702 BLAKE2B 59b0406e2c0af356dbc522a7383cdb4ad164f32ee0a69f8155f7d9fa4869e7a77c894e92c77ccfddfec411bbc7a4edfa433809b15145a9ed39367632773682e0 SHA512 88a054ddd1c381fb67f72827aba8fce4ec58190e5c53a4be8ec3041cbcaa9e4aa0f682ae7e030bf047a22f99ec1e1d70f897ed3d4ef39787cb71734622457363
EBUILD netbeans-java-9999_p20180117.ebuild 15702 BLAKE2B e496c9415492398d9fa6adbd6f2022393923de3764c1f8fe2e3cccfb7a7a3c3a0fdc3d17cb71af9c694c19944c8fa62fd6dcc0b44d51b0b5c059313698661ac5 SHA512 f7f287701d40406b2491c6d4936988a6941407d3b3dc0243b8e14f5436bf2cc063cc59174c7ebe74138dbeea02ff09e90a3904a9e6635f5ce4e9ee893aa88d43
EBUILD netbeans-java-9999_p20180122.ebuild 15702 BLAKE2B 629ac211626e6065e1d4f621b50c2175280a0068a83890659e9b6a386b4a7d58f4b13760385e29704941939b74b9f5d28e19d483b97971f1f063c73685088e89 SHA512 6bb26292ee60ebb40b947f87963d826a00b4d10b3823af5a98984198fe82efe92a826329e5b31b22dfc1b195d31e9149a56dcf2b7a4520276d959f3107afec20
+EBUILD netbeans-java-9999_p20180123.ebuild 15702 BLAKE2B 2f3245b860283cb8477d8f419880af68c68200c45065dea18324d78efdc506e734bb3cb33b2dc711e74db6735a08b8af92bad8427e3bf9078450cca5e6bccbad SHA512 5119e48543365ffbeefb07cae4ae891edc08a331dd55edf3c7bbda4dc68d0b870b4646556e78094de538dad8682e59a737c272b8f95f5090267ec89d0c885529
MISC metadata.xml 247 BLAKE2B fbff0596069b3cf260a3fd1bba160220927b592dfab36a26e86a4b331ec7060e399121c2467e490aaf535755483bfbd631278d07f91e4fbc3dd03d65677c7786 SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf
diff --git a/dev-java/netbeans-java/netbeans-java-9999_p20180123.ebuild b/dev-java/netbeans-java/netbeans-java-9999_p20180123.ebuild
new file mode 100644
index 000000000..54b6bcf95
--- /dev/null
+++ b/dev-java/netbeans-java/netbeans-java-9999_p20180123.ebuild
@@ -0,0 +1,268 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+inherit eutils java-pkg-2 java-ant-2
+
+# Maven cannot be unbundled because it depends on exact maven version and exact content of maven directory
+
+DESCRIPTION="Netbeans Java Cluster"
+HOMEPAGE="https://netbeans.org/projects/java"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-01-23_00-02-15/zip/netbeans-trunk-nightly-201801230002-src.zip"
+# jarjar-1.4 contains also asm libraries
+SRC_URI="${SOURCE_URL}
+ https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2
+ https://hg.netbeans.org/binaries/E48292EAE5E14EC44978AA53DEBB1AF7DDD6DF93-aether-api-1.13.1.jar
+ https://hg.netbeans.org/binaries/2DDF9BB8C3B41BC2891832A6D6FC25F8BF41D77F-apache-maven-3.3.9-bin.zip
+ https://hg.netbeans.org/binaries/F7BD95641780C2AAE8CB9BED1686441A1CE5E749-beansbinding-1.2.1-doc.zip
+ https://hg.netbeans.org/binaries/CD2211635F3011E300CA8FEDC1CE0E1CF61C175B-eclipselink.jar
+ https://hg.netbeans.org/binaries/A9A0648BD7D9FD2CDFBD22C25366E71DA72438DA-hibernate-release-4.3.1-lib.zip
+ https://hg.netbeans.org/binaries/627EC612B8D50EE42C2D0F13DF5476E26D696634-indexer-core-6.0-SNAPSHOT-patched.jar
+ https://hg.netbeans.org/binaries/D87F53C99E4CD88F5416EDD5ABB77F2A1CCFB050-jarjar-1.4.jar
+ https://hg.netbeans.org/binaries/479C1E06DB31C432330183F5CAE684163F186146-javax.annotation-api-1.2.jar
+ https://hg.netbeans.org/binaries/5BAB675816DBE0F64BB86004B108BF2A00292358-javax.persistence_2.1.0.v201304241213.jar
+ https://hg.netbeans.org/binaries/84E2020E5499015E9F40D1212C86918264B89EB1-jaxws-2.2.6.zip
+ https://hg.netbeans.org/binaries/D64C40E770C95C2A6994081C00CCD489C0AA20C9-jaxws-2.2.6-api.zip
+ https://hg.netbeans.org/binaries/8ECD169E9E308C258287E4F28B03B6D6F1E55F47-jaxws-api-doc.zip
+ https://hg.netbeans.org/binaries/A8BD39C5B88571B4D4697E78DD1A56566E44B1DD-JPAjavadocs04032013.zip
+ https://hg.netbeans.org/binaries/1CA9DE21C6E443E814CB56912BEE872EF7094C49-jshell.jar
+ https://hg.netbeans.org/binaries/CF734AB72813AF33DC1544CE61ABC5C17B9D35E9-lucene-analyzers-common-5.5.3.jar
+ https://hg.netbeans.org/binaries/20540C6347259F35A0D264605B22CE2A13917066-lucene-core-5.5.3.jar
+ https://hg.netbeans.org/binaries/D276E74D57C64ED5F9A09A48DA05B75555E8709A-lucene-highlighter-5.5.3.jar
+ https://hg.netbeans.org/binaries/E2452203D2C44CAC5AC42B34E5DCC0A44BF29A53-lucene-queryparser-5.5.3.jar
+ https://hg.netbeans.org/binaries/BF206C4AA93C74A739FBAF1F1C78E3AD5F167245-maven-dependency-tree-2.0.jar
+ https://hg.netbeans.org/binaries/C6E5101D6A096D90AD8CF9E0F21C30F1D6DA74D4-nb-javac-api.jar
+ https://hg.netbeans.org/binaries/BB17923713699B721CDB3BDBBAE863D8C8B291E3-nb-javac-impl.jar
+ https://hg.netbeans.org/binaries/29AF1D338CBB76290D1A96F5A6610F1E8C319AE5-org.eclipse.persistence.jpa.jpql_2.5.2.v20140319-9ad6abd.jar
+ https://hg.netbeans.org/binaries/3CE04BDB48FE315736B1DCE407362C57DFAE286D-org.eclipse.persistence.jpa.modelgen_2.5.2.v20140319-9ad6abd.jar
+ https://hg.netbeans.org/binaries/7666B94C1004AFFFE88E5328BD70EBA6F60125F4-spring-framework-3.2.7.RELEASE.zip
+ https://hg.netbeans.org/binaries/91B55CDAC59BC4DDDF0AF9A54EAAE4304EDEF266-spring-framework-4.0.1.RELEASE.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="virtual/jdk:1.8
+ ~dev-java/netbeans-platform-${PV}
+ ~dev-java/netbeans-extide-${PV}
+ ~dev-java/netbeans-harness-${PV}
+ ~dev-java/netbeans-ide-${PV}
+ ~dev-java/netbeans-websvccommon-${PV}
+ dev-java/beansbinding:0
+ dev-java/cglib:3
+ dev-java/jdom:0"
+DEPEND="${CDEPEND}
+ app-arch/unzip
+ dev-java/javahelp:0
+ dev-java/json-simple:0
+ dev-java/junit:4"
+RDEPEND="${CDEPEND}
+ dev-java/absolutelayout:0
+ >=dev-java/antlr-2.7.7-r7:0
+ dev-java/c3p0:0
+ dev-java/commons-cli:1
+ dev-java/commons-collections:0
+ dev-java/dom4j:1
+ dev-java/fastinfoset:0
+ dev-java/glassfish-transaction-api:0
+ dev-java/javassist:3
+ dev-java/jboss-logging:0
+ dev-java/jsr67:0
+ dev-java/jsr181:0
+ >=dev-java/jtidy-1:0
+ dev-java/log4j:0
+ dev-java/mimepull:0
+ dev-java/oracle-javamail:0
+ dev-java/saaj:0
+ dev-java/slf4j-api:0
+ dev-java/slf4j-log4j12:0
+ dev-java/slf4j-simple:0
+ dev-java/stax-ex:0
+ dev-java/stax2-api:0
+ dev-java/xmlstreambuffer:0"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.java -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+pkg_pretend() {
+ local die_now=""
+
+ if [ -d /usr/share/netbeans-java-${SLOT}/ant ]; then
+ if [ -n "$(find /usr/share/netbeans-java-${SLOT}/ant -type l)" ]; then
+ eerror "Please remove following symlinks and run emerge again:"
+ find /usr/share/netbeans-java-${SLOT}/ant -type l
+ die_now="1"
+ fi
+ fi
+
+ if [ -L /usr/share/netbeans-java-${SLOT}/maven ]; then
+ if [ -z "${die_now}" ]; then
+ eerror "Please remove following symlinks and run emerge again:"
+ fi
+
+ echo "/usr/share/netbeans-java-${SLOT}/maven"
+ die_now="1"
+ fi
+
+ if [ -n "${die_now}" ]; then
+ die "Symlinks exist"
+ fi
+}
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-9999-r21-build.xml.patch.bz2
+
+ pushd "${S}" >/dev/null || die
+ ln -s "${DISTDIR}"/E48292EAE5E14EC44978AA53DEBB1AF7DDD6DF93-aether-api-1.13.1.jar maven/external/aether-api-1.13.1.jar || die
+ ln -s "${DISTDIR}"/2DDF9BB8C3B41BC2891832A6D6FC25F8BF41D77F-apache-maven-3.3.9-bin.zip maven.embedder/external/apache-maven-3.3.9-bin.zip || die
+ ln -s "${DISTDIR}"/F7BD95641780C2AAE8CB9BED1686441A1CE5E749-beansbinding-1.2.1-doc.zip o.jdesktop.beansbinding/external/beansbinding-1.2.1-doc.zip || die
+ ln -s "${DISTDIR}"/CD2211635F3011E300CA8FEDC1CE0E1CF61C175B-eclipselink.jar j2ee.eclipselink/external/eclipselink.jar || die
+ ln -s "${DISTDIR}"/A9A0648BD7D9FD2CDFBD22C25366E71DA72438DA-hibernate-release-4.3.1-lib.zip hibernate4lib/external/hibernate-release-4.3.1-lib.zip || die
+ ln -s "${DISTDIR}"/627EC612B8D50EE42C2D0F13DF5476E26D696634-indexer-core-6.0-SNAPSHOT-patched.jar maven.indexer/external/indexer-core-6.0-SNAPSHOT-patched.jar || die
+ ln -s "${DISTDIR}"/D87F53C99E4CD88F5416EDD5ABB77F2A1CCFB050-jarjar-1.4.jar maven/external/jarjar-1.4.jar || die
+ ln -s "${DISTDIR}"/479C1E06DB31C432330183F5CAE684163F186146-javax.annotation-api-1.2.jar maven.indexer/external/javax.annotation-api-1.2.jar || die
+ ln -s "${DISTDIR}"/5BAB675816DBE0F64BB86004B108BF2A00292358-javax.persistence_2.1.0.v201304241213.jar j2ee.eclipselink/external/javax.persistence_2.1.0.v201304241213.jar || die
+ ln -s "${DISTDIR}"/84E2020E5499015E9F40D1212C86918264B89EB1-jaxws-2.2.6.zip websvc.jaxws21/external/jaxws-2.2.6.zip || die
+ ln -s "${DISTDIR}"/D64C40E770C95C2A6994081C00CCD489C0AA20C9-jaxws-2.2.6-api.zip websvc.jaxws21api/external/jaxws-2.2.6-api.zip || die
+ ln -s "${DISTDIR}"/8ECD169E9E308C258287E4F28B03B6D6F1E55F47-jaxws-api-doc.zip websvc.jaxws21/external/jaxws-api-doc.zip || die
+ ln -s "${DISTDIR}"/A8BD39C5B88571B4D4697E78DD1A56566E44B1DD-JPAjavadocs04032013.zip j2ee.eclipselink/external/JPAjavadocs04032013.zip || die
+ ln -s "${DISTDIR}"/1CA9DE21C6E443E814CB56912BEE872EF7094C49-jshell.jar libs.jshell.compile/external/jshell.jar || die
+ ln -s "${DISTDIR}"/CF734AB72813AF33DC1544CE61ABC5C17B9D35E9-lucene-analyzers-common-5.5.3.jar maven.indexer/external/lucene-analyzers-common-5.5.3.jar || die
+ ln -s "${DISTDIR}"/20540C6347259F35A0D264605B22CE2A13917066-lucene-core-5.5.3.jar maven.indexer/external/lucene-core-5.5.3.jar || die
+ ln -s "${DISTDIR}"/D276E74D57C64ED5F9A09A48DA05B75555E8709A-lucene-highlighter-5.5.3.jar maven.indexer/external/lucene-highlighter-5.5.3.jar || die
+ ln -s "${DISTDIR}"/E2452203D2C44CAC5AC42B34E5DCC0A44BF29A53-lucene-queryparser-5.5.3.jar maven.indexer/external/lucene-queryparser-5.5.3.jar || die
+ ln -s "${DISTDIR}"/BF206C4AA93C74A739FBAF1F1C78E3AD5F167245-maven-dependency-tree-2.0.jar maven.embedder/external/maven-dependency-tree-2.0.jar || die
+ ln -s "${DISTDIR}"/C6E5101D6A096D90AD8CF9E0F21C30F1D6DA74D4-nb-javac-api.jar libs.javacapi/external/nb-javac-api.jar || die
+ ln -s "${DISTDIR}"/BB17923713699B721CDB3BDBBAE863D8C8B291E3-nb-javac-impl.jar libs.javacimpl/external/nb-javac-impl.jar || die
+ ln -s "${DISTDIR}"/CA4F4DB7B6C140E36B0001873BEEA7C26489D2A1-netbeans-cos.jar maven/external/netbeans-cos.jar || die
+ ln -s "${DISTDIR}"/29AF1D338CBB76290D1A96F5A6610F1E8C319AE5-org.eclipse.persistence.jpa.jpql_2.5.2.v20140319-9ad6abd.jar j2ee.eclipselink/external/org.eclipse.persistence.jpa.jpql_2.5.2.v20140319-9ad6abd.jar || die
+ ln -s "${DISTDIR}"/3CE04BDB48FE315736B1DCE407362C57DFAE286D-org.eclipse.persistence.jpa.modelgen_2.5.2.v20140319-9ad6abd.jar j2ee.eclipselinkmodelgen/external/org.eclipse.persistence.jpa.modelgen_2.5.2.v20140319-9ad6abd.jar || die
+ ln -s "${DISTDIR}"/7666B94C1004AFFFE88E5328BD70EBA6F60125F4-spring-framework-3.2.7.RELEASE.zip libs.springframework/external/spring-framework-3.2.7.RELEASE.zip || die
+ ln -s "${DISTDIR}"/91B55CDAC59BC4DDDF0AF9A54EAAE4304EDEF266-spring-framework-4.0.1.RELEASE.zip libs.springframework/external/spring-framework-4.0.1.RELEASE.zip || die
+ ln -s "${DISTDIR}"/BFCC4C322190D6E3DD2FA9F191C0359D380D87C5-wagon-file-2.10.jar maven.embedder/external/wagon-file-2.10.jar || die
+ ln -s "${DISTDIR}"/4EF309C09ABB5F8B2D0C6A4010205DB185729CDC-wagon-http-2.10-shaded.jar maven.embedder/external/wagon-http-2.10-shaded.jar || die
+ ln -s "${DISTDIR}"/3B96251214DF697E902C849EB0B4A0EFA2CD1A53-wagon-http-shared-2.10.jar maven.embedder/external/wagon-http-shared-2.10.jar || die
+ ln -s "${DISTDIR}"/0CD9CDDE3F56BB5250D87C54592F04CBC24F03BF-wagon-provider-api-2.10.jar maven.embedder/external/wagon-provider-api-2.10.jar || die
+ popd >/dev/null || die
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-9999-r21-build.xml.patch
+
+ einfo "Symlinking external libraries..."
+ java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+ java-pkg_jar-from --into libs.cglib/external cglib-3 cglib.jar cglib-2.2.jar
+ java-pkg_jar-from --build-only --into libs.json_simple/external json-simple json-simple.jar json-simple-1.1.1.jar
+ java-pkg_jar-from --build-only --into libs.junit4/external junit-4 junit.jar junit-4.12.jar
+ java-pkg_jar-from --into maven.embedder/external jdom jdom.jar jdom-1.0.jar
+ java-pkg_jar-from --into o.jdesktop.beansbinding/external beansbinding beansbinding.jar beansbinding-1.2.1.jar
+
+ einfo "Linking in other clusters..."
+ mkdir "${S}"/nbbuild/netbeans || die
+ pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+ ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+ cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.platform.built
+
+ ln -s /usr/share/netbeans-extide-${SLOT} extide || die
+ cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.extide.built
+
+ ln -s /usr/share/netbeans-harness-${SLOT} harness || die
+ cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.harness.built
+
+ ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+ cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.ide.built
+
+ ln -s /usr/share/netbeans-websvccommon-${SLOT} websvccommon || die
+ cat /usr/share/netbeans-websvccommon-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.websvccommon.built
+
+ popd >/dev/null || die
+
+ java-pkg-2_src_prepare
+ default
+}
+
+src_install() {
+ pushd nbbuild/netbeans/java >/dev/null || die
+
+ insinto ${INSTALL_DIR}
+ grep -E "/java$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+ doins -r *
+ chmod 755 "${D}"/${INSTALL_DIR}/maven/bin/mvn* || die
+ rm -fr "${D}"/${INSTALL_DIR}/maven/bin/*.bat || die
+
+ popd >/dev/null || die
+
+ local instdir="${D}"/${INSTALL_DIR}/maven/lib
+ pushd "${instdir}" >/dev/null || die
+ rm commons-cli-1.2.jar && java-pkg_jar-from --into "${instdir}" commons-cli-1 commons-cli.jar commons-cli-1.2.jar
+ popd >/dev/null || die
+
+ local instdir="${D}"/${INSTALL_DIR}/modules/ext
+ pushd "${instdir}" >/dev/null || die
+ rm AbsoluteLayout.jar && java-pkg_jar-from --into "${instdir}" absolutelayout absolutelayout.jar AbsoluteLayout.jar
+ rm beansbinding-1.2.1.jar && java-pkg_jar-from --into "${instdir}" beansbinding beansbinding.jar beansbinding-1.2.1.jar
+ rm cglib-2.2.jar && java-pkg_jar-from --into "${instdir}" cglib-3 cglib.jar cglib-2.2.jar
+ popd >/dev/null || die
+
+ local instdir="${D}"/${INSTALL_DIR}/modules/ext/hibernate4
+ pushd "${instdir}" >/dev/null || die
+ rm antlr-2.7.7.jar && java-pkg_jar-from --into "${instdir}" antlr antlr.jar antlr-2.7.7.jar
+ rm c3p0-0.9.2.1.jar && java-pkg_jar-from --into "${instdir}" c3p0 c3p0.jar c3p0-0.9.2.1.jar
+ rm cglib-2.2.jar && java-pkg_jar-from --into "${instdir}" cglib-3 cglib.jar cglib-2.2.jar
+ rm commons-collections-3.2.1.jar && java-pkg_jar-from --into "${instdir}" commons-collections commons-collections.jar commons-collections-3.2.1.jar
+ rm dom4j-1.6.1.jar && java-pkg_jar-from --into "${instdir}" dom4j-1 dom4j.jar dom4j-1.6.1.jar
+ rm javassist-3.18.1-GA.jar && java-pkg_jar-from --into "${instdir}" javassist-3 javassist.jar javassist-3.18.1-GA.jar
+ rm jboss-logging-3.1.3.GA.jar && java-pkg_jar-from --into "${instdir}" jboss-logging jboss-logging.jar jboss-logging-3.1.3.GA.jar
+ rm jboss-transaction-api_1.2_spec-1.0.0.Final.jar && java-pkg_jar-from --into "${instdir}" glassfish-transaction-api glassfish-transaction-api.jar jboss-transaction-api_1.2_spec-1.0.0.Final.jar
+ rm jtidy-r8-20060801.jar && java-pkg_jar-from --into "${instdir}" jtidy jtidy.jar jtidy-r8-20060801.jar
+ rm log4j-1.2.12.jar && java-pkg_jar-from --into "${instdir}" log4j log4j.jar log4j-1.2.12.jar
+ rm slf4j-api-1.6.1.jar && java-pkg_jar-from --into "${instdir}" slf4j-api slf4j-api.jar slf4j-api-1.6.1.jar
+ rm slf4j-log4j12-1.6.1.jar && java-pkg_jar-from --into "${instdir}" slf4j-log4j12 slf4j-log4j12.jar slf4j-log4j12-1.6.1.jar
+ rm slf4j-simple-1.6.1.jar && java-pkg_jar-from --into "${instdir}" slf4j-simple slf4j-simple.jar slf4j-simple-1.6.1.jar
+ popd >/dev/null || die
+
+ local instdir="${D}"/${INSTALL_DIR}/modules/ext/jaxws22
+ pushd "${instdir}" >/dev/null || die
+ rm FastInfoset.jar && java-pkg_jar-from --into "${instdir}" fastinfoset fastinfoset.jar FastInfoset.jar
+ rm javax.mail_1.4.jar && java-pkg_jar-from --into "${instdir}" oracle-javamail mail.jar javax.mail_1.4.jar
+ rm mimepull.jar && java-pkg_jar-from --into "${instdir}" mimepull mimepull.jar
+ rm saaj-impl.jar && java-pkg_jar-from --into "${instdir}" saaj saaj.jar saaj-impl.jar
+ rm stax-ex.jar && java-pkg_jar-from --into "${instdir}" stax-ex stax-ex.jar
+ rm stax2-api.jar && java-pkg_jar-from --into "${instdir}" stax2-api stax2-api.jar
+ rm streambuffer.jar && java-pkg_jar-from --into "${instdir}" xmlstreambuffer xmlstreambuffer.jar streambuffer.jar
+ popd >/dev/null || die
+
+ local instdir="${D}"/${INSTALL_DIR}/modules/ext/jaxws22/api
+ pushd "${instdir}" >/dev/null || die
+ rm jsr181-api.jar && java-pkg_jar-from --into "${instdir}" jsr181 jsr181.jar jsr181-api.jar
+ rm saaj-api.jar && java-pkg_jar-from --into "${instdir}" jsr67 jsr67.jar saaj-api.jar
+ popd >/dev/null || die
+
+ local instdir="${D}"/${INSTALL_DIR}/modules/ext/maven
+ pushd "${instdir}" >/dev/null || die
+ rm jdom-1.0.jar && java-pkg_jar-from --into "${instdir}" jdom jdom.jar jdom-1.0.jar
+ popd >/dev/null || die
+
+ dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/java
+}