summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2011-01-22 20:58:23 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2011-01-22 20:58:23 +0100
commit16e08af0e93728f540925a7bb470d51b69a83e08 (patch)
tree76f40842abee11172e81d1cf9360ff0b7afbc269
downloadfordfrog-16e08af0e93728f540925a7bb470d51b69a83e08.tar.gz
fordfrog-16e08af0e93728f540925a7bb470d51b69a83e08.tar.bz2
fordfrog-16e08af0e93728f540925a7bb470d51b69a83e08.zip
initial commit - adding netbeans 7.0 with ebuild split to clusters
-rw-r--r--dev-java/netbeans-apisupport/Manifest3
-rw-r--r--dev-java/netbeans-apisupport/netbeans-apisupport-7.0_beta_p20110122.ebuild91
-rw-r--r--dev-java/netbeans-cnd/Manifest5
-rw-r--r--dev-java/netbeans-cnd/netbeans-cnd-7.0_beta_p20110122.ebuild106
-rw-r--r--dev-java/netbeans-dlight/Manifest6
-rw-r--r--dev-java/netbeans-dlight/netbeans-dlight-7.0_beta_p20110122.ebuild104
-rw-r--r--dev-java/netbeans-enterprise/Manifest32
-rw-r--r--dev-java/netbeans-enterprise/netbeans-enterprise-7.0_beta_p20110122.ebuild290
-rw-r--r--dev-java/netbeans-ergonomics/Manifest3
-rw-r--r--dev-java/netbeans-ergonomics/netbeans-ergonomics-7.0_beta_p20110122.ebuild86
-rw-r--r--dev-java/netbeans-groovy/Manifest4
-rw-r--r--dev-java/netbeans-groovy/netbeans-groovy-7.0_beta_p20110122.ebuild96
-rw-r--r--dev-java/netbeans-harness/Manifest5
-rw-r--r--dev-java/netbeans-harness/netbeans-harness-7.0_beta_p20110122.ebuild90
-rw-r--r--dev-java/netbeans-ide/Manifest46
-rw-r--r--dev-java/netbeans-ide/netbeans-ide-7.0_beta_p20110122.ebuild341
-rw-r--r--dev-java/netbeans-java/Manifest25
-rw-r--r--dev-java/netbeans-java/netbeans-java-7.0_beta_p20110122.ebuild300
-rw-r--r--dev-java/netbeans-javacard/Manifest6
-rw-r--r--dev-java/netbeans-javacard/netbeans-javacard-7.0_beta_p20110122.ebuild126
-rw-r--r--dev-java/netbeans-javadoc/Manifest3
-rw-r--r--dev-java/netbeans-javadoc/netbeans-javadoc-7.0_beta_p20110122.ebuild145
-rw-r--r--dev-java/netbeans-mobility/Manifest11
-rw-r--r--dev-java/netbeans-mobility/netbeans-mobility-7.0_beta_p20110122.ebuild176
-rw-r--r--dev-java/netbeans-nb/Manifest5
-rw-r--r--dev-java/netbeans-nb/files/7.0/keychain-support.patch26
-rw-r--r--dev-java/netbeans-nb/netbeans-nb-7.0_beta_p20110122.ebuild152
-rw-r--r--dev-java/netbeans-php/Manifest7
-rw-r--r--dev-java/netbeans-php/netbeans-php-7.0_beta_p20110122.ebuild104
-rw-r--r--dev-java/netbeans-platform/Manifest9
-rw-r--r--dev-java/netbeans-platform/netbeans-platform-7.0_beta_p20110122.ebuild116
-rw-r--r--dev-java/netbeans-profiler/Manifest3
-rw-r--r--dev-java/netbeans-profiler/netbeans-profiler-7.0_beta_p20110122.ebuild98
-rw-r--r--dev-java/netbeans-websvccommon/Manifest3
-rw-r--r--dev-java/netbeans-websvccommon/netbeans-websvccommon-7.0_beta_p20110122.ebuild79
-rw-r--r--dev-util/netbeans/Manifest1
-rw-r--r--dev-util/netbeans/netbeans-7.0_beta_p20110122.ebuild76
-rw-r--r--profiles/repo_name1
-rwxr-xr-xscripts/netbeans/create_new_release.sh26
39 files changed, 2806 insertions, 0 deletions
diff --git a/dev-java/netbeans-apisupport/Manifest b/dev-java/netbeans-apisupport/Manifest
new file mode 100644
index 000000000..0b939bb20
--- /dev/null
+++ b/dev-java/netbeans-apisupport/Manifest
@@ -0,0 +1,3 @@
+DIST netbeans-7.0-build.xml.patch.bz2 1381 RMD160 a7a885fdae6f1bc654ace5aae4832fde5ffe8384 SHA1 92edb35b5c87535f01d237daf35763af847fb647 SHA256 2f5bf2ca235301487e0edd60742e5e536d98f3ee084a5835e6940840b287580f
+DIST netbeans-trunk-nightly-201101220001-src.zip 178771053 RMD160 dbaa99ed714d48269001bdf9145f108411aec109 SHA1 b9e51a807edc3137d7de98e0c2aa6dbc1f54a162 SHA256 bc042338611f80cd0004954dd9e37363ae38ef4a96bff16f153b05a59082b9e8
+EBUILD netbeans-apisupport-7.0_beta_p20110122.ebuild 2723 RMD160 65b3c8d5d46e7108b1f158f07082adb1a7fc84c7 SHA1 d19fb80b8508f3935b590b8cbd19194b00f422f6 SHA256 97cd468cc7a3a1c9f2e712ddc13a2c38edad60d569aba636c47e32a85842fc18
diff --git a/dev-java/netbeans-apisupport/netbeans-apisupport-7.0_beta_p20110122.ebuild b/dev-java/netbeans-apisupport/netbeans-apisupport-7.0_beta_p20110122.ebuild
new file mode 100644
index 000000000..bb11624b1
--- /dev/null
+++ b/dev-java/netbeans-apisupport/netbeans-apisupport-7.0_beta_p20110122.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+WANT_ANT_TASKS="ant-nodeps"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans API Support Cluster"
+HOMEPAGE="http://netbeans.org/projects/apisupport"
+SLOT="7.0"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/latest/zip/netbeans-trunk-nightly-201101220001-src.zip"
+SRC_URI="${SOURCE_URL}
+ http://dev.gentoo.org/~fordfrog/distfiles/netbeans-${SLOT}-build.xml.patch.bz2"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-harness-${PV}
+ ~dev-java/netbeans-ide-${PV}
+ ~dev-java/netbeans-java-${PV}
+ ~dev-java/netbeans-platform-${PV}"
+DEPEND=">=virtual/jdk-1.6
+ app-arch/unzip
+ ${CDEPEND}
+ dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.6
+ ${CDEPEND}"
+
+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.apisupport -Dext.binaries.downloaded=true"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-7.0-build.xml.patch.bz2
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-7.0-build.xml.patch
+
+ einfo "Symlinking external libraries..."
+ java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+
+ einfo "Linking in other clusters..."
+ mkdir "${S}"/nbbuild/netbeans || die
+ pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+ 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-java-${SLOT} java || die
+ cat /usr/share/netbeans-java-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.java.built
+
+ 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
+
+ popd >/dev/null || die
+
+ java-pkg-2_src_prepare
+}
+
+src_install() {
+ pushd nbbuild/netbeans/apisupport >/dev/null || die
+
+ insinto ${INSTALL_DIR} || die
+
+ grep -E "/apisupport$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+ doins -r * || die
+
+ popd >/dev/null || die
+}
diff --git a/dev-java/netbeans-cnd/Manifest b/dev-java/netbeans-cnd/Manifest
new file mode 100644
index 000000000..ff6e17d9d
--- /dev/null
+++ b/dev-java/netbeans-cnd/Manifest
@@ -0,0 +1,5 @@
+DIST 296C195B720404C2683BA2F65E2A423DD0611B8B-open-fortran-parser-0.7.1.2.zip 86627 RMD160 3b9b848a4ebaaac9faa76874626104f4eee81d3a SHA1 296c195b720404c2683ba2f65e2a423dd0611b8b SHA256 de7cf8ce10a3d50eefa5e493953404be7db138007aa9fb53b894e307ea033195
+DIST 3C8F28BB40B1DC5E2BB66C8CEDD9D5958ECBDBB8-cnd-rfs-1.0.zip 298996 RMD160 b54c7db694d60f685d221b78baf8cead2dd03b16 SHA1 3c8f28bb40b1dc5e2bb66c8cedd9d5958ecbdbb8 SHA256 af4edf6045d9ac010345d3a4d3a229391129f2cbc687ab242071b728926b9a79
+DIST netbeans-7.0-build.xml.patch.bz2 1381 RMD160 a7a885fdae6f1bc654ace5aae4832fde5ffe8384 SHA1 92edb35b5c87535f01d237daf35763af847fb647 SHA256 2f5bf2ca235301487e0edd60742e5e536d98f3ee084a5835e6940840b287580f
+DIST netbeans-trunk-nightly-201101220001-src.zip 178771053 RMD160 dbaa99ed714d48269001bdf9145f108411aec109 SHA1 b9e51a807edc3137d7de98e0c2aa6dbc1f54a162 SHA256 bc042338611f80cd0004954dd9e37363ae38ef4a96bff16f153b05a59082b9e8
+EBUILD netbeans-cnd-7.0_beta_p20110122.ebuild 3861 RMD160 4025f05e5c521020bcc7bed2fe0bd19aa144fc51 SHA1 ece7d15ba4799374f89a52190f1bdb93eab23232 SHA256 6b559ac901f5609b3cdef4e7d7a34d8a028a2c1d4a3071d390972bc2b638b0ad
diff --git a/dev-java/netbeans-cnd/netbeans-cnd-7.0_beta_p20110122.ebuild b/dev-java/netbeans-cnd/netbeans-cnd-7.0_beta_p20110122.ebuild
new file mode 100644
index 000000000..a5fa766db
--- /dev/null
+++ b/dev-java/netbeans-cnd/netbeans-cnd-7.0_beta_p20110122.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+WANT_ANT_TASKS="ant-nodeps"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans CND Cluster"
+HOMEPAGE="http://netbeans.org/projects/cnd"
+SLOT="7.0"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/latest/zip/netbeans-trunk-nightly-201101220001-src.zip"
+SRC_URI="${SOURCE_URL}
+ http://dev.gentoo.org/~fordfrog/distfiles/netbeans-${SLOT}-build.xml.patch.bz2
+ http://hg.netbeans.org/binaries/3C8F28BB40B1DC5E2BB66C8CEDD9D5958ECBDBB8-cnd-rfs-1.0.zip
+ http://hg.netbeans.org/binaries/296C195B720404C2683BA2F65E2A423DD0611B8B-open-fortran-parser-0.7.1.2.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-dlight-${PV}
+ ~dev-java/netbeans-harness-${PV}
+ ~dev-java/netbeans-ide-${PV}
+ ~dev-java/netbeans-platform-${PV}"
+DEPEND=">=virtual/jdk-1.6
+ app-arch/unzip
+ ${CDEPEND}
+ dev-java/antlr:0[java]
+ dev-java/antlr:3
+ dev-java/javahelp:0
+ dev-java/stringtemplate:0"
+RDEPEND=">=virtual/jdk-1.6
+ ${CDEPEND}"
+
+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.cnd -Dext.binaries.downloaded=true"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-7.0-build.xml.patch.bz2
+
+ pushd "${S}" >/dev/null || die
+ ln -s "${DISTDIR}"/3C8F28BB40B1DC5E2BB66C8CEDD9D5958ECBDBB8-cnd-rfs-1.0.zip cnd.remote/external/cnd-rfs-1.0.zip || die
+ ln -s "${DISTDIR}"/296C195B720404C2683BA2F65E2A423DD0611B8B-open-fortran-parser-0.7.1.2.zip cnd.modelimpl/external/open-fortran-parser-0.7.1.2.zip || die
+ popd >/dev/null || die
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-7.0-build.xml.patch
+ sed -i "s%<classpath path=\"\${antlr3.jar}\"/>%<classpath path=\"\${antlr3.jar}:../libs.antlr3.devel/external/antlr-2.7.jar:../libs.antlr3.devel/external/stringtemplate-3.2.jar\"/>%" cnd.modelimpl/build.xml || die
+
+ 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 --build-only --into libs.antlr3.devel/external antlr-3 antlr3.jar antlr-3.1.3.jar
+ java-pkg_jar-from --build-only --into libs.antlr3.devel/external antlr antlr.jar antlr-2.7.jar
+ java-pkg_jar-from --build-only --into libs.antlr3.devel/external stringtemplate stringtemplate.jar stringtemplate-3.2.jar
+
+ einfo "Linking in other clusters..."
+ mkdir "${S}"/nbbuild/netbeans || die
+ pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+ ln -s /usr/share/netbeans-dlight-${SLOT} dlight || die
+ cat /usr/share/netbeans-dlight-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.dlight.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-platform-${SLOT} platform || die
+ cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.platform.built
+
+ popd >/dev/null || die
+
+ java-pkg-2_src_prepare
+}
+
+src_install() {
+ pushd nbbuild/netbeans/cnd >/dev/null || die
+
+ insinto ${INSTALL_DIR} || die
+
+ grep -E "/cnd$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+ doins -r * || die
+ fperms 755 bin/dorun.sh || die
+
+ popd >/dev/null || die
+}
diff --git a/dev-java/netbeans-dlight/Manifest b/dev-java/netbeans-dlight/Manifest
new file mode 100644
index 000000000..1e460be46
--- /dev/null
+++ b/dev-java/netbeans-dlight/Manifest
@@ -0,0 +1,6 @@
+DIST 623DE5A3A60FEA313099D7C42256B146E2BEE9B2-h2-1.0.79.jar 1086505 RMD160 93aedd2e18a75c60fbb8ae07305e55476ce905bf SHA1 623de5a3a60fea313099d7c42256b146e2bee9b2 SHA256 2711de9ace1c4d993524ce362485ca3cf5771a326bcb715229f0e3ebe0772587
+DIST F1AF5929CD612475CCF186F69E268F0CAAA2A90E-dtracectrl-0.1.zip 8834 RMD160 79b324bcfe0938371089a38eb0468dbb36f0327c SHA1 f1af5929cd612475ccf186f69e268f0caaa2a90e SHA256 af00adae935a995cce5d668fd220cefcbe5e35ef943412109d25106982f2fd56
+DIST F787C9B484CD7526F866C21D8925C4DACE467F8A-derby-10.2.2.0.jar 2276020 RMD160 ea3e733fd709c6c6b6776d05d3e3d08a0f00f166 SHA1 f787c9b484cd7526f866c21d8925c4dace467f8a SHA256 fc563bf30d51408ee092a59cc6abe381172040954ab1654061efb8eaf67fd2ba
+DIST netbeans-7.0-build.xml.patch.bz2 1381 RMD160 a7a885fdae6f1bc654ace5aae4832fde5ffe8384 SHA1 92edb35b5c87535f01d237daf35763af847fb647 SHA256 2f5bf2ca235301487e0edd60742e5e536d98f3ee084a5835e6940840b287580f
+DIST netbeans-trunk-nightly-201101220001-src.zip 178771053 RMD160 dbaa99ed714d48269001bdf9145f108411aec109 SHA1 b9e51a807edc3137d7de98e0c2aa6dbc1f54a162 SHA256 bc042338611f80cd0004954dd9e37363ae38ef4a96bff16f153b05a59082b9e8
+EBUILD netbeans-dlight-7.0_beta_p20110122.ebuild 3244 RMD160 3293985cee086b569fa9cbffa78664a5857056e0 SHA1 816a29140505285ea6992a44fc6be3b5764d89b3 SHA256 4de9b79d48f92c9bb7997aa1dfac96385e4a26f6ab942e98c57771615bcd45fb
diff --git a/dev-java/netbeans-dlight/netbeans-dlight-7.0_beta_p20110122.ebuild b/dev-java/netbeans-dlight/netbeans-dlight-7.0_beta_p20110122.ebuild
new file mode 100644
index 000000000..ed04ca837
--- /dev/null
+++ b/dev-java/netbeans-dlight/netbeans-dlight-7.0_beta_p20110122.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+WANT_ANT_TASKS="ant-nodeps"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans D-Light Cluster"
+HOMEPAGE="http://netbeans.org/"
+SLOT="7.0"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/latest/zip/netbeans-trunk-nightly-201101220001-src.zip"
+SRC_URI="${SOURCE_URL}
+ http://dev.gentoo.org/~fordfrog/distfiles/netbeans-${SLOT}-build.xml.patch.bz2
+ http://hg.netbeans.org/binaries/F787C9B484CD7526F866C21D8925C4DACE467F8A-derby-10.2.2.0.jar
+ http://hg.netbeans.org/binaries/F1AF5929CD612475CCF186F69E268F0CAAA2A90E-dtracectrl-0.1.zip
+ http://hg.netbeans.org/binaries/623DE5A3A60FEA313099D7C42256B146E2BEE9B2-h2-1.0.79.jar"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-ide-${PV}
+ ~dev-java/netbeans-platform-${PV}"
+DEPEND=">=virtual/jdk-1.6
+ app-arch/unzip
+ ${CDEPEND}
+ dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.6
+ ${CDEPEND}"
+
+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.dlight -Dext.binaries.downloaded=true"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-7.0-build.xml.patch.bz2
+
+ pushd "${S}" >/dev/null || die
+ ln -s "${DISTDIR}"/F787C9B484CD7526F866C21D8925C4DACE467F8A-derby-10.2.2.0.jar dlight.db.derby/external/derby-10.2.2.0.jar || die
+ ln -s "${DISTDIR}"/F1AF5929CD612475CCF186F69E268F0CAAA2A90E-dtracectrl-0.1.zip dlight.dtrace/external/dtracectrl-0.1.zip || die
+ ln -s "${DISTDIR}"/623DE5A3A60FEA313099D7C42256B146E2BEE9B2-h2-1.0.79.jar dlight.libs.h2/external/h2-1.0.79.jar || die
+ popd >/dev/null || die
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-7.0-build.xml.patch
+
+ einfo "Symlinking external libraries..."
+ java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+
+ einfo "Linking in other clusters..."
+ mkdir "${S}"/nbbuild/netbeans || die
+ pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+ 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-platform-${SLOT} platform || die
+ cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.platform.built
+
+ popd >/dev/null || die
+
+ java-pkg-2_src_prepare
+}
+
+src_install() {
+ pushd nbbuild/netbeans/dlight >/dev/null || die
+
+ insinto ${INSTALL_DIR} || die
+
+ grep -E "/dlight$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+ doins -r * || die
+
+ for file in bin/SunOS*/* ; do
+ fperms 755 ${file} || die
+ done
+
+ for file in tools/*/bin/* ; do
+ fperms 755 ${file} || die
+ done
+
+ popd >/dev/null || die
+
+ local instdir=${INSTALL_DIR}/modules/ext
+ pushd "${D}"/${instdir} >/dev/null || die
+ # derby-10.2.2.0.jar
+ # h2-1.0.79.jar
+ popd >/dev/null || die
+}
diff --git a/dev-java/netbeans-enterprise/Manifest b/dev-java/netbeans-enterprise/Manifest
new file mode 100644
index 000000000..077ef0cbc
--- /dev/null
+++ b/dev-java/netbeans-enterprise/Manifest
@@ -0,0 +1,32 @@
+DIST 123A7BAAE06D938E5E4533ED745EEE7377E73ED8-jersey-spring-1.3-javadoc.jar 55457 RMD160 8376afbec0a8004d5e591f966a2a12157102f15e SHA1 123a7baae06d938e5e4533ed745eee7377e73ed8 SHA256 a66c6f446e5f01e53c9eb7e29bc2092b9627de3e9c964f11b9a6b730d0aa3407
+DIST 16CD40905B389B27AFD81DAFF8F163CEC810FBC6-metro-2.0.zip 15969889 RMD160 c7178a992d303eb3d6eba70a2bdc27d6d19e20e5 SHA1 16cd40905b389b27afd81daff8f163cec810fbc6 SHA256 d2d6d6fb711334657deb1debe4b546a6bee02a2714c2bab5823ad16477833ba4
+DIST 1A48EDCF8DCFC76882C821931EB0529DB9AF5D9B-spring-webmvc-2.5.6.SEC01.jar 402348 RMD160 86c33d4674abbd9c6af22649da7e800eb3335420 SHA1 1a48edcf8dcfc76882c821931eb0529db9af5d9b SHA256 a432fa403f568e02e39effd52f2fe1672155a1c2c6273535d80aeee61ddd9a11
+DIST 2EA8E5BDC70E1B1D738140E52E4793385B2567A3-el-impl.jar 111719 RMD160 c3db8ce1835efe49fb0a7f432ff88286a945d584 SHA1 2ea8e5bdc70e1b1d738140e52e4793385b2567a3 SHA256 61b1c254f1529632d98a9261e0fd50c77e5c2a1c4c53e43cee65cedb279c7703
+DIST 4855C8481C6951F39DC117C44CA8EE70BF2B003F-oauth-signature-1.3-javadoc.jar 77306 RMD160 0372d69b83cdde74c54795ed134a87f07da7b8a1 SHA1 4855c8481c6951f39dc117c44ca8ee70bf2b003f SHA256 bf7cb3a0e9d2e23e1d1aafeeda524953e318b7e2f2e688bef1c5626db68ac9ef
+DIST 6017380527B332AD174FED03973C8FB8094E3258-primefaces-2.1.jar 2077762 RMD160 15c8fb21286e4a88d9644354487b994a26729205 SHA1 6017380527b332ad174fed03973c8fb8094e3258 SHA256 1c0cfec82059327fdfef1808e84cc40128c59c6bf7d246137fbca6fa685005dc
+DIST 6E3105315F3100F65D66355B04BA6B6C2B8480D3-jersey-json-1.3-javadoc.jar 89300 RMD160 68e6b9b7fb63e086ce8e1d2801597c89be63dbb3 SHA1 6e3105315f3100f65d66355b04ba6b6c2b8480d3 SHA256 46f4221448d3b3123e27535094f142c7eabe528e6febbd2573cda3bf11c0660b
+DIST 7763236B189D9B910E2BDBA6822E6EB4DDDAC41B-glassfish-jspparser-3.0.jar 628998 RMD160 83eebfcdc65bae7248338a3f32ac0bc958596b9b SHA1 7763236b189d9b910e2bdba6822e6eb4dddac41b SHA256 d430e44351bdb132e2f37a4361b6950a16b9486c82c4434fb43383c3f8cd46a3
+DIST 7F8D0C26FEADDE01940E39B1D9CD175895A3243E-jsf-2.0.zip 2250612 RMD160 0383ff4c6f3cc2f9bdb289607fc91e88e85211c5 SHA1 7f8d0c26feadde01940e39b1d9cd175895a3243e SHA256 0ed9958cec84d41abfd862b1010665da35deedf474cafd2bf4647634d3778005
+DIST 93A58E37BA1D014375B1578F3D904736CB2D408F-jsf-api-docs.zip 1699050 RMD160 d6418501837089078e70ddf864d3b770b134e512 SHA1 93a58e37ba1d014375b1578f3d904736cb2d408f SHA256 ce29ef11b17fe5e36304bca4383af8a4b828902f2da1486509ca909bfb93eab4
+DIST 955396DB8CE0477C6BD70BA830FF84CB9B7AB47B-jersey-client-1.3-javadoc.jar 373331 RMD160 7982e8784a7168e931f64b70a2178cf0d52bbe16 SHA1 955396db8ce0477c6bd70ba830ff84cb9b7ab47b SHA256 88ac6b76c897fe277d05623f1efd37f717731bb4ff47604a73e3166378d3d6c7
+DIST A27843863A5EAE9DDFF1C70F7A95D3BFC2A59D99-jersey-core-1.1.5.1-javadoc.jar 742909 RMD160 e4425ed0e7c9e7d879516f3f5581fc32cba89177 SHA1 a27843863a5eae9ddff1c70f7a95d3bfc2a59d99 SHA256 aeefffbfac45880d81da06bf72de77e06ecf2faf5ae24e8b93c3cedd9d2b9543
+DIST A3F62096FB53E14CF09B006458333792890CE429-struts-1.3.8-lib.zip 2689401 RMD160 138729cd8d03c08f5979bd26fb3a88f5bbc7459a SHA1 a3f62096fb53e14cf09b006458333792890ce429 SHA256 25dedc70b2119a3af8d270cfb86499fd2b67ba38433ebae9b04c134ae538a3f3
+DIST A5744971ACE1F44A0FC71CCB93DE530CB3022965-webservices-api-osgi.jar 52314 RMD160 08e36da26006f10440a67cf9c75b8d7ce67dd196 SHA1 a5744971ace1f44a0fc71ccb93de530cb3022965 SHA256 53ad67e10fcc5f79f00955d57b624947163b5ecfdae85fff74c7913ea1fbed36
+DIST B290091E71DEED6CE7F9EB40523D49C26399A2B4-javax.annotation.jar 22020 RMD160 e78141eaebe3420a6b99da7a434aa80d5a2c9fff SHA1 b290091e71deed6ce7f9eb40523d49c26399a2b4 SHA256 852bbffd68780d711465d051a5474aecce2849c1eb027447c57235ae5d3bfe1a
+DIST B9DB1A789C301F1D31DD6CC524DA2EBD7F89190D-jsf-1.2.zip 1801252 RMD160 abbdb1fa3b67981d6abb96204cca140da94b4d6e SHA1 b9db1a789c301f1d31dd6cc524da2ebd7f89190d SHA256 a1cfd1d66f6c7089f3b3702781d339d68fa27947e3e38040608bbc446a77bf23
+DIST B9FA9CDC7FA5203E1DB5C4DBAAED0133596D524F-servlet3.0-jsp2.2-api.jar 274048 RMD160 2c113240ee61c757295f7520a572a60133961118 SHA1 b9fa9cdc7fa5203e1db5c4dbaaed0133596d524f SHA256 c2e942fa7fc6e9d061cd810a2f6b52749a926087cddc04e8d18987a90aa0723a
+DIST BAEA0B9171897175B0B3E20BDF532EF4CFD44CEE-oauth-client-1.3-javadoc.jar 22293 RMD160 66259494056530c81429d31ceeb9ba38efbefdaf SHA1 baea0b9171897175b0b3e20bdf532ef4cfd44cee SHA256 219c6ed611dd09bb532fc3abbc7500513cbe9ad79be5ec4d53de98aa730b8a01
+DIST BD6C7BD1452456F2F6B2A8CF6C4166493A24ABED-jersey-1.3.zip 1461064 RMD160 fd195dad0e01d46c135bf797a7d64531a5962d67 SHA1 bd6c7bd1452456f2f6b2a8cf6c4166493a24abed SHA256 846e447d3372d1fdda496ad34aa09b67bae2f98b2a4a338e211f6a9f4baf4a32
+DIST D6F416983EA13C334D5C599A9045414ECAF5D66D-javaee-api-6.0.jar 979616 RMD160 2bbf829b42cf13b118c11c8da43ca99cf96cea4e SHA1 d6f416983ea13c334d5c599a9045414ecaf5d66d SHA256 a045eac0ff80c5c0fd29b680599f27598abff16b1e6c9df46ce962a4e0b1390e
+DIST D813E05A06B587CD0FE36B00442EAB03C1431AA9-glassfish-logging-2.0.jar 21631 RMD160 92ff3bab42bc2f233fef348dfc2d10fd82ad9bdf SHA1 d813e05a06b587cd0fe36b00442eab03c1431aa9 SHA256 7fc569141b2cb6acb1497db768d3bc0548d3f19823dc753cea512f8125a475b6
+DIST DC9A229C4AB1788D0C20D937A82FB64CE2911171-javaee6-doc-api.zip 7890754 RMD160 a9de20dbe4fb04b5f8d383b4b78f3ac5d71092bc SHA1 dc9a229c4ab1788d0c20d937a82fb64ce2911171 SHA256 8ce5b8e25a498ed461d3a52ebde9b52ca6265c148b871cabae3f0d42a96cc536
+DIST E11C2384FDEAE4F96E433C2A0339DCFC5202CC17-struts-1.3.8-javadoc.zip 4767779 RMD160 04fb50545fdbed47f240bb654f51c21e0078deee SHA1 e11c2384fdeae4f96e433c2a0339dcfc5202cc17 SHA256 17e273817c8352b8834321aefd739e18b45f83a279d383aedd06a7f39dea7516
+DIST EB77D3664EEA27D67B799ED28CB766B4D0971505-jaxb-api-osgi.jar 105613 RMD160 5b1b87c7a4525c801ee2dcd643956d4bc0205c3d SHA1 eb77d3664eea27d67b799ed28cb766b4d0971505 SHA256 47a602c750eebebf967031748b85d14c0c19a9a1a80c0cd7d1505eae9d70a6df
+DIST EBEC44255251E6D3B8DDBAF701F732DAF0238CBF-javaee-web-api-6.0.jar 930427 RMD160 cfb8edab5ce54208a4dfe60c9986170d6f652588 SHA1 ebec44255251e6d3b8ddbaf701f732daf0238cbf SHA256 7f1621299e3e47638571a4fffda5c33bf2b80d6b4cb1cae52e0f6b85d7ac343a
+DIST F10ED4F2ECC7724F7C25D586DC9F25377581CCFC-jersey-multipart-1.3-javadoc.jar 104495 RMD160 50199191918fc2cbe6361cbfaa3e7cd7b7d3dbe4 SHA1 f10ed4f2ecc7724f7c25d586dc9f25377581ccfc SHA256 c672f5aaeeee09c0013e36e402b136dce10ee7caaa0a600763d168ec89535098
+DIST F6E990DF59BD1FD2058320002A853A5411A45CD4-syntaxref20.zip 57110 RMD160 a2c0dea9c0f7b4eb487889b3ec3a5114ae188a5c SHA1 f6e990df59bd1fd2058320002a853a5411a45cd4 SHA256 fd191029e59405a3eedfeed81cfc0aab4e4f44c3d7ff39417a1975cedf12866a
+DIST FDECFB78184C7D19E7E20130A7D7E88C1DF0BDD1-metro-1.4-doc.zip 5025064 RMD160 e8d39c939b6eec86e13cc5fef983cfec6cdcae1e SHA1 fdecfb78184c7d19e7e20130a7d7e88c1df0bdd1 SHA256 7233497b97430016cd84dfcea79907c5c00f44fff09d448070d2b9799aea4592
+DIST FFE3425E304F0836912D2B8ABFB5302100B39423-jsr311-api-1.1.1-javadoc.jar 304118 RMD160 99deb07ee4c3d7257a2431830eb4f5889b4f5d6c SHA1 ffe3425e304f0836912d2b8abfb5302100b39423 SHA256 af3fbe42b4993a904673eb4500952093384cc85295ca5a35d1cb2059d41b2153
+DIST netbeans-7.0-build.xml.patch.bz2 1381 RMD160 a7a885fdae6f1bc654ace5aae4832fde5ffe8384 SHA1 92edb35b5c87535f01d237daf35763af847fb647 SHA256 2f5bf2ca235301487e0edd60742e5e536d98f3ee084a5835e6940840b287580f
+DIST netbeans-trunk-nightly-201101220001-src.zip 178771053 RMD160 dbaa99ed714d48269001bdf9145f108411aec109 SHA1 b9e51a807edc3137d7de98e0c2aa6dbc1f54a162 SHA256 bc042338611f80cd0004954dd9e37363ae38ef4a96bff16f153b05a59082b9e8
+EBUILD netbeans-enterprise-7.0_beta_p20110122.ebuild 16020 RMD160 0715d2637e9cbbd4587d56e95ef35c515d84388d SHA1 9c9cf79c57359acb461e8491c7c1bf6e2c18ae67 SHA256 c36cf743824f889986bfece2b2377696595de21d418f8607cd874d056bc9af65
diff --git a/dev-java/netbeans-enterprise/netbeans-enterprise-7.0_beta_p20110122.ebuild b/dev-java/netbeans-enterprise/netbeans-enterprise-7.0_beta_p20110122.ebuild
new file mode 100644
index 000000000..30000d4d0
--- /dev/null
+++ b/dev-java/netbeans-enterprise/netbeans-enterprise-7.0_beta_p20110122.ebuild
@@ -0,0 +1,290 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+WANT_ANT_TASKS="ant-nodeps"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Enterprise cluster"
+HOMEPAGE="http://netbeans.org/"
+SLOT="7.0"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/latest/zip/netbeans-trunk-nightly-201101220001-src.zip"
+SRC_URI="${SOURCE_URL}
+ http://dev.gentoo.org/~fordfrog/distfiles/netbeans-${SLOT}-build.xml.patch.bz2
+ http://hg.netbeans.org/binaries/2EA8E5BDC70E1B1D738140E52E4793385B2567A3-el-impl.jar
+ http://hg.netbeans.org/binaries/7763236B189D9B910E2BDBA6822E6EB4DDDAC41B-glassfish-jspparser-3.0.jar
+ http://hg.netbeans.org/binaries/D813E05A06B587CD0FE36B00442EAB03C1431AA9-glassfish-logging-2.0.jar
+ http://hg.netbeans.org/binaries/D6F416983EA13C334D5C599A9045414ECAF5D66D-javaee-api-6.0.jar
+ http://hg.netbeans.org/binaries/EBEC44255251E6D3B8DDBAF701F732DAF0238CBF-javaee-web-api-6.0.jar
+ http://hg.netbeans.org/binaries/DC9A229C4AB1788D0C20D937A82FB64CE2911171-javaee6-doc-api.zip
+ http://hg.netbeans.org/binaries/B290091E71DEED6CE7F9EB40523D49C26399A2B4-javax.annotation.jar
+ http://hg.netbeans.org/binaries/EB77D3664EEA27D67B799ED28CB766B4D0971505-jaxb-api-osgi.jar
+ http://hg.netbeans.org/binaries/BD6C7BD1452456F2F6B2A8CF6C4166493A24ABED-jersey-1.3.zip
+ http://hg.netbeans.org/binaries/955396DB8CE0477C6BD70BA830FF84CB9B7AB47B-jersey-client-1.3-javadoc.jar
+ http://hg.netbeans.org/binaries/A27843863A5EAE9DDFF1C70F7A95D3BFC2A59D99-jersey-core-1.1.5.1-javadoc.jar
+ http://hg.netbeans.org/binaries/6E3105315F3100F65D66355B04BA6B6C2B8480D3-jersey-json-1.3-javadoc.jar
+ http://hg.netbeans.org/binaries/F10ED4F2ECC7724F7C25D586DC9F25377581CCFC-jersey-multipart-1.3-javadoc.jar
+ http://hg.netbeans.org/binaries/123A7BAAE06D938E5E4533ED745EEE7377E73ED8-jersey-spring-1.3-javadoc.jar
+ http://hg.netbeans.org/binaries/B9DB1A789C301F1D31DD6CC524DA2EBD7F89190D-jsf-1.2.zip
+ http://hg.netbeans.org/binaries/7F8D0C26FEADDE01940E39B1D9CD175895A3243E-jsf-2.0.zip
+ http://hg.netbeans.org/binaries/93A58E37BA1D014375B1578F3D904736CB2D408F-jsf-api-docs.zip
+ http://hg.netbeans.org/binaries/FFE3425E304F0836912D2B8ABFB5302100B39423-jsr311-api-1.1.1-javadoc.jar
+ http://hg.netbeans.org/binaries/FDECFB78184C7D19E7E20130A7D7E88C1DF0BDD1-metro-1.4-doc.zip
+ http://hg.netbeans.org/binaries/16CD40905B389B27AFD81DAFF8F163CEC810FBC6-metro-2.0.zip
+ http://hg.netbeans.org/binaries/BAEA0B9171897175B0B3E20BDF532EF4CFD44CEE-oauth-client-1.3-javadoc.jar
+ http://hg.netbeans.org/binaries/4855C8481C6951F39DC117C44CA8EE70BF2B003F-oauth-signature-1.3-javadoc.jar
+ http://hg.netbeans.org/binaries/6017380527B332AD174FED03973C8FB8094E3258-primefaces-2.1.jar
+ http://hg.netbeans.org/binaries/B9FA9CDC7FA5203E1DB5C4DBAAED0133596D524F-servlet3.0-jsp2.2-api.jar
+ http://hg.netbeans.org/binaries/1A48EDCF8DCFC76882C821931EB0529DB9AF5D9B-spring-webmvc-2.5.6.SEC01.jar
+ http://hg.netbeans.org/binaries/E11C2384FDEAE4F96E433C2A0339DCFC5202CC17-struts-1.3.8-javadoc.zip
+ http://hg.netbeans.org/binaries/A3F62096FB53E14CF09B006458333792890CE429-struts-1.3.8-lib.zip
+ http://hg.netbeans.org/binaries/F6E990DF59BD1FD2058320002A853A5411A45CD4-syntaxref20.zip
+ http://hg.netbeans.org/binaries/A5744971ACE1F44A0FC71CCB93DE530CB3022965-webservices-api-osgi.jar"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-harness-${PV}
+ ~dev-java/netbeans-ide-${PV}
+ ~dev-java/netbeans-java-${PV}
+ ~dev-java/netbeans-profiler-${PV}
+ ~dev-java/netbeans-platform-${PV}
+ ~dev-java/netbeans-websvccommon-${PV}
+ dev-java/commons-fileupload:0
+ dev-java/glassfish-deployment-api:1.2
+ dev-java/httpunit:0
+ dev-java/jakarta-jstl:0"
+DEPEND=">=virtual/jdk-1.6
+ app-arch/unzip
+ ${CDEPEND}
+ dev-java/javahelp:0
+ dev-java/tomcat-servlet-api:2.3"
+RDEPEND=">=virtual/jdk-1.6
+ ${CDEPEND}
+ dev-java/antlr:0[java]
+ dev-java/asm:3
+ dev-java/bsf:2.3
+ dev-java/commons-beanutils:1.7
+ dev-java/commons-collections:0
+ dev-java/commons-digester:0
+ dev-java/commons-io:1
+ dev-java/commons-logging:0
+ dev-java/commons-validator:0
+ dev-java/jakarta-oro:2.0
+ dev-java/jettison:0
+ dev-java/jsr311-api:0"
+# dev-java/commons-chain:1.1 in overlay
+
+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.enterprise -Dext.binaries.downloaded=true"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-7.0-build.xml.patch.bz2
+
+ pushd "${S}" >/dev/null || die
+ ln -s "${DISTDIR}"/2EA8E5BDC70E1B1D738140E52E4793385B2567A3-el-impl.jar libs.elimpl/external/el-impl.jar || die
+ ln -s "${DISTDIR}"/7763236B189D9B910E2BDBA6822E6EB4DDDAC41B-glassfish-jspparser-3.0.jar web.jspparser/external/glassfish-jspparser-3.0.jar || die
+ ln -s "${DISTDIR}"/D813E05A06B587CD0FE36B00442EAB03C1431AA9-glassfish-logging-2.0.jar libs.glassfish_logging/external/glassfish-logging-2.0.jar || die
+ ln -s "${DISTDIR}"/D6F416983EA13C334D5C599A9045414ECAF5D66D-javaee-api-6.0.jar javaee.api/external/javaee-api-6.0.jar || die
+ ln -s "${DISTDIR}"/EBEC44255251E6D3B8DDBAF701F732DAF0238CBF-javaee-web-api-6.0.jar javaee.api/external/javaee-web-api-6.0.jar || die
+ ln -s "${DISTDIR}"/DC9A229C4AB1788D0C20D937A82FB64CE2911171-javaee6-doc-api.zip j2ee.platform/external/javaee6-doc-api.zip || die
+ ln -s "${DISTDIR}"/B290091E71DEED6CE7F9EB40523D49C26399A2B4-javax.annotation.jar javaee.api/external/javax.annotation.jar || die
+ ln -s "${DISTDIR}"/EB77D3664EEA27D67B799ED28CB766B4D0971505-jaxb-api-osgi.jar javaee.api/external/jaxb-api-osgi.jar || die
+ ln -s "${DISTDIR}"/BD6C7BD1452456F2F6B2A8CF6C4166493A24ABED-jersey-1.3.zip websvc.restlib/external/jersey-1.3.zip || die
+ ln -s "${DISTDIR}"/955396DB8CE0477C6BD70BA830FF84CB9B7AB47B-jersey-client-1.3-javadoc.jar websvc.restlib/external/jersey-client-1.3-javadoc.jar || die
+ ln -s "${DISTDIR}"/A27843863A5EAE9DDFF1C70F7A95D3BFC2A59D99-jersey-core-1.1.5.1-javadoc.jar websvc.restlib/external/jersey-core-1.1.5.1-javadoc.jar || die
+ ln -s "${DISTDIR}"/6E3105315F3100F65D66355B04BA6B6C2B8480D3-jersey-json-1.3-javadoc.jar websvc.restlib/external/jersey-json-1.3-javadoc.jar || die
+ ln -s "${DISTDIR}"/F10ED4F2ECC7724F7C25D586DC9F25377581CCFC-jersey-multipart-1.3-javadoc.jar websvc.restlib/external/jersey-multipart-1.3-javadoc.jar || die
+ ln -s "${DISTDIR}"/123A7BAAE06D938E5E4533ED745EEE7377E73ED8-jersey-spring-1.3-javadoc.jar websvc.restlib/external/jersey-spring-1.3-javadoc.jar || die
+ ln -s "${DISTDIR}"/B9DB1A789C301F1D31DD6CC524DA2EBD7F89190D-jsf-1.2.zip web.jsf12/external/jsf-1.2.zip || die
+ ln -s "${DISTDIR}"/7F8D0C26FEADDE01940E39B1D9CD175895A3243E-jsf-2.0.zip web.jsf20/external/jsf-2.0.zip || die
+ ln -s "${DISTDIR}"/93A58E37BA1D014375B1578F3D904736CB2D408F-jsf-api-docs.zip web.jsf.editor/external/jsf-api-docs.zip || die
+ ln -s "${DISTDIR}"/FFE3425E304F0836912D2B8ABFB5302100B39423-jsr311-api-1.1.1-javadoc.jar websvc.restlib/external/jsr311-api-1.1.1-javadoc.jar || die
+ ln -s "${DISTDIR}"/FDECFB78184C7D19E7E20130A7D7E88C1DF0BDD1-metro-1.4-doc.zip websvc.metro.lib/external/metro-1.4-doc.zip || die
+ ln -s "${DISTDIR}"/16CD40905B389B27AFD81DAFF8F163CEC810FBC6-metro-2.0.zip websvc.metro.lib/external/metro-2.0.zip || die
+ ln -s "${DISTDIR}"/BAEA0B9171897175B0B3E20BDF532EF4CFD44CEE-oauth-client-1.3-javadoc.jar websvc.restlib/external/oauth-client-1.3-javadoc.jar || die
+ ln -s "${DISTDIR}"/4855C8481C6951F39DC117C44CA8EE70BF2B003F-oauth-signature-1.3-javadoc.jar websvc.restlib/external/oauth-signature-1.3-javadoc.jar || die
+ ln -s "${DISTDIR}"/6017380527B332AD174FED03973C8FB8094E3258-primefaces-2.1.jar web.primefaces/external/primefaces-2.1.jar || die
+ ln -s "${DISTDIR}"/B9FA9CDC7FA5203E1DB5C4DBAAED0133596D524F-servlet3.0-jsp2.2-api.jar servletjspapi/external/servlet3.0-jsp2.2-api.jar || die
+ ln -s "${DISTDIR}"/1A48EDCF8DCFC76882C821931EB0529DB9AF5D9B-spring-webmvc-2.5.6.SEC01.jar spring.webmvc/external/spring-webmvc-2.5.6.SEC01.jar || die
+ ln -s "${DISTDIR}"/E11C2384FDEAE4F96E433C2A0339DCFC5202CC17-struts-1.3.8-javadoc.zip web.struts/external/struts-1.3.8-javadoc.zip || die
+ ln -s "${DISTDIR}"/A3F62096FB53E14CF09B006458333792890CE429-struts-1.3.8-lib.zip web.struts/external/struts-1.3.8-lib.zip || die
+ ln -s "${DISTDIR}"/F6E990DF59BD1FD2058320002A853A5411A45CD4-syntaxref20.zip web.core.syntax/external/syntaxref20.zip || die
+ ln -s "${DISTDIR}"/A5744971ACE1F44A0FC71CCB93DE530CB3022965-webservices-api-osgi.jar javaee.api/external/webservices-api-osgi.jar || die
+ popd >/dev/null || die
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-7.0-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 j2eeapis/external glassfish-deployment-api-1.2 glassfish-deployment-api.jar jsr88javax.jar
+ java-pkg_jar-from --into libs.commons_fileupload/external commons-fileupload commons-fileupload.jar commons-fileupload-1.0.jar
+ java-pkg_jar-from --into libs.httpunit/external httpunit httpunit.jar httpunit-1.6.2.jar
+ java-pkg_jar-from --into web.jstl11/external jakarta-jstl jstl.jar jstl-1.1.2.jar
+ java-pkg_jar-from --into web.jstl11/external jakarta-jstl standard.jar standard-1.1.2.jar
+ java-pkg_jar-from --build-only --into web.monitor/external tomcat-servlet-api-2.3 servlet.jar servlet-2.3.jar
+
+ einfo "Linking in other clusters..."
+ mkdir "${S}"/nbbuild/netbeans || die
+ pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+ 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-java-${SLOT} java || die
+ cat /usr/share/netbeans-java-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.java.built
+
+ ln -s /usr/share/netbeans-profiler-${SLOT} profiler || die
+ cat /usr/share/netbeans-profiler-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.profiler.built
+
+ 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-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
+}
+
+src_install() {
+ pushd nbbuild/netbeans/enterprise >/dev/null || die
+
+ insinto ${INSTALL_DIR} || die
+
+ grep -E "/enterprise$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+ doins -r * || die
+
+ popd >/dev/null || die
+
+ local instdir=${INSTALL_DIR}/modules/ext
+ pushd "${D}"/${instdir} >/dev/null || die
+ # el-impl.jar
+ # glassfish-jspparser-3.0.jar
+ # glassfish-logging-2.0.jar
+ rm httpunit-1.6.2.jar && dosym /usr/share/httpunit/lib/httpunit.jar ${instdir}/httpunit-1.6.2.jar || die
+ # javaee-api-6.0.jar
+ # javaee-api-6.0-license.txt
+ # javaee-web-api-6.0.jar
+ # javaee-web-api-6.0-license.txt
+ # jsp-parser-ext.jar
+ rm jsr88javax.jar && dosym /usr/share/glassfish-deployment-api-1.2/lib/glassfish-deployment-api.jar ${instdir}/jsr88javax.jar || die
+ rm jstl.jar && dosym /usr/share/jakarta-jstl/lib/jstl.jar ${instdir}/jstl.jar || die
+ # org-netbeans-modules-web-httpmonitor.jar
+ # servlet3.0-jsp2.2-api.jar
+ rm standard.jar && dosym /usr/share/jakarta-jstl/lib/standard.jar ${instdir}/standard.jar || die
+ popd >/dev/null || die
+
+ local instdir=${INSTALL_DIR}/modules/ext/javaee6-endorsed
+ pushd "${D}"/${instdir} >/dev/null || die
+ # javax.annotation.jar
+ # javax.annotation-license.txt
+ # jaxb-api-osgi.jar
+ # jaxb-api-osgi-license.txt
+ # webservices-api-osgi.jar
+ # webservices-api-osgi-license.txt
+ popd >/dev/null || die
+
+ local instdir=${INSTALL_DIR}/modules/ext/jsf-1_2
+ pushd "${D}"/${instdir} >/dev/null || die
+ rm commons-beanutils.jar && dosym /usr/share/commons-beanutils-1.7/lib/commons-beanutils.jar ${instdir}/commons-beanutils.jar || die
+ rm commons-collections.jar && dosym /usr/share/commons-collections/lib/commons-collections.jar ${instdir}/commons-collections.jar || die
+ rm commons-digester.jar && dosym /usr/share/commons-digester/lib/commons-digester.jar ${instdir}/commons-digester.jar || die
+ rm commons-logging.jar && dosym /usr/share/commons-logging/lib/commons-logging.jar ${instdir}/commons-logging.jar || die
+ # jsf-api.jar
+ # jsf-impl.jar
+ popd >/dev/null || die
+
+ local instdir=${INSTALL_DIR}/modules/ext/jsf-2_0
+ pushd "${D}"/${instdir} >/dev/null || die
+ # jsf-api.jar
+ # jsf-impl.jar
+ popd >/dev/null || die
+
+ local instdir=${INSTALL_DIR}/modules/ext/metro
+ pushd "${D}"/${instdir} >/dev/null || die
+ # webservices-api.jar
+ # webservices-extra-api.jar
+ # webservices-extra.jar
+ # webservices-rt.jar
+ # webservices-tools.jar
+ popd >/dev/null || die
+
+ local instdir=${INSTALL_DIR}/modules/ext/primefaces
+ pushd "${D}"/${instdir} >/dev/null || die
+ # primefaces-2.1.jar
+ popd >/dev/null || die
+
+ local instdir=${INSTALL_DIR}/modules/ext/rest
+ pushd "${D}"/${instdir} >/dev/null || die
+ rm asm-3.1.jar && dosym /usr/share/asm-3/lib/asm.jar ${instdir}/asm-3.1.jar || die
+ # jackson-core-asl-1.1.1.jar
+ # jersey-client-1.3.jar
+ # jersey-core-1.3.jar
+ # jersey-json-1.3.jar
+ # jersey-multipart-1.3.jar
+ # jersey-server-1.3.jar
+ # jersey-spring-1.3.jar
+ rm jettison-1.1.jar && dosym /usr/share/jettison/lib/jettison.jar ${instdir}/jettison-1.1.jar || die
+ rm jsr311-api-1.1.1.jar && dosym /usr/share/jsr311-api/lib/jsr311-api.jar ${instdir}/jsr311-api-1.1.1.jar || die
+ # mimepull-1.4.jar
+ # oauth-client-1.3.jar
+ # oauth-signature-1.3.jar
+ popd >/dev/null || die
+
+ local instdir=${INSTALL_DIR}/modules/ext/spring
+ pushd "${D}"/${instdir} >/dev/null || die
+ # spring-webmvc-2.5.6.SEC01.jar
+ popd >/dev/null || die
+
+ local instdir=${INSTALL_DIR}/modules/ext/struts
+ pushd "${D}"/${instdir} >/dev/null || die
+ rm antlr-2.7.2.jar && dosym /usr/share/antlr/lib/antlr.jar ${instdir}/antlr-2.7.2.jar || die
+ rm bsf-2.3.0.jar && dosym /usr/share/bsf-2.3/lib/bsf.jar ${instdir}/bsf-2.3.0.jar || die
+ rm commons-beanutils-1.7.0.jar && dosym /usr/share/commons-beanutils-1.7/lib/commons-beanutils.jar ${instdir}/commons-beanutils-1.7.0.jar || die
+ rm commons-digester-1.8.jar && dosym /usr/share/commons-digester/lib/commons-digester.jar ${instdir}/commons-digester-1.8.jar || die
+ rm commons-fileupload-1.1.1.jar && dosym /usr/share/commons-fileupload/lib/commons-fileupload.jar ${instdir}/commons-fileupload-1.1.1.jar || die
+ # rm commons-chain-1.1.jar && dosym /usr/share/commons-chain-1.1/lib/commons-chain.jar ${instdir}/commons-chain-1.1.jar || die
+ rm commons-io-1.1.jar && dosym /usr/share/commons-io-1/lib/commons-io.jar ${instdir}/commons-io-1.1.jar || die
+ rm commons-logging-1.0.4.jar && dosym /usr/share/commons-logging/lib/commons-logging.jar ${instdir}/commons-logging-1.0.4.jar || die
+ rm commons-validator-1.3.1.jar && dosym /usr/share/commons-validator/lib/commons-validator.jar ${instdir}/commons-validator-1.3.1.jar || die
+ rm jstl-1.0.2.jar && dosym /usr/share/jakarta-jstl/lib/jstl.jar ${instdir}/jstl-1.0.2.jar || die
+ rm oro-2.0.8.jar && dosym /usr/share/jakarta-oro-2.0/lib/jakarta-oro.jar ${instdir}/oro-2.0.8.jar || die
+ rm standard-1.0.2.jar && dosym /usr/share/jakarta-jstl/lib/standard.jar ${instdir}/standard-1.0.2.jar || die
+ # struts-core-1.3.8.jar
+ # struts-el-1.3.8.jar
+ # struts-extras-1.3.8.jar
+ # struts-faces-1.3.8.jar
+ # struts-mailreader-dao-1.3.8.jar
+ # struts-scripting-1.3.8.jar
+ # struts-taglib-1.3.8.jar
+ # struts-tiles-1.3.8.jar
+ popd >/dev/null || die
+}
diff --git a/dev-java/netbeans-ergonomics/Manifest b/dev-java/netbeans-ergonomics/Manifest
new file mode 100644
index 000000000..853bebe73
--- /dev/null
+++ b/dev-java/netbeans-ergonomics/Manifest
@@ -0,0 +1,3 @@
+DIST netbeans-7.0-build.xml.patch.bz2 1381 RMD160 a7a885fdae6f1bc654ace5aae4832fde5ffe8384 SHA1 92edb35b5c87535f01d237daf35763af847fb647 SHA256 2f5bf2ca235301487e0edd60742e5e536d98f3ee084a5835e6940840b287580f
+DIST netbeans-trunk-nightly-201101220001-src.zip 178771053 RMD160 dbaa99ed714d48269001bdf9145f108411aec109 SHA1 b9e51a807edc3137d7de98e0c2aa6dbc1f54a162 SHA256 bc042338611f80cd0004954dd9e37363ae38ef4a96bff16f153b05a59082b9e8
+EBUILD netbeans-ergonomics-7.0_beta_p20110122.ebuild 2473 RMD160 5416d9b8e5262a2d8887df7f4df09027f8522d1f SHA1 7df008117a7b68796cd1a80800e4f19d8d812ae0 SHA256 ee67f776d245ea14be470612ad1e4ef0811311a531f48c76001abe1b5803d896
diff --git a/dev-java/netbeans-ergonomics/netbeans-ergonomics-7.0_beta_p20110122.ebuild b/dev-java/netbeans-ergonomics/netbeans-ergonomics-7.0_beta_p20110122.ebuild
new file mode 100644
index 000000000..2247f5672
--- /dev/null
+++ b/dev-java/netbeans-ergonomics/netbeans-ergonomics-7.0_beta_p20110122.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+WANT_ANT_TASKS="ant-nodeps"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Ergonomics Cluster"
+HOMEPAGE="http://netbeans.org/"
+SLOT="7.0"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/latest/zip/netbeans-trunk-nightly-201101220001-src.zip"
+SRC_URI="${SOURCE_URL}
+ http://dev.gentoo.org/~fordfrog/distfiles/netbeans-${SLOT}-build.xml.patch.bz2"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-ide-${PV}
+ ~dev-java/netbeans-nb-${PV}
+ ~dev-java/netbeans-platform-${PV}"
+DEPEND=">=virtual/jdk-1.6
+ app-arch/unzip
+ ${CDEPEND}
+ dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.6
+ ${CDEPEND}"
+
+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.ergonomics -Dext.binaries.downloaded=true"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-7.0-build.xml.patch.bz2
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-7.0-build.xml.patch
+
+ einfo "Symlinking external libraries..."
+ java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+
+ einfo "Linking in other clusters..."
+ mkdir "${S}"/nbbuild/netbeans || die
+ pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+ 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-nb-${SLOT}/nb nb || die
+ cat /usr/share/netbeans-nb-${SLOT}/nb/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.nb.built
+
+ 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
+
+ popd >/dev/null || die
+
+ java-pkg-2_src_prepare
+}
+
+src_install() {
+ pushd nbbuild/netbeans/ergonomics >/dev/null || die
+
+ insinto ${INSTALL_DIR} || die
+
+ grep -E "/ergonomics$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+ doins -r * || die
+
+ popd >/dev/null || die
+}
diff --git a/dev-java/netbeans-groovy/Manifest b/dev-java/netbeans-groovy/Manifest
new file mode 100644
index 000000000..9d16f7409
--- /dev/null
+++ b/dev-java/netbeans-groovy/Manifest
@@ -0,0 +1,4 @@
+DIST 559C961A6CE793FAC94C8040253EA1FBD32B668B-groovy-all-1.6.4.jar 4503584 RMD160 0886cf2b601464a436613854925c5be74b86ec83 SHA1 559c961a6ce793fac94c8040253ea1fbd32b668b SHA256 4e1c36766e9af21519c6f6ee1a6ea21cfc020b253c27aa6d12d58f09c78602f9
+DIST netbeans-7.0-build.xml.patch.bz2 1381 RMD160 a7a885fdae6f1bc654ace5aae4832fde5ffe8384 SHA1 92edb35b5c87535f01d237daf35763af847fb647 SHA256 2f5bf2ca235301487e0edd60742e5e536d98f3ee084a5835e6940840b287580f
+DIST netbeans-trunk-nightly-201101220001-src.zip 178771053 RMD160 dbaa99ed714d48269001bdf9145f108411aec109 SHA1 b9e51a807edc3137d7de98e0c2aa6dbc1f54a162 SHA256 bc042338611f80cd0004954dd9e37363ae38ef4a96bff16f153b05a59082b9e8
+EBUILD netbeans-groovy-7.0_beta_p20110122.ebuild 2889 RMD160 0dddb5d70a26b951c66bf36fd6bffff08d8aafc7 SHA1 6b312d05d4eaca4b5c9399bd823cbed4d4eea764 SHA256 f3b7c07246b71e7464d19c3ec74ba25f6e132f56c0a54249d421346134d92485
diff --git a/dev-java/netbeans-groovy/netbeans-groovy-7.0_beta_p20110122.ebuild b/dev-java/netbeans-groovy/netbeans-groovy-7.0_beta_p20110122.ebuild
new file mode 100644
index 000000000..79649a297
--- /dev/null
+++ b/dev-java/netbeans-groovy/netbeans-groovy-7.0_beta_p20110122.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+WANT_ANT_TASKS="ant-nodeps"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Groovy Cluster"
+HOMEPAGE="http://netbeans.org/projects/groovy"
+SLOT="7.0"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/latest/zip/netbeans-trunk-nightly-201101220001-src.zip"
+SRC_URI="${SOURCE_URL}
+ http://dev.gentoo.org/~fordfrog/distfiles/netbeans-${SLOT}-build.xml.patch.bz2
+ http://hg.netbeans.org/binaries/559C961A6CE793FAC94C8040253EA1FBD32B668B-groovy-all-1.6.4.jar"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-ide-${PV}
+ ~dev-java/netbeans-java-${PV}
+ ~dev-java/netbeans-platform-${PV}"
+DEPEND=">=virtual/jdk-1.6
+ app-arch/unzip
+ ${CDEPEND}
+ dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.6
+ ${CDEPEND}"
+
+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.groovy -Dext.binaries.downloaded=true"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-7.0-build.xml.patch.bz2
+
+ pushd "${S}" >/dev/null || die
+ ln -s "${DISTDIR}"/559C961A6CE793FAC94C8040253EA1FBD32B668B-groovy-all-1.6.4.jar groovy.editor/external/groovy-all-1.6.4.jar || die
+ popd >/dev/null || die
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-7.0-build.xml.patch
+
+ einfo "Symlinking external libraries..."
+ java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+
+ einfo "Linking in other clusters..."
+ mkdir "${S}"/nbbuild/netbeans || die
+ pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+ 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-java-${SLOT} java || die
+ cat /usr/share/netbeans-java-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.java.built
+
+ 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
+
+ popd >/dev/null || die
+
+ java-pkg-2_src_prepare
+}
+
+src_install() {
+ pushd nbbuild/netbeans/groovy >/dev/null || die
+
+ insinto ${INSTALL_DIR} || die
+
+ grep -E "/groovy$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+ doins -r * || die
+
+ popd >/dev/null || die
+
+ local instdir=${INSTALL_DIR}/modules/ext
+ pushd "${D}"/${instdir} >/dev/null || die
+ # groovy-all.jar
+ popd >/dev/null || die
+}
diff --git a/dev-java/netbeans-harness/Manifest b/dev-java/netbeans-harness/Manifest
new file mode 100644
index 000000000..101b85daf
--- /dev/null
+++ b/dev-java/netbeans-harness/Manifest
@@ -0,0 +1,5 @@
+DIST 418FC62C8A6EF5311987B01FE389B1F88EFDDCA2-jemmy-2.3.0.0.jar 1695373 RMD160 f668bba808f22b28f6dcb70d5a1d6e98a166da8d SHA1 418fc62c8a6ef5311987b01fe389b1f88efddca2 SHA256 7676709cfadc97da5056cb90f35b57850259444ef97f03905b83bd08e39fa0db
+DIST A806D99716C5E9441BFD8B401176FDDEFC673022-bindex-2.2.jar 109823 RMD160 4033e5b1d3508c6bbf43c03476967e665b9cbe79 SHA1 a806d99716c5e9441bfd8b401176fddefc673022 SHA256 18050686d2da634f3612a8100c405eb092dc06d86b8917c6b945d096daf49f94
+DIST netbeans-7.0-build.xml.patch.bz2 1381 RMD160 a7a885fdae6f1bc654ace5aae4832fde5ffe8384 SHA1 92edb35b5c87535f01d237daf35763af847fb647 SHA256 2f5bf2ca235301487e0edd60742e5e536d98f3ee084a5835e6940840b287580f
+DIST netbeans-trunk-nightly-201101220001-src.zip 178771053 RMD160 dbaa99ed714d48269001bdf9145f108411aec109 SHA1 b9e51a807edc3137d7de98e0c2aa6dbc1f54a162 SHA256 bc042338611f80cd0004954dd9e37363ae38ef4a96bff16f153b05a59082b9e8
+EBUILD netbeans-harness-7.0_beta_p20110122.ebuild 2927 RMD160 48340a8eeb7601eb9e74f0135b783cd4e7d7c653 SHA1 6bd797e7a221dfe302df51a1e672987bee4fe3f4 SHA256 b1f8eb6db64a0972da43525b9713a90f7a0a15e332639888b7142020fddf7bb7
diff --git a/dev-java/netbeans-harness/netbeans-harness-7.0_beta_p20110122.ebuild b/dev-java/netbeans-harness/netbeans-harness-7.0_beta_p20110122.ebuild
new file mode 100644
index 000000000..43eb8867a
--- /dev/null
+++ b/dev-java/netbeans-harness/netbeans-harness-7.0_beta_p20110122.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+WANT_ANT_TASKS="ant-nodeps"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Harness"
+HOMEPAGE="http://netbeans.org/features/platform/"
+SLOT="7.0"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/latest/zip/netbeans-trunk-nightly-201101220001-src.zip"
+SRC_URI="${SOURCE_URL}
+ http://dev.gentoo.org/~fordfrog/distfiles/netbeans-${SLOT}-build.xml.patch.bz2
+ http://hg.netbeans.org/binaries/A806D99716C5E9441BFD8B401176FDDEFC673022-bindex-2.2.jar
+ http://hg.netbeans.org/binaries/418FC62C8A6EF5311987B01FE389B1F88EFDDCA2-jemmy-2.3.0.0.jar"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-platform-${PV}
+ dev-java/javahelp:0"
+DEPEND=">=virtual/jdk-1.6
+ app-arch/unzip
+ ${CDEPEND}"
+RDEPEND=">=virtual/jdk-1.6
+ ${CDEPEND}"
+
+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.harness -Dext.binaries.downloaded=true"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-7.0-build.xml.patch.bz2
+
+ pushd "${S}" >/dev/null || die
+ ln -s "${DISTDIR}"/A806D99716C5E9441BFD8B401176FDDEFC673022-bindex-2.2.jar apisupport.harness/external/bindex-2.2.jar || die
+ ln -s "${DISTDIR}"/418FC62C8A6EF5311987B01FE389B1F88EFDDCA2-jemmy-2.3.0.0.jar jemmy/external/jemmy-2.3.0.0.jar || die
+ popd >/dev/null || die
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-7.0-build.xml.patch
+
+ einfo "Symlinking external libraries..."
+ java-pkg_jar-from --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+ java-pkg_jar-from --into apisupport.harness/external javahelp jsearch.jar jsearch-2.0_05.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
+ popd >/dev/null || die
+
+ java-pkg-2_src_prepare
+}
+
+src_install() {
+ pushd nbbuild/netbeans/harness >/dev/null || die
+
+ insinto ${INSTALL_DIR} || die
+
+ grep -E "/harness$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+ doins -r * || die
+ fperms 755 launchers/app.sh || die
+ find "${D}" -name "*.exe" -type f -delete
+
+ popd >/dev/null || die
+
+ local instdir=${INSTALL_DIR}/antlib
+ pushd "${D}"/${instdir} >/dev/null || die
+ # bindex-2.2.jar
+ rm jsearch-2.0_05.jar && dosym /usr/share/javahelp/lib/jsearch.jar ${instdir}/jsearch-2.0_05.jar || die
+ popd >/dev/null || die
+}
diff --git a/dev-java/netbeans-ide/Manifest b/dev-java/netbeans-ide/Manifest
new file mode 100644
index 000000000..21ba635ba
--- /dev/null
+++ b/dev-java/netbeans-ide/Manifest
@@ -0,0 +1,46 @@
+DIST 02C39E6C02E2386D4936245F90AC4BFA5A7BCD49-org.eclipse.mylyn.commons.net_3.3.0.jar 68005 RMD160 d2880ead77372ed0302c8b8c3067604ac717554a SHA1 02c39e6c02e2386d4936245f90ac4bfa5a7bcd49 SHA256 9232c82c5f708b27821c4782a7a7dda2267cce41e371416e6af717ca58b06bf0
+DIST 0AE20EC02958F193ADAB4C272ACCF6FE3196DCA0-svnClientAdapter-svnkit-1.6.13.jar 69882 RMD160 e022fdb6545656b673292f462066fec161174c15 SHA1 0ae20ec02958f193adab4c272accf6fe3196dca0 SHA256 b4b22b91fff9b413b808669870a8bbd598864457501fa2e28b7a33df014b6b05
+DIST 0B9606F570B28FFC4FCE6C7222B88B3DCEFB1A36-svnClientAdapter-javahl-1.6.13.jar 64834 RMD160 c914749eb19c1eb22ba0e793a971c5d45e183e15 SHA1 0b9606f570b28ffc4fce6c7222b88b3dcefb1a36 SHA256 2adb006a052cfb880d549d8ac4b43b8292ae85cc1a8be05c28b61cbdcdca580b
+DIST 0DCC973606CBD9737541AA5F3E76DED6E3F4D0D0-iri.jar 150954 RMD160 3f9c933590ef6424db01d8568eb24efa77f2da5a SHA1 0dcc973606cbd9737541aa5f3e76ded6e3f4d0d0 SHA256 ee222dace05fb8737015549c600873a378e8301e315b2e38c3ecdb479fd930e4
+DIST 1162833E0FE87B69B99B1F7DEB3A6C386EAB6F84-rhino1_7R2rc1.zip 577326 RMD160 a69d4012f91c81f4cab55f0615967c3728e34e96 SHA1 1162833e0fe87b69b99b1f7deb3a6c386eab6f84 SHA256 108791b171658e5f828003c5f974008a4c3ec13125550c91092d715a80c9fd17
+DIST 23123BB29025254556B6E573023FCDF0F6715A66-html-4.01.zip 401328 RMD160 9b85293a7e8016fa20252dff4bbde6ad5c7336d7 SHA1 23123bb29025254556b6e573023fcdf0f6715a66 SHA256 c0b63e8b5f246574ce5571e1fbc6b716b68a9e64bf9433800a61777e5ccaf3e2
+DIST 27FAE927B5B9AE53A5B0ED825575DD8217CE7042-jaxb-api-doc.zip 428971 RMD160 4a1b467859d9d603eb333b9987f66a8fc794a016 SHA1 27fae927b5b9ae53a5b0ed825575dd8217ce7042 SHA256 e8a264a9f8951347bd133033e29790964773b74ecac2e924acfdac332aaa89e1
+DIST 2E07375E5CA3A452472F0E87FB33F243F7A5C08C-libpam4j-1.1.jar 12471 RMD160 8746e25de3d3c88979072e84fac6e0c8c1c1a6ec SHA1 2e07375e5ca3a452472f0e87fb33f243f7a5c08c SHA256 14db2413c87355b06b5f3a7d14ce046f1a9aebf95d4e6b2dd36f3f39ac367196
+DIST 2EC69BD69B66B0DABEA392DE713A11F975001760-jaxb-impl.jar 872839 RMD160 5b912560ffa80ed370a9cba50ffcb4138750702d SHA1 2ec69bd69b66b0dabea392de713a11f975001760 SHA256 4e0788d4b3638b98e67a6501d47e0ca666116ea7b6dbaa8a15dc65ed349b6918
+DIST 4388C34B9F085A42FBEA06C5B00FDF0A251171EC-html5doc.zip 1251427 RMD160 585626cb68b7088e11e926eca7306ccbc3437adf SHA1 4388c34b9f085a42fbea06c5b00fdf0a251171ec SHA256 3b85a7d98e119a1f1993a2154889314df59397c16237c90b007b9d0427cde434
+DIST 538D727A9A0874019FB11280F07CE3F43EE723BC-sqljet-1.0.3.jar 773565 RMD160 77506872b4071f8e814971a7465e038e10d1b969 SHA1 538d727a9a0874019fb11280f07ce3f43ee723bc SHA256 2794c5bd39fef0f26bc5d389c5dc5b1a8c32c2abbb5bbc1d0abc287ac827a0ed
+DIST 55CD0B272084EB80B8C91F3A0617BB602B4EF2DF-ValidationAPI.jar 232447 RMD160 d1a7f91027646330c2770b6253b5c6865ce5be51 SHA1 55cd0b272084eb80b8c91f3a0617bb602b4ef2df SHA256 9580840fc4939ab7852e27a863d4c0aedfbe652de89e0e4d55c87aef84aa26ba
+DIST 636C6FF256A978B786D7502F43E788448E9DAB4B-svnkit-1.3.4.jar 1875086 RMD160 357caaa18a747b6fcaea951ebc0ec900f25e402a SHA1 636c6ff256a978b786d7502f43e788448e9dab4b SHA256 b0961fd9852fcc98d4d61bba9cb4b1e6f47e480f8e552b1ba448a9b7cc03b967
+DIST 64D468922B85A9626178AEDF564FFDBDE980B3EC-jaxb-xjc.jar 3101294 RMD160 e2042587943230b38ab0e005764ad070150eecf0 SHA1 64d468922b85a9626178aedf564ffdbde980b3ec SHA256 ae5f21929cf96d5a143372251a121a8796a4b5d0c6d77bfa9388803220b8871c
+DIST 68B82D7246FD90E0FC70BB9C8F10611489BF371A-trilead.jar 251371 RMD160 54f0a1e32b09ddd6318b75c56f488dd279272cb3 SHA1 68b82d7246fd90e0fc70bb9c8f10611489bf371a SHA256 d2819211316fb9e7507a927fe1afd9810e0c938680b15e299c31f0f5490751a6
+DIST 71F7D2D5A3CF17CECBD15049A856BC0245C95C56-js.jar 756883 RMD160 620b8d35d1a3e4677a3f3e657835e8ecc4ce34f6 SHA1 71f7d2d5a3cf17cecbd15049a856bc0245c95c56 SHA256 30bb058a39a819a85e5957672afbdb717d8cc9fc9372c282f2128838311cc9f8
+DIST 77DB1AFF3C0730C144D30C9935A1CD8DCD2488A9-html5-datatypes.jar 222062 RMD160 3cc1a42168e053934d4ca6cc251cc369ce0fcb86 SHA1 77db1aff3c0730c144d30c9935a1cd8dcd2488a9 SHA256 3b282061248b3ad1e28af6b398eda6ee0f6c5b2cc3468904bb1ea7600ce1233e
+DIST 7A5A7DF07297A86A944D4D0562C685585B0734EF-validator.jar 1651182 RMD160 3d072ada472d0a5fdcd73d115ce4da5990280e85 SHA1 7a5a7df07297a86a944d4d0562c685585b0734ef SHA256 a44aa5f74efbcb98ea1ca369bf2fb31ec3be062817d8109f501c76e6d03c0872
+DIST 7C6ED64C55164C5AE0394E11303CA95CB24166AF-swingx-0.9.5.jar 1251427 RMD160 59a9e6cfd63c005644e518e46a0fb6a9a378b4fd SHA1 7c6ed64c55164c5ae0394e11303ca95cb24166af SHA256 4ba498b4e40ab332cdacee652e642bc2cbc69979e1ccabeec746fa4f68a5b8d1
+DIST 7D3CCD3ED4DB57F2B746F5ABAF86D10F222AEB87-org.eclipse.mylyn.commons.core_3.3.1.jar 24879 RMD160 cc1c89754f37b4c4240985725548739f7d079031 SHA1 7d3ccd3ed4db57f2b746f5abaf86d10f222aeb87 SHA256 4f182ba7d34e64b1a681402edd78dd70ff6ee47c0453c93940d683ace03d40dc
+DIST 886FAF4B85054DD6E50D9B3438542F432B5F9251-bytelist-0.1.jar 8266 RMD160 8ca1cc86f4e240372eebf54fc91315f22496729a SHA1 886faf4b85054dd6e50d9b3438542f432b5f9251 SHA256 a187dd97be412fd220fea5cd430e8cf45a107e92614f1ffe046afc5d2ef1c045
+DIST 8E737D82ECAC9BA6100A9BBA71E92A381B75EFDC-ini4j-0.5.1.jar 96879 RMD160 9dce316a9eba965bb49e2ced479646fab8efee1b SHA1 8e737d82ecac9ba6100a9bba71e92a381b75efdc SHA256 1c0c86469cd3b928fda138d6bc0a69cdca3969a7a91c5483db84e657dc91336a
+DIST 901D8F815922C435D985DA3814D20E34CC7622CB-css21-spec.zip 912288 RMD160 fd00b49f70a096041d273135b6dcd161766fe378 SHA1 901d8f815922c435d985da3814d20e34cc7622cb SHA256 747aae4b1055f3690019794d1fee2dae9a1446d0a06d5c1d3125959f87a1cf58
+DIST 94408B54D039DA036A668C6B331EF944AF2E90EC-org.eclipse.mylyn.bugzilla.core_3.3.1.jar 186204 RMD160 ed8ba7e41a7c8e709628ae976e0e5fcbcd94acae SHA1 94408b54d039da036a668c6b331ef944af2e90ec SHA256 3ddcb886ba809a680cfc8c1789d7d20b936bd0d515a51bda2be399f1db055070
+DIST A11623D2AF72A99C1509EC2A0ADA2DACBEE9A8E4-svnClientAdapter-main-1.6.13.jar 67761 RMD160 625002432eac77a9f71057b8be13ce2d052ec2a8 SHA1 a11623d2af72a99c1509ec2a0ada2dacbee9a8e4 SHA256 6fc7ac0d87d0bb4f623b85b3c2cd889bd9a62f4f6e4220f27ac5fb856f1f1eeb
+DIST A1C0ED8C43A306E3FB7676E7463204B9DA9BE290-non-schema.jar 124372 RMD160 8cf56eec6527137f812ddcb7ed9c80b90e910dca SHA1 a1c0ed8c43a306e3fb7676e7463204b9da9be290 SHA256 a808096a82f0e106287f6e9cbab3da5665552ea06ffe912e4a8fc55119b8f99d
+DIST A2862B7795EF0E0F0716BEC84528FA3B629E479C-io-xml-util.jar 190101 RMD160 dde17618bc65f2a180dde956c481bc1b714d28c8 SHA1 a2862b7795ef0e0f0716bec84528fa3b629e479c SHA256 4333ace938017979a402f497f6535aad9784ab726463c6232a79c0246f57c9ed
+DIST AB271CFC19469D9088BE306685A7AC8787373F99-svnkit-javahl.jar 108278 RMD160 f2e20aca47db9fea33c1849ba3c518b0faa1f393 SHA1 ab271cfc19469d9088be306685a7ac8787373f99 SHA256 0d7da46bfa2dd5d4daf2eebb086082915d73e6a1dab9c17885b2b30600a20b53
+DIST B0D0FCBAC68826D2AFA3C7C89FC4D57B95A000C3-resolver-1.2.jar 90859 RMD160 cde382392df3dbf58a2c9dcac4b85e8c06b67f31 SHA1 b0d0fcbac68826d2afa3c7c89fc4d57b95a000c3 SHA256 b3b421fd586c67e0c7f04b879ad527a8a295de222392ded6e68c62b9af669d11
+DIST B5A42F83FEBBB9781C7F2CAA6DC59D37AF09B8E8-jsstubs.zip 164680 RMD160 dad0eeb528784e019b785f2adb701be805c198ba SHA1 b5a42f83febbb9781c7f2caa6dc59d37af09b8e8 SHA256 b5a4454ec373fc969fdf5f4bf3c463a3dbecdac2feb8799413866c11d9a9d57a
+DIST BCF23B1D858C6F69D67C851D497984D25345D0B1-jaxb-api.jar 104172 RMD160 70595eb5dd26ecf5e506fd08bec91584a5c774d5 SHA1 bcf23b1d858c6f69d67c851d497984d25345d0b1 SHA256 34c022696b577e984d42641428e6e49a8afa0257c4ec96feff36e4b67c093390
+DIST C0C5653D2200F2BD2E834B26DFDBC830D07FA0F4-jing.jar 625400 RMD160 0d0a0a7fb80b85503ce85dee4ac302e804e7a6ed SHA1 c0c5653d2200f2bd2e834b26dfdbc830d07fa0f4 SHA256 7f71ade91cb8e0c503ac334a1b76143d94a266f87cf1621991ec9b133f90f2bd
+DIST C56F4F5C42102A67F56EB8F12D0219E92E5307C2-sdocs.zip 348661 RMD160 0c0618080d909af181cca9f5b7e3632b9bacd6c1 SHA1 c56f4f5c42102a67f56eb8f12d0219e92e5307c2 SHA256 3db0a5869f40fe897b05ff7f9bd6889a25a4390584c6ab9ad58d00417c862155
+DIST C9757EFB2CFBA523A7375A78FA9ECFAF0D0AC505-winp-1.14-patched.jar 18627 RMD160 b32245bfbf94e120190260a952f7eb706f98f261 SHA1 c9757efb2cfba523a7375a78fa9ecfaf0d0ac505 SHA256 a8fdf6cc2afb7e11c7ddc28cc8e7242e7678c65186a78429b81a0bffec9a200f
+DIST CD33537FD47E801E01B427997F3DE4016159B414-preindexed.zip 114314 RMD160 54b45b77b9d74b314ccd9df93075c3dd13b5b5b5 SHA1 cd33537fd47e801e01b427997f3de4016159b414 SHA256 b7be73a6f3837754dd9bddea8996217ed3b0d0e47226869f604c525b13a7910f
+DIST CD5B5996B46CB8D96C8F0F89A7A734B3C01F3DF7-tomcat-webserver-3.2.jar 406767 RMD160 32085ffda7b8d8419fc2acb35498040d85afe6b8 SHA1 cd5b5996b46cb8d96c8f0f89a7a734b3c01f3df7 SHA256 4525fe21d3889dcc8b8b4edf17310e7b361696fcee2006349464aac794b535e0
+DIST D528B44AE7593D2275927396BF930B28078C5220-htmlparser-1.2.1.jar 290305 RMD160 1e037445f71376846e05f67ffb1de369c92d729f SHA1 d528b44ae7593d2275927396bf930b28078c5220 SHA256 5a66f5d12058cdaddf6f945b419c3b2f7fcddbd5e6d3a933ccbebaad569452c7
+DIST DF522A06BF4EFD99A12C545C294D940CF6A2E01D-org.eclipse.mylyn.tasks.core_3.3.1.jar 342835 RMD160 9d6245681d6c385bfcd7e19cbce3462f07939c25 SHA1 df522a06bf4efd99a12c545c294d940cf6a2e01d SHA256 a207e1469504969340ded4c6ca02d24624c05148e08f1ddd9b0ebf8311532cd1
+DIST E66876EB5F33AA0E57F035F1AADD8C44FEAE7FCB-processtreekiller-1.0.1.jar 33750 RMD160 b15263587fbb04bb24f5a88a103c9b74991d1dac SHA1 e66876eb5f33aa0e57f035f1aadd8c44feae7fcb SHA256 06a523b6db1cbc3ef5fa61d13a425e884b526887b8ab9a9be9d3ae53e1df9a91
+DIST EE337176CFEC21CF191C12BA7B02C8E08F297FEE-js-domstubs.zip 313956 RMD160 3c0beacb5b186d20ac3d44e9c70263b641b7e4e5 SHA1 ee337176cfec21cf191c12ba7b02c8e08f297fee SHA256 de50cdc8bcb83f6328f251cbd31704d2cb9bd74ce6f4596067c66e5dffcadb12
+DIST F02664A059617D060BEC3EBA0BC002B2102AEB84-jaxb1-impl.jar 980264 RMD160 4389b34490128fe64c5403c277796d04471b6014 SHA1 f02664a059617d060bec3eba0bc002b2102aeb84 SHA256 c11e41f2ab089113949870b570298d5873aad61d7112ff19a0e116b95150f4ff
+DIST F90E3DA5259DB07F36E6987EFDED647A5231DE76-ispell-enwl-3.1.20.zip 459564 RMD160 a8e3257537d008a213da0f7307a096bd65cbc7a0 SHA1 f90e3da5259db07f36e6987efded647a5231de76 SHA256 bc323866c2341105db83621fdaedf14a0076fcbecfe6ebd8361726e76a6fb3d7
+DIST FACC6D84B0B0A650B1D44FED941E9ADD9F326862-isorelax20041111.jar 182065 RMD160 424c76e973ea39aba3851f556e046643ca8d335d SHA1 facc6d84b0b0a650b1d44fed941e9add9f326862 SHA256 171034ff98f1c480bc84029f7a0f5fc57a25adeaf691112a5a251345b81fc5ce
+DIST netbeans-7.0-build.xml.patch.bz2 1381 RMD160 a7a885fdae6f1bc654ace5aae4832fde5ffe8384 SHA1 92edb35b5c87535f01d237daf35763af847fb647 SHA256 2f5bf2ca235301487e0edd60742e5e536d98f3ee084a5835e6940840b287580f
+DIST netbeans-trunk-nightly-201101220001-src.zip 178771053 RMD160 dbaa99ed714d48269001bdf9145f108411aec109 SHA1 b9e51a807edc3137d7de98e0c2aa6dbc1f54a162 SHA256 bc042338611f80cd0004954dd9e37363ae38ef4a96bff16f153b05a59082b9e8
+EBUILD netbeans-ide-7.0_beta_p20110122.ebuild 21937 RMD160 025bcd49b72216c433efd580de8e09d242b9c081 SHA1 a70378cb5c03b757635f58354ffaa24bc3af8448 SHA256 fb85e54197b051adfa36a13ecf7ff789d07bd7b5faee57c7de8a547bcc959c53
diff --git a/dev-java/netbeans-ide/netbeans-ide-7.0_beta_p20110122.ebuild b/dev-java/netbeans-ide/netbeans-ide-7.0_beta_p20110122.ebuild
new file mode 100644
index 000000000..ed124524c
--- /dev/null
+++ b/dev-java/netbeans-ide/netbeans-ide-7.0_beta_p20110122.ebuild
@@ -0,0 +1,341 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+WANT_ANT_TASKS="ant-nodeps"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans IDE Cluster"
+HOMEPAGE="http://netbeans.org/projects/ide"
+SLOT="7.0"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/latest/zip/netbeans-trunk-nightly-201101220001-src.zip"
+SRC_URI="${SOURCE_URL}
+ http://dev.gentoo.org/~fordfrog/distfiles/netbeans-${SLOT}-build.xml.patch.bz2
+ http://hg.netbeans.org/binaries/886FAF4B85054DD6E50D9B3438542F432B5F9251-bytelist-0.1.jar
+ http://hg.netbeans.org/binaries/901D8F815922C435D985DA3814D20E34CC7622CB-css21-spec.zip
+ http://hg.netbeans.org/binaries/23123BB29025254556B6E573023FCDF0F6715A66-html-4.01.zip
+ http://hg.netbeans.org/binaries/77DB1AFF3C0730C144D30C9935A1CD8DCD2488A9-html5-datatypes.jar
+ http://hg.netbeans.org/binaries/4388C34B9F085A42FBEA06C5B00FDF0A251171EC-html5doc.zip
+ http://hg.netbeans.org/binaries/D528B44AE7593D2275927396BF930B28078C5220-htmlparser-1.2.1.jar
+ http://hg.netbeans.org/binaries/8E737D82ECAC9BA6100A9BBA71E92A381B75EFDC-ini4j-0.5.1.jar
+ http://hg.netbeans.org/binaries/A2862B7795EF0E0F0716BEC84528FA3B629E479C-io-xml-util.jar
+ http://hg.netbeans.org/binaries/0DCC973606CBD9737541AA5F3E76DED6E3F4D0D0-iri.jar
+ http://hg.netbeans.org/binaries/FACC6D84B0B0A650B1D44FED941E9ADD9F326862-isorelax20041111.jar
+ http://hg.netbeans.org/binaries/F90E3DA5259DB07F36E6987EFDED647A5231DE76-ispell-enwl-3.1.20.zip
+ http://hg.netbeans.org/binaries/BCF23B1D858C6F69D67C851D497984D25345D0B1-jaxb-api.jar
+ http://hg.netbeans.org/binaries/27FAE927B5B9AE53A5B0ED825575DD8217CE7042-jaxb-api-doc.zip
+ http://hg.netbeans.org/binaries/2EC69BD69B66B0DABEA392DE713A11F975001760-jaxb-impl.jar
+ http://hg.netbeans.org/binaries/64D468922B85A9626178AEDF564FFDBDE980B3EC-jaxb-xjc.jar
+ http://hg.netbeans.org/binaries/F02664A059617D060BEC3EBA0BC002B2102AEB84-jaxb1-impl.jar
+ http://hg.netbeans.org/binaries/C0C5653D2200F2BD2E834B26DFDBC830D07FA0F4-jing.jar
+ http://hg.netbeans.org/binaries/71F7D2D5A3CF17CECBD15049A856BC0245C95C56-js.jar
+ http://hg.netbeans.org/binaries/EE337176CFEC21CF191C12BA7B02C8E08F297FEE-js-domstubs.zip
+ http://hg.netbeans.org/binaries/B5A42F83FEBBB9781C7F2CAA6DC59D37AF09B8E8-jsstubs.zip
+ http://hg.netbeans.org/binaries/2E07375E5CA3A452472F0E87FB33F243F7A5C08C-libpam4j-1.1.jar
+ http://hg.netbeans.org/binaries/A1C0ED8C43A306E3FB7676E7463204B9DA9BE290-non-schema.jar
+ http://hg.netbeans.org/binaries/94408B54D039DA036A668C6B331EF944AF2E90EC-org.eclipse.mylyn.bugzilla.core_3.3.1.jar
+ http://hg.netbeans.org/binaries/7D3CCD3ED4DB57F2B746F5ABAF86D10F222AEB87-org.eclipse.mylyn.commons.core_3.3.1.jar
+ http://hg.netbeans.org/binaries/02C39E6C02E2386D4936245F90AC4BFA5A7BCD49-org.eclipse.mylyn.commons.net_3.3.0.jar
+ http://hg.netbeans.org/binaries/DF522A06BF4EFD99A12C545C294D940CF6A2E01D-org.eclipse.mylyn.tasks.core_3.3.1.jar
+ http://hg.netbeans.org/binaries/CD33537FD47E801E01B427997F3DE4016159B414-preindexed.zip
+ http://hg.netbeans.org/binaries/E66876EB5F33AA0E57F035F1AADD8C44FEAE7FCB-processtreekiller-1.0.1.jar
+ http://hg.netbeans.org/binaries/B0D0FCBAC68826D2AFA3C7C89FC4D57B95A000C3-resolver-1.2.jar
+ http://hg.netbeans.org/binaries/1162833E0FE87B69B99B1F7DEB3A6C386EAB6F84-rhino1_7R2rc1.zip
+ http://hg.netbeans.org/binaries/C56F4F5C42102A67F56EB8F12D0219E92E5307C2-sdocs.zip
+ http://hg.netbeans.org/binaries/0B9606F570B28FFC4FCE6C7222B88B3DCEFB1A36-svnClientAdapter-javahl-1.6.13.jar
+ http://hg.netbeans.org/binaries/A11623D2AF72A99C1509EC2A0ADA2DACBEE9A8E4-svnClientAdapter-main-1.6.13.jar
+ http://hg.netbeans.org/binaries/0AE20EC02958F193ADAB4C272ACCF6FE3196DCA0-svnClientAdapter-svnkit-1.6.13.jar
+ http://hg.netbeans.org/binaries/636C6FF256A978B786D7502F43E788448E9DAB4B-svnkit-1.3.4.jar
+ http://hg.netbeans.org/binaries/AB271CFC19469D9088BE306685A7AC8787373F99-svnkit-javahl.jar
+ http://hg.netbeans.org/binaries/7C6ED64C55164C5AE0394E11303CA95CB24166AF-swingx-0.9.5.jar
+ http://hg.netbeans.org/binaries/538D727A9A0874019FB11280F07CE3F43EE723BC-sqljet-1.0.3.jar
+ http://hg.netbeans.org/binaries/CD5B5996B46CB8D96C8F0F89A7A734B3C01F3DF7-tomcat-webserver-3.2.jar
+ http://hg.netbeans.org/binaries/68B82D7246FD90E0FC70BB9C8F10611489BF371A-trilead.jar
+ http://hg.netbeans.org/binaries/55CD0B272084EB80B8C91F3A0617BB602B4EF2DF-ValidationAPI.jar
+ http://hg.netbeans.org/binaries/7A5A7DF07297A86A944D4D0562C685585B0734EF-validator.jar
+ http://hg.netbeans.org/binaries/C9757EFB2CFBA523A7375A78FA9ECFAF0D0AC505-winp-1.14-patched.jar"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-harness-${PV}
+ ~dev-java/netbeans-platform-${PV}
+ dev-java/antlr:3
+ dev-java/commons-codec:0
+ dev-java/commons-httpclient:3
+ dev-java/commons-io:1
+ dev-java/commons-lang:2.1
+ dev-java/commons-logging:0
+ dev-java/commons-net:0
+ dev-java/flute:0
+ dev-java/freemarker:2.3
+ dev-java/icu4j:4.4
+ dev-java/jakarta-oro:2.0
+ dev-java/jdbc-mysql:0
+ dev-java/jdbc-postgresql:0
+ dev-java/jsch:0
+ dev-java/jsr173:0
+ dev-java/jvyamlb:0
+ dev-java/jzlib:0
+ dev-java/log4j:0
+ dev-java/lucene:2.9
+ dev-java/sac:0
+ dev-java/saxon:9
+ dev-java/smack:2.2
+ dev-java/sun-jaf:0
+ dev-java/tomcat-servlet-api:2.2
+ dev-java/xerces:2
+ dev-vcs/subversion:0[java]"
+# dev-java/jaxb:2 upstream version contains more stuff so websvccommon does not compile with ours
+# app-text/jing:0 our version is probably too old
+# dev-java/ini4j:0 our version is too old
+# java-virtuals/jaf:0 could use this instead of sun-jaf but it returns empty classpath
+# dev-java/trilead-ssh2:0 in overlay
+DEPEND=">=virtual/jdk-1.6
+ app-arch/unzip
+ ${CDEPEND}
+ dev-java/javacc:0
+ dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.6
+ ${CDEPEND}"
+
+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.ide -Dext.binaries.downloaded=true"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-7.0-build.xml.patch.bz2
+
+ pushd "${S}" >/dev/null || die
+ ln -s "${DISTDIR}"/886FAF4B85054DD6E50D9B3438542F432B5F9251-bytelist-0.1.jar libs.bytelist/external/bytelist-0.1.jar || die
+ ln -s "${DISTDIR}"/901D8F815922C435D985DA3814D20E34CC7622CB-css21-spec.zip css.editor/external/css21-spec.zip || die
+ ln -s "${DISTDIR}"/23123BB29025254556B6E573023FCDF0F6715A66-html-4.01.zip html.editor/external/html-4.01.zip || die
+ ln -s "${DISTDIR}"/77DB1AFF3C0730C144D30C9935A1CD8DCD2488A9-html5-datatypes.jar html.validation/external/html5-datatypes.jar || die
+ ln -s "${DISTDIR}"/4388C34B9F085A42FBEA06C5B00FDF0A251171EC-html5doc.zip html.parser/external/html5doc.zip || die
+ ln -s "${DISTDIR}"/D528B44AE7593D2275927396BF930B28078C5220-htmlparser-1.2.1.jar html.parser/external/htmlparser-1.2.1.jar || die
+ ln -s "${DISTDIR}"/8E737D82ECAC9BA6100A9BBA71E92A381B75EFDC-ini4j-0.5.1.jar libs.ini4j/external/ini4j-0.5.1.jar || die
+ ln -s "${DISTDIR}"/A2862B7795EF0E0F0716BEC84528FA3B629E479C-io-xml-util.jar html.validation/external/io-xml-util.jar || die
+ ln -s "${DISTDIR}"/0DCC973606CBD9737541AA5F3E76DED6E3F4D0D0-iri.jar html.validation/external/iri.jar || die
+ ln -s "${DISTDIR}"/FACC6D84B0B0A650B1D44FED941E9ADD9F326862-isorelax20041111.jar html.validation/external/isorelax20041111.jar || die
+ ln -s "${DISTDIR}"/F90E3DA5259DB07F36E6987EFDED647A5231DE76-ispell-enwl-3.1.20.zip spellchecker.dictionary_en/external/ispell-enwl-3.1.20.zip || die
+ ln -s "${DISTDIR}"/BCF23B1D858C6F69D67C851D497984D25345D0B1-jaxb-api.jar xml.jaxb.api/external/jaxb-api.jar || die
+ ln -s "${DISTDIR}"/27FAE927B5B9AE53A5B0ED825575DD8217CE7042-jaxb-api-doc.zip libs.jaxb/external/jaxb-api-doc.zip || die
+ ln -s "${DISTDIR}"/2EC69BD69B66B0DABEA392DE713A11F975001760-jaxb-impl.jar libs.jaxb/external/jaxb-impl.jar || die
+ ln -s "${DISTDIR}"/64D468922B85A9626178AEDF564FFDBDE980B3EC-jaxb-xjc.jar libs.jaxb/external/jaxb-xjc.jar || die
+ ln -s "${DISTDIR}"/F02664A059617D060BEC3EBA0BC002B2102AEB84-jaxb1-impl.jar libs.jaxb/external/jaxb1-impl.jar || die
+ ln -s "${DISTDIR}"/C0C5653D2200F2BD2E834B26DFDBC830D07FA0F4-jing.jar html.validation/external/jing.jar || die
+ ln -s "${DISTDIR}"/71F7D2D5A3CF17CECBD15049A856BC0245C95C56-js.jar html.validation/external/js.jar || die
+ ln -s "${DISTDIR}"/EE337176CFEC21CF191C12BA7B02C8E08F297FEE-js-domstubs.zip javascript.editing/external/js-domstubs.zip || die
+ ln -s "${DISTDIR}"/B5A42F83FEBBB9781C7F2CAA6DC59D37AF09B8E8-jsstubs.zip javascript.editing/external/jsstubs.zip || die
+ ln -s "${DISTDIR}"/2E07375E5CA3A452472F0E87FB33F243F7A5C08C-libpam4j-1.1.jar extexecution.destroy/external/libpam4j-1.1.jar || die
+ ln -s "${DISTDIR}"/A1C0ED8C43A306E3FB7676E7463204B9DA9BE290-non-schema.jar html.validation/external/non-schema.jar || die
+ ln -s "${DISTDIR}"/94408B54D039DA036A668C6B331EF944AF2E90EC-org.eclipse.mylyn.bugzilla.core_3.3.1.jar libs.bugzilla/external/org.eclipse.mylyn.bugzilla.core_3.3.1.jar || die
+ ln -s "${DISTDIR}"/7D3CCD3ED4DB57F2B746F5ABAF86D10F222AEB87-org.eclipse.mylyn.commons.core_3.3.1.jar libs.bugtracking/external/org.eclipse.mylyn.commons.core_3.3.1.jar || die
+ ln -s "${DISTDIR}"/02C39E6C02E2386D4936245F90AC4BFA5A7BCD49-org.eclipse.mylyn.commons.net_3.3.0.jar libs.bugtracking/external/org.eclipse.mylyn.commons.net_3.3.0.jar || die
+ ln -s "${DISTDIR}"/DF522A06BF4EFD99A12C545C294D940CF6A2E01D-org.eclipse.mylyn.tasks.core_3.3.1.jar libs.bugtracking/external/org.eclipse.mylyn.tasks.core_3.3.1.jar || die
+ ln -s "${DISTDIR}"/CD33537FD47E801E01B427997F3DE4016159B414-preindexed.zip javascript.editing/external/preindexed.zip || die
+ ln -s "${DISTDIR}"/E66876EB5F33AA0E57F035F1AADD8C44FEAE7FCB-processtreekiller-1.0.1.jar extexecution.destroy/external/processtreekiller-1.0.1.jar || die
+ ln -s "${DISTDIR}"/B0D0FCBAC68826D2AFA3C7C89FC4D57B95A000C3-resolver-1.2.jar o.apache.xml.resolver/external/resolver-1.2.jar || die
+ ln -s "${DISTDIR}"/1162833E0FE87B69B99B1F7DEB3A6C386EAB6F84-rhino1_7R2rc1.zip o.mozilla.rhino.patched/external/rhino1_7R2rc1.zip || die
+ ln -s "${DISTDIR}"/C56F4F5C42102A67F56EB8F12D0219E92E5307C2-sdocs.zip javascript.editing/external/sdocs.zip || die
+ ln -s "${DISTDIR}"/538D727A9A0874019FB11280F07CE3F43EE723BC-sqljet-1.0.3.jar libs.svnClientAdapter.svnkit/external/sqljet-1.0.3.jar || die
+ ln -s "${DISTDIR}"/0B9606F570B28FFC4FCE6C7222B88B3DCEFB1A36-svnClientAdapter-javahl-1.6.13.jar libs.svnClientAdapter.javahl/external/svnClientAdapter-javahl-1.6.13.jar || die
+ ln -s "${DISTDIR}"/A11623D2AF72A99C1509EC2A0ADA2DACBEE9A8E4-svnClientAdapter-main-1.6.13.jar libs.svnClientAdapter/external/svnClientAdapter-main-1.6.13.jar || die
+ ln -s "${DISTDIR}"/0AE20EC02958F193ADAB4C272ACCF6FE3196DCA0-svnClientAdapter-svnkit-1.6.13.jar libs.svnClientAdapter.svnkit/external/svnClientAdapter-svnkit-1.6.13.jar || die
+ ln -s "${DISTDIR}"/636C6FF256A978B786D7502F43E788448E9DAB4B-svnkit-1.3.4.jar libs.svnClientAdapter.svnkit/external/svnkit-1.3.4.jar || die
+ ln -s "${DISTDIR}"/AB271CFC19469D9088BE306685A7AC8787373F99-svnkit-javahl.jar libs.svnClientAdapter.svnkit/external/svnkit-javahl.jar || die
+ ln -s "${DISTDIR}"/7C6ED64C55164C5AE0394E11303CA95CB24166AF-swingx-0.9.5.jar libs.swingx/external/swingx-0.9.5.jar || die
+ ln -s "${DISTDIR}"/CD5B5996B46CB8D96C8F0F89A7A734B3C01F3DF7-tomcat-webserver-3.2.jar httpserver/external/tomcat-webserver-3.2.jar || die
+ ln -s "${DISTDIR}"/68B82D7246FD90E0FC70BB9C8F10611489BF371A-trilead.jar libs.svnClientAdapter.svnkit/external/trilead.jar || die
+ ln -s "${DISTDIR}"/55CD0B272084EB80B8C91F3A0617BB602B4EF2DF-ValidationAPI.jar swing.validation/external/ValidationAPI.jar || die
+ ln -s "${DISTDIR}"/7A5A7DF07297A86A944D4D0562C685585B0734EF-validator.jar html.validation/external/validator.jar || die
+ ln -s "${DISTDIR}"/C9757EFB2CFBA523A7375A78FA9ECFAF0D0AC505-winp-1.14-patched.jar extexecution.destroy/external/winp-1.14-patched.jar || die
+ popd >/dev/null || die
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-7.0-build.xml.patch
+
+ einfo "Symlinking external libraries..."
+ java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.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-harness-${SLOT} harness || die
+ cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.harness.built
+
+ popd >/dev/null || die
+
+ java-pkg_jar-from --into css.visual/external flute flute.jar flute-1.3.jar
+ java-pkg_jar-from --into css.visual/external sac sac.jar sac-1.3.jar
+ java-pkg_jar-from --into db.drivers/external jdbc-mysql jdbc-mysql.jar mysql-connector-java-5.1.13-bin.jar
+ java-pkg_jar-from --into db.drivers/external jdbc-postgresql jdbc-postgresql.jar postgresql-8.3-603.jdbc3.jar
+ java-pkg_jar-from --build-only --into db.sql.visualeditor/external javacc javacc.jar javacc-3.2.jar
+ java-pkg_jar-from --into extexecution.destroy/external commons-io-1 commons-io.jar commons-io-1.4.jar
+ java-pkg_jar-from --into html.parser/external icu4j-4.4 icu4j.jar icu4j-4_0.jar
+ java-pkg_jar-from --into html.validation/external commons-logging commons-logging.jar commons-logging-1.1.1.jar
+ java-pkg_jar-from --into html.validation/external commons-logging commons-logging-api.jar commons-logging-api-1.1.1.jar
+ # java-pkg_jar-from --into html.validation/external jing jing.jar jing.jar
+ java-pkg_jar-from --into html.validation/external log4j log4j.jar log4j-1.2.15.jar
+ java-pkg_jar-from --into html.validation/external saxon-9 saxon.jar saxon9B.jar
+ java-pkg_jar-from --into libs.antlr3.runtime/external antlr-3 antlr3.jar antlr-runtime-3.1.3.jar
+ java-pkg_jar-from --into libs.bugtracking/external commons-httpclient-3 commons-httpclient.jar commons-httpclient-3.1.jar
+ java-pkg_jar-from --into libs.bugtracking/external commons-lang-2.1 commons-lang.jar commons-lang-2.3.jar
+ java-pkg_jar-from --into libs.commons_codec/external commons-codec commons-codec.jar apache-commons-codec-1.3.jar
+ java-pkg_jar-from --into libs.commons_logging/external commons-logging commons-logging.jar commons-logging-1.1.jar
+ java-pkg_jar-from --into libs.commons_net/external commons-net commons-net.jar commons-net-1.4.1.jar
+ java-pkg_jar-from --into libs.freemarker/external freemarker-2.3 freemarker.jar freemarker-2.3.8.jar
+ # java-pkg_jar-from --into libs.ini4j/external ini4j ini4j.jar ini4j-0.5.1.jar
+ java-pkg_jar-from --into libs.jakarta_oro/external jakarta-oro-2.0 jakarta-oro.jar jakarta-oro-2.0.8.jar
+ # java-pkg_jar-from --into libs.jaxb/external jaxb-2 jaxb-impl.jar jaxb-impl.jar
+ java-pkg_jar-from --into libs.jsch/external jsch jsch.jar jsch-0.1.43.jar
+ java-pkg_jar-from --into libs.jvyamlb/external jvyamlb jvyamlb.jar jvyamlb-0.2.3.jar
+ java-pkg_jar-from --into libs.jzlib/external jzlib jzlib.jar jzlib-1.0.7.jar
+ java-pkg_jar-from --into libs.lucene/external lucene-2.9 lucene-core.jar lucene-core-2.9.3.jar
+ java-pkg_jar-from --into libs.smack/external smack-2.2 smack.jar smack.jar
+ java-pkg_jar-from --into libs.smack/external smack-2.2 smackx.jar smackx.jar
+ java-pkg_jar-from --into libs.svnClientAdapter.javahl/external subversion svn-javahl.jar svnjavahl-1.6.0.jar
+ # java-pkg_jar-from --into libs.svnClientAdapter.svnkit/external trilead-ssh2 trilead-ssh2.jar trilead.jar
+ java-pkg_jar-from --into libs.xerces/external xerces-2 xercesImpl.jar xerces-2.8.0.jar
+ java-pkg_jar-from --virtual --into servletapi/external servlet-api-2.2 servlet.jar servlet-2.2.jar
+ java-pkg_jar-from --into xml.jaxb.api/external sun-jaf activation.jar activation.jar
+ # java-pkg_jar-from --into xml.jaxb.api/external jaxb-2 jaxb-api.jar jaxb-api.jar
+ java-pkg_jar-from --into xml.jaxb.api/external jsr173 jsr173.jar jsr173_api.jar
+
+ java-pkg-2_src_prepare
+}
+
+src_install() {
+ pushd nbbuild/netbeans/ide >/dev/null || die
+
+ insinto ${INSTALL_DIR} || die
+
+ grep -E "/ide$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+ doins -r * || die
+ rm -fr "${D}"/${INSTALL_DIR}/bin/nativeexecution || die
+ rm -fr "${D}"/${INSTALL_DIR}/modules/lib || die
+
+ insinto ${INSTALL_DIR}/bin/nativeexecution || die
+ doins bin/nativeexecution/* || die
+
+ pushd "${D}"/${INSTALL_DIR}/bin/nativeexecution >/dev/null || die
+ for file in *.sh ; do
+ fperms 755 ${file} || die
+ done
+ popd >/dev/null || die
+
+ if use x86 ; then
+ doins -r bin/nativeexecution/Linux-x86 || die
+ pushd "${D}"/${INSTALL_DIR}/bin/nativeexecution/Linux-x86 >/dev/null || die
+ for file in * ; do
+ fperms 755 ${file} || die
+ done
+ popd >/dev/null || die
+ elif use amd64 ; then
+ doins -r bin/nativeexecution/Linux-x86_64 || die
+ pushd "${D}"/${INSTALL_DIR}/bin/nativeexecution/Linux-x86_64 >/dev/null || die
+ for file in * ; do
+ fperms 755 ${file} || die
+ done
+ popd >/dev/null || die
+ fi
+
+ popd >/dev/null || die
+
+ local instdir=${INSTALL_DIR}/modules/ext
+ pushd "${D}"/${instdir} >/dev/null || die
+ rm antlr-runtime-3.1.3.jar && dosym /usr/share/antlr-3/lib/antlr3.jar ${instdir}/antlr-runtime-3.1.3.jar || die
+ rm apache-commons-codec-1.3.jar && dosym /usr/share/commons-codec/lib/commons-codec.jar ${instdir}/apache-commons-codec-1.3.jar || die
+ # bytelist-0.1.jar
+ rm commons-httpclient-3.1.jar && dosym /usr/share/commons-httpclient-3/lib/commons-httpclient.jar ${instdir}/commons-httpclient-3.1.jar || die
+ rm commons-io-1.4.jar && dosym /usr/share/commons-io-1/lib/commons-io.jar ${instdir}/commons-io-1.4.jar || die
+ rm commons-lang-2.3.jar && dosym /usr/share/commons-lang-2.1/lib/commons-lang.jar ${instdir}/commons-lang-2.3.jar || die
+ rm commons-logging-api-1.1.1.jar && dosym /usr/share/commons-logging/lib/commons-logging-api.jar ${instdir}/commons-logging-api-1.1.1.jar || die
+ rm commons-logging-1.1.jar && dosym /usr/share/commons-logging/lib/commons-logging.jar ${instdir}/commons-logging-1.1.jar || die
+ rm commons-logging-1.1.1.jar && dosym /usr/share/commons-logging/lib/commons-logging.jar ${instdir}/commons-logging-1.1.1.jar || die
+ rm commons-net-1.4.1.jar && dosym /usr/share/commons-net/lib/commons-net.jar ${instdir}/commons-net-1.4.1.jar || die
+ # ddl.jar
+ rm flute-1.3.jar && dosym /usr/share/flute/lib/flute.jar ${instdir}/flute-1.3.jar || die
+ rm freemarker-2.3.8.jar && dosym /usr/share/freemarker-2.3/lib/freemarker.jar ${instdir}/freemarker-2.3.8.jar || die
+ # html5-datatypes.jar
+ # html5-parser.jar
+ rm icu4j-4_0.jar && dosym /usr/share/icu4j-4.4/lib/icu4j.jar ${instdir}/icu4j-4_0.jar || die
+ # [[ -f ini4j-0.5.1.jar ]] && java-pkg_jar-from ini4j ini4j.jar ${instdir}/ini4j-0.5.1.jar || die
+ # io-xml-util.jar
+ # iri.jar
+ # isorelax20041111.jar
+ rm jakarta-oro-2.0.8.jar && dosym /usr/share/jakarta-oro-2.0/lib/jakarta-oro.jar ${instdir}/jakarta-oro-2.0.8.jar
+ # [[ -f jing.jar ]] && java-pkg_jar-from jing jing.jar ${instdir}/jing.jar || die
+ rm jsch-0.1.43.jar && dosym /usr/share/jsch//lib/jsch.jar ${instdir}/jsch-0.1.43.jar || die
+ # js.jar
+ rm jvyamlb-0.2.3.jar && dosym /usr/share/jvyamlb/lib/jvyamlb.jar ${instdir}/jvyamlb-0.2.3.jar || die
+ rm jzlib-1.0.7.jar && dosym /usr/share/jzlib/lib/jzlib.jar ${instdir}/jzlib-1.0.7.jar || die
+ # libpam4j-1.1.jar
+ rm log4j-1.2.15.jar && dosym /usr/share/log4j/lib/log4j.jar ${instdir}/log4j-1.2.15.jar || die
+ rm lucene-core-2.9.3.jar && dosym /usr/share/lucene-2.9/lib/lucene-core.jar ${instdir}/lucene-core-2.9.3.jar || die
+ rm mysql-connector-java-5.1.13-bin.jar && dosym /usr/share/jdbc-mysql/lib/jdbc-mysql.jar ${instdir}/mysql-connector-java-5.1.13-bin.jar || die
+ # non-schema.jar
+ # org.eclipse.mylyn.bugzilla.core_3.3.1.jar
+ # org.eclipse.mylyn.commons.core_3.3.1.jar
+ # org.eclipse.mylyn.commons.net_3.3.0.jar
+ # org.eclipse.mylyn.tasks.core_3.3.1.jar
+ # org-netbeans-tax.jar
+ rm postgresql-8.3-603.jdbc3.jar && dosym /usr/share/jdbc-postgresql/lib/jdbc-postgresql.jar ${instdir}/postgresql-8.3-603.jdbc3.jar || die
+ # processtreekiller-1.0.1.jar
+ # resolver-1.2.jar
+ rm sac-1.3.jar && dosym /usr/share/sac/lib/sac.jar ${instdir}/sac-1.3.jar || die
+ rm saxon9B.jar && dosym /usr/share/saxon-9/lib/saxon.jar ${instdir}/saxon9B.jar || die
+ rm servlet-2.2.jar && dosym /usr/share/tomcat-servlet-api-2.2/lib/servlet.jar ${instdir}/servlet-2.2.jar || die
+ rm smack.jar && dosym /usr/share/smack-2.2/lib/smack.jar ${instdir}/smack.jar || die
+ rm smackx.jar && dosym /usr/share/smack-2.2/lib/smackx.jar ${instdir}/smackx.jar || die
+ # sqljet-1.0.3.jar
+ # svnClientAdapter-javahl-1.6.13.jar
+ # svnClientAdapter-main-1.6.13.jar
+ # svnClientAdapter-svnkit-1.6.13.jar
+ rm svnjavahl-1.6.0.jar && dosym /usr/share/subversion/lib/svn-javahl.jar ${instdir}/svnjavahl-1.6.0.jar || die
+ # svnkit-javahl.jar
+ # svnkit-1.3.4.jar
+ # swingx-0.9.5.jar
+ # [[ -f trilead.jar ]] && java-pkg_jar-from trilead-ssh2 trilead-ssh2.jar ${instdir}/trilead.jar || die
+ # ValidationAPI.jar
+ # validator.jar
+ # webserver.jar
+ # winp-1.14-patched.jar
+ rm xerces-2.8.0.jar && dosym /usr/share/xerces-2/lib/xercesImpl.jar ${instdir}/xerces-2.8.0.jar || die
+ popd >/dev/null || die
+
+ local instdir=${INSTALL_DIR}/modules/ext/jaxb
+ pushd "${D}"/${instdir} >/dev/null || die
+ rm activation.jar && dosym /usr/share/sun-jaf/lib/activation.jar ${instdir}/activation.jar || die
+ # [[ -f jaxb-impl.jar ]] && java-pkg_jar-from jaxb-2 jaxb-impl.jar ${instdir}/jaxb-impl.jar || die
+ # jaxb-xjc.jar
+ # jaxb1-impl.jar
+ popd >/dev/null || die
+
+ local instdir=${INSTALL_DIR}/modules/ext/jaxb/api
+ pushd "${D}"/${instdir} >/dev/null || die
+ # [[ -f jaxb-api.jar ]] && java-pkg_jar-from jaxb-2 jaxb-api.jar ${instdir}/jaxb-api.jar || die
+ rm jsr173_api.jar && dosym /usr/share/jsr173/lib/jsr173.jar ${instdir}/jsr173_api.jar || die
+ popd >/dev/null || die
+}
diff --git a/dev-java/netbeans-java/Manifest b/dev-java/netbeans-java/Manifest
new file mode 100644
index 000000000..e768c1278
--- /dev/null
+++ b/dev-java/netbeans-java/Manifest
@@ -0,0 +1,25 @@
+DIST 0027BC49CBF5E88B68CCD58BD1EEB2EA7188D069-junit-3.8.2-api.zip 72555 RMD160 22ba158af65cebe2b8c74edf1daa6b6fc33875bc SHA1 0027bc49cbf5e88b68ccd58bd1eeb2ea7188d069 SHA256 030c83b85348e572d3ccd946560db8b217b6ac751d0494ebbfa27aea19d01dfe
+DIST 0D89350194F1A37196A5D54CE70B7C2EA734321C-javac-impl-nb-7.0-b07.jar 1700482 RMD160 b2dde6f3f314e967744372397a79660e81ef1764 SHA1 0d89350194f1a37196a5d54ce70b7c2ea734321c SHA256 d7e6fc37c5d66728d39aeb250531cbe9e10cfaaee47f7d3c681fa049d94c7dda
+DIST 189562B19F104C9409CDBF541961B43F792114AB-eclipselink-jpa-modelgen-2.2.0.jar 11526 RMD160 48a3bc2a77a55f382457c0deaaa803d78347e00d SHA1 189562b19f104c9409cdbf541961b43f792114ab SHA256 56d2ba38702a2b7feec603e14af1670ad767f00a9bb3626ba22f2fc3d1f2dd92
+DIST 23E69F0F17757673C573EBD9899727B82EF7DB7F-jaxws-2.2-api.zip 73250 RMD160 184ee3c12bf4d7af85dbc2a2467207253a680c9e SHA1 23e69f0f17757673c573ebd9899727b82ef7db7f SHA256 5682250c4b676401aac7434fb402fc740a41932dd8f85b5b4a68fb8b02d620c9
+DIST 2D0D28E05BD6B6452DAAFE2B5CCB69A84EA63E5D-spring-2.5.6.SEC01.jar 2949032 RMD160 e35ca67d033bd5eb89d837ad85b3cc64ed5a62d1 SHA1 2d0d28e05bd6b6452daafe2b5ccb69a84ea63e5d SHA256 246e5a55e92a3b4bcada2e3793b33fd460331beacf8d385ef0ffffe9318e494c
+DIST 2F43A634A42CC4FD2EF9E24B488AFFD6984D3411-jaxws-2.2.zip 3195366 RMD160 e22b38e780109218951d16065193c0d8fd3809f5 SHA1 2f43a634a42cc4fd2ef9e24b488affd6984d3411 SHA256 5e7ed2618a8e9278ac2caeb5d0f46b95df6f59277b7b51b1976dbb74820d25d1
+DIST 30DCFB82558DC5452AC135F267401E214A0E9859-indexer-artifact-3.1.0.jar 26720 RMD160 cbdd705b5c1e34aa9782c65ad9c6cc55f8c305f8 SHA1 30dcfb82558dc5452ac135f267401e214a0e9859 SHA256 9bfc3da3744c46c44d84bd9edd25708db39706748fb3f4288e246d913851c14e
+DIST 323D9781F97777B19744A94B32A479EC4BD2916D-eclipselink-2.2.0.jar 6373780 RMD160 9f9f49338b3b44ce3439ab7287db9e87e8bca4d5 SHA1 323d9781f97777b19744a94b32a479ec4bd2916d SHA256 b4f52dca92e8a1d6499ea7bd32a28e919e8ae743abd540be06d7b1bc0459fff3
+DIST 3BCA561B1B7B284B3D3C097F92A9CD47FF485058-eclipselink-javax.persistence-2.0.jar 126856 RMD160 edc878d500477c53aad1ad637ca2dc35b701cd2d SHA1 3bca561b1b7b284b3d3c097f92a9cd47ff485058 SHA256 28a500f9150a9b7ce76179d0ec13a7227032c4997d226e5685550ae2c2e54393
+DIST 4F9C9E8D39630B3B285C72C8A88820A220898B7D-apache-maven-3.0.2-bin.zip 2990019 RMD160 d64045fb5d1fbc0ef41cf1803cfd850eadbd33a4 SHA1 4f9c9e8d39630b3b285c72c8a88820a220898b7d SHA256 530697c0a8d3461ae73f150bb7d56a21cb236fc67d80c0d41dea3052e3c7a0be
+DIST 59FAD2A4D4A1CFECED8149854EEEC3A7B9668927-glassfish-persistence-v2-build-58g.jar 2286677 RMD160 7f14647470dadbde4ecb7b1f4278fd4d2e2a5ad4 SHA1 59fad2a4d4a1cfeced8149854eeec3a7b9668927 SHA256 763aeee3fceaed696f61bf14f922ea9c6abaa0af2afce2ec586efec32e677074
+DIST 653A6AD1EF786BC577FC20F56E5F2B1D30423805-maven-dependency-tree-1.2.jar 34559 RMD160 2f9b657dfb6eb672ee33811df3183bba84d8ef59 SHA1 653a6ad1ef786bc577fc20f56e5f2b1d30423805 SHA256 dbb8c53ccc0b16a9dd8370d6e7de63102468caedac1e5fa2eb418319a6875293
+DIST 7AB67E6B20E5332A7FB4FDF2F019AEC4275846C2-indexer-core-3.1.0.jar 199480 RMD160 40c39072f3d133079fdd5ad7dd0da6be8d1af9e2 SHA1 7ab67e6b20e5332a7fb4fdf2f019aec4275846c2 SHA256 e77793305c803016fc00115970b3561aca7afdadffbd145db53b6811bfc617c9
+DIST 8ECD169E9E308C258287E4F28B03B6D6F1E55F47-jaxws-api-doc.zip 266314 RMD160 feca5ad347e36ccf532bcc7fc21a67a5ec115699 SHA1 8ecd169e9e308c258287e4f28b03b6d6f1e55f47 SHA256 36c3189a2d495bc713bfeac0eaf05612fe90d8df6c3c20d943bea38d290cd375
+DIST 907363E301E2279930C82BEB466BF2053C6E993B-glassfish-persistence-v2ur1-build-09d.jar 2284306 RMD160 ee5935c7e43a60a453bef9bebe7068c20f481a25 SHA1 907363e301e2279930c82beb466bf2053c6e993b SHA256 4284a90a28993a18379c5b682eb63a77e6eb2911b5c1f2a60aace19b4938c91b
+DIST 996E701582423D2BD7AC331AA6CDF5084821BDE0-javac-api-nb-7.0-b07.jar 128839 RMD160 fa4185260cf1b2ad013df6399bbc8394de7fa352 SHA1 996e701582423d2bd7ac331aa6cdf5084821bde0 SHA256 a183fc8cf19552d5bef7a7974266488664d7e7e484f85ecd5adf1793699c367e
+DIST B456600D274B835E1E7DDB16FD843DDAB2ED3EF1-appframework-1.0.3-doc.zip 301845 RMD160 170bbc400e7001567a6f0aec9394c04ab6f1ec37 SHA1 b456600d274b835e1e7ddb16fd843ddab2ed3ef1 SHA256 0667f86903d97f78ec1022ef1f31a173990bf69b3f882f95e11ea2bf968ec7d0
+DIST C8A5E0D558EA7E7349F9D32B838553D5E7DD214F-hibernate-3.2.5-lib.zip 5029407 RMD160 546dd5f8c9039925e89e76655265e6105658951d SHA1 c8a5e0d558ea7e7349f9d32b838553d5e7dd214f SHA256 7492417ca97835935912d931f9c2a1c9d98fc35fab455d086fd11f7ff663acb8
+DIST D88A41174C5F85D1B791D6A8E0F8B8A1C459D6C0-spring-framework-3.0.2.RELEASE.zip 4054621 RMD160 8d410595e912d2a8d30a0bdfbdf83413692a4269 SHA1 d88a41174c5f85d1b791d6a8e0f8b8a1c459d6c0 SHA256 5901b2a23c80f2669016697aadf27fefd8350fdd5cc876f8e979d5aac92a857e
+DIST DFF86384EBF414FE5DA323F5D4AD281B59FD4673-junit-4.8.2-api.zip 513824 RMD160 484f5d1d88ddce4fd46b819c9b3c705bfedacdbd SHA1 dff86384ebf414fe5da323f5d4ad281b59fd4673 SHA256 84f9506e53e1f0230468fdaff69da0c55821d8ba6ccb461fc3deb7b98aba7d8b
+DIST F7BD95641780C2AAE8CB9BED1686441A1CE5E749-beansbinding-1.2.1-doc.zip 930828 RMD160 7034dd5c48bcf6e44a1de417206f799c942b9f11 SHA1 f7bd95641780c2aae8cb9bed1686441a1ce5e749 SHA256 5f41fe1ef8a7607bafbc04baa7814aecaf72b90a6fa796adec0846f50f8ac7f0
+DIST FF23DBB427D09AAEC3998B50D740C42B6A3FCD61-ant-libs-1.8.2.zip 2141252 RMD160 97e4e22e7d9a1c9731bac89252399a560d9c3dbf SHA1 ff23dbb427d09aaec3998b50d740c42b6a3fcd61 SHA256 4dea45582ff69620a906347fc1b085bb1cffb75e215cb55ec74181ae240a5be4
+DIST netbeans-7.0-build.xml.patch.bz2 1381 RMD160 a7a885fdae6f1bc654ace5aae4832fde5ffe8384 SHA1 92edb35b5c87535f01d237daf35763af847fb647 SHA256 2f5bf2ca235301487e0edd60742e5e536d98f3ee084a5835e6940840b287580f
+DIST netbeans-trunk-nightly-201101220001-src.zip 178771053 RMD160 dbaa99ed714d48269001bdf9145f108411aec109 SHA1 b9e51a807edc3137d7de98e0c2aa6dbc1f54a162 SHA256 bc042338611f80cd0004954dd9e37363ae38ef4a96bff16f153b05a59082b9e8
+EBUILD netbeans-java-7.0_beta_p20110122.ebuild 15419 RMD160 939785eb1f8af5e07be55a72d3ab559242d23c99 SHA1 5a57651b4f7942c4fe4c65d1f7baf50ac03f038b SHA256 11900c54a5a5652ed77e477063ec2ece96286077dc65e2a0ff3fff6281b131f8
diff --git a/dev-java/netbeans-java/netbeans-java-7.0_beta_p20110122.ebuild b/dev-java/netbeans-java/netbeans-java-7.0_beta_p20110122.ebuild
new file mode 100644
index 000000000..07903ed93
--- /dev/null
+++ b/dev-java/netbeans-java/netbeans-java-7.0_beta_p20110122.ebuild
@@ -0,0 +1,300 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+WANT_ANT_TASKS="ant-nodeps"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Java Cluster"
+HOMEPAGE="http://netbeans.org/projects/java"
+SLOT="7.0"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/latest/zip/netbeans-trunk-nightly-201101220001-src.zip"
+SRC_URI="${SOURCE_URL}
+ http://dev.gentoo.org/~fordfrog/distfiles/netbeans-${SLOT}-build.xml.patch.bz2
+ http://hg.netbeans.org/binaries/FF23DBB427D09AAEC3998B50D740C42B6A3FCD61-ant-libs-1.8.2.zip
+ http://hg.netbeans.org/binaries/4F9C9E8D39630B3B285C72C8A88820A220898B7D-apache-maven-3.0.2-bin.zip
+ http://hg.netbeans.org/binaries/B456600D274B835E1E7DDB16FD843DDAB2ED3EF1-appframework-1.0.3-doc.zip
+ http://hg.netbeans.org/binaries/F7BD95641780C2AAE8CB9BED1686441A1CE5E749-beansbinding-1.2.1-doc.zip
+ http://hg.netbeans.org/binaries/323D9781F97777B19744A94B32A479EC4BD2916D-eclipselink-2.2.0.jar
+ http://hg.netbeans.org/binaries/3BCA561B1B7B284B3D3C097F92A9CD47FF485058-eclipselink-javax.persistence-2.0.jar
+ http://hg.netbeans.org/binaries/189562B19F104C9409CDBF541961B43F792114AB-eclipselink-jpa-modelgen-2.2.0.jar
+ http://hg.netbeans.org/binaries/59FAD2A4D4A1CFECED8149854EEEC3A7B9668927-glassfish-persistence-v2-build-58g.jar
+ http://hg.netbeans.org/binaries/907363E301E2279930C82BEB466BF2053C6E993B-glassfish-persistence-v2ur1-build-09d.jar
+ http://hg.netbeans.org/binaries/C8A5E0D558EA7E7349F9D32B838553D5E7DD214F-hibernate-3.2.5-lib.zip
+ http://hg.netbeans.org/binaries/30DCFB82558DC5452AC135F267401E214A0E9859-indexer-artifact-3.1.0.jar
+ http://hg.netbeans.org/binaries/7AB67E6B20E5332A7FB4FDF2F019AEC4275846C2-indexer-core-3.1.0.jar
+ http://hg.netbeans.org/binaries/996E701582423D2BD7AC331AA6CDF5084821BDE0-javac-api-nb-7.0-b07.jar
+ http://hg.netbeans.org/binaries/0D89350194F1A37196A5D54CE70B7C2EA734321C-javac-impl-nb-7.0-b07.jar
+ http://hg.netbeans.org/binaries/653A6AD1EF786BC577FC20F56E5F2B1D30423805-maven-dependency-tree-1.2.jar
+ http://hg.netbeans.org/binaries/2F43A634A42CC4FD2EF9E24B488AFFD6984D3411-jaxws-2.2.zip
+ http://hg.netbeans.org/binaries/23E69F0F17757673C573EBD9899727B82EF7DB7F-jaxws-2.2-api.zip
+ http://hg.netbeans.org/binaries/8ECD169E9E308C258287E4F28B03B6D6F1E55F47-jaxws-api-doc.zip
+ http://hg.netbeans.org/binaries/0027BC49CBF5E88B68CCD58BD1EEB2EA7188D069-junit-3.8.2-api.zip
+ http://hg.netbeans.org/binaries/DFF86384EBF414FE5DA323F5D4AD281B59FD4673-junit-4.8.2-api.zip
+ http://hg.netbeans.org/binaries/2D0D28E05BD6B6452DAAFE2B5CCB69A84EA63E5D-spring-2.5.6.SEC01.jar
+ http://hg.netbeans.org/binaries/D88A41174C5F85D1B791D6A8E0F8B8A1C459D6C0-spring-framework-3.0.2.RELEASE.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-platform-${PV}
+ ~dev-java/netbeans-harness-${PV}
+ ~dev-java/netbeans-ide-${PV}
+ ~dev-java/netbeans-websvccommon-${PV}
+ dev-java/appframework:0
+ dev-java/beansbinding:0
+ dev-java/cglib:2.2
+ dev-java/jdom:1.0
+ dev-java/junit:0
+ dev-java/swing-worker:0"
+DEPEND=">=virtual/jdk-1.6
+ app-arch/unzip
+ ${CDEPEND}
+ dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.6
+ ${CDEPEND}
+ dev-java/absolutelayout:0
+ dev-java/antlr:0[java]
+ dev-java/asm:2.2
+ dev-java/cglib:2.1
+ dev-java/commons-collections:0
+ dev-java/dom4j:1
+ dev-java/ehcache:1.2
+ dev-java/fastinfoset:0
+ dev-java/javassist:3
+ dev-java/jsr67:0
+ dev-java/jsr181:0
+ dev-java/jsr250:0
+ dev-java/jta:0
+ dev-java/jtidy:0
+ dev-java/junit:4[source]
+ dev-java/maven-bin:3.0
+ dev-java/saaj:0
+ dev-java/stax-ex: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"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-7.0-build.xml.patch.bz2
+
+ pushd "${S}" >/dev/null || die
+ ln -s "${DISTDIR}"/FF23DBB427D09AAEC3998B50D740C42B6A3FCD61-ant-libs-1.8.2.zip o.apache.tools.ant.module/external/ant-libs-1.8.2.zip || die
+ ln -s "${DISTDIR}"/4F9C9E8D39630B3B285C72C8A88820A220898B7D-apache-maven-3.0.2-bin.zip maven.embedder/external/apache-maven-3.0.2-bin.zip || die
+ ln -s "${DISTDIR}"/B456600D274B835E1E7DDB16FD843DDAB2ED3EF1-appframework-1.0.3-doc.zip swingapp/external/appframework-1.0.3-doc.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}"/323D9781F97777B19744A94B32A479EC4BD2916D-eclipselink-2.2.0.jar j2ee.eclipselink/external/eclipselink-2.2.0.jar || die
+ ln -s "${DISTDIR}"/3BCA561B1B7B284B3D3C097F92A9CD47FF485058-eclipselink-javax.persistence-2.0.jar j2ee.eclipselink/external/eclipselink-javax.persistence-2.0.jar || die
+ ln -s "${DISTDIR}"/189562B19F104C9409CDBF541961B43F792114AB-eclipselink-jpa-modelgen-2.2.0.jar j2ee.eclipselinkmodelgen/external/eclipselink-jpa-modelgen-2.2.0.jar || die
+ ln -s "${DISTDIR}"/59FAD2A4D4A1CFECED8149854EEEC3A7B9668927-glassfish-persistence-v2-build-58g.jar j2ee.toplinklib/external/glassfish-persistence-v2-build-58g.jar || die
+ ln -s "${DISTDIR}"/907363E301E2279930C82BEB466BF2053C6E993B-glassfish-persistence-v2ur1-build-09d.jar j2ee.toplinklib/external/glassfish-persistence-v2ur1-build-09d.jar || die
+ ln -s "${DISTDIR}"/C8A5E0D558EA7E7349F9D32B838553D5E7DD214F-hibernate-3.2.5-lib.zip hibernatelib/external/hibernate-3.2.5-lib.zip || die
+ ln -s "${DISTDIR}"/30DCFB82558DC5452AC135F267401E214A0E9859-indexer-artifact-3.1.0.jar maven.indexer/external/indexer-artifact-3.1.0.jar || die
+ ln -s "${DISTDIR}"/7AB67E6B20E5332A7FB4FDF2F019AEC4275846C2-indexer-core-3.1.0.jar maven.indexer/external/indexer-core-3.1.0.jar || die
+ ln -s "${DISTDIR}"/996E701582423D2BD7AC331AA6CDF5084821BDE0-javac-api-nb-7.0-b07.jar libs.javacapi/external/javac-api-nb-7.0-b07.jar || die
+ ln -s "${DISTDIR}"/0D89350194F1A37196A5D54CE70B7C2EA734321C-javac-impl-nb-7.0-b07.jar libs.javacimpl/external/javac-impl-nb-7.0-b07.jar || die
+ ln -s "${DISTDIR}"/653A6AD1EF786BC577FC20F56E5F2B1D30423805-maven-dependency-tree-1.2.jar maven.embedder/external/maven-dependency-tree-1.2.jar || die
+ ln -s "${DISTDIR}"/2F43A634A42CC4FD2EF9E24B488AFFD6984D3411-jaxws-2.2.zip websvc.jaxws21/external/jaxws-2.2.zip || die
+ ln -s "${DISTDIR}"/23E69F0F17757673C573EBD9899727B82EF7DB7F-jaxws-2.2-api.zip websvc.jaxws21api/external/jaxws-2.2-api.zip || die
+ ln -s "${DISTDIR}"/8ECD169E9E308C258287E4F28B03B6D6F1E55F47-jaxws-api-doc.zip websvc.jaxws21/external/jaxws-api-doc.zip || die
+ ln -s "${DISTDIR}"/0027BC49CBF5E88B68CCD58BD1EEB2EA7188D069-junit-3.8.2-api.zip junit/external/junit-3.8.2-api.zip || die
+ ln -s "${DISTDIR}"/DFF86384EBF414FE5DA323F5D4AD281B59FD4673-junit-4.8.2-api.zip junit/external/junit-4.8.2-api.zip || die
+ ln -s "${DISTDIR}"/2D0D28E05BD6B6452DAAFE2B5CCB69A84EA63E5D-spring-2.5.6.SEC01.jar libs.springframework/external/spring-2.5.6.SEC01.jar || die
+ ln -s "${DISTDIR}"/D88A41174C5F85D1B791D6A8E0F8B8A1C459D6C0-spring-framework-3.0.2.RELEASE.zip libs.springframework/external/spring-framework-3.0.2.RELEASE.zip || die
+ popd >/dev/null || die
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-7.0-build.xml.patch
+ sed -i "s%../o.jdesktop.layout/external%\${netbeans.dest.dir}/\${nb.cluster.platform.dir}/modules/ext%" java.examples/build.xml
+
+ 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 junit/external junit junit.jar junit-3.8.2.jar
+ java-pkg_jar-from --into libs.cglib/external cglib-2.2 cglib.jar cglib-2.2.jar
+ java-pkg_jar-from --into maven.embedder/external jdom-1.0 jdom.jar jdom-1.0.jar
+ java-pkg_jar-from --into o.jdesktop.beansbinding/external beansbinding beansbinding.jar beansbinding-1.2.1.jar
+ java-pkg_jar-from --into swingapp/external appframework appframework.jar appframework-1.0.3.jar
+ java-pkg_jar-from --into swingapp/external swing-worker swing-worker.jar swing-worker-1.1.jar
+ ln -s /usr/share/junit-4/sources/junit-src.zip junit/external/junit-4.8.2-src.jar || die
+
+ 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-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
+}
+
+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 * || die
+ rm "${D}"/${INSTALL_DIR}/docs/junit-4.8.2-src.jar || die
+ dosym /usr/share/junit-4/sources/junit-src.zip ${INSTALL_DIR}/docs/junit-4.8.2-src.jar || die
+ rm -fr "${D}"/${INSTALL_DIR}/ant/* || die
+ rm -fr "${D}"/${INSTALL_DIR}/maven || die
+ dosym /usr/share/maven-bin-3.0 ${INSTALL_DIR}/maven || die
+
+ insinto ${INSTALL_DIR}/ant || die
+ dosym /usr/share/ant/bin ${INSTALL_DIR}/ant/bin || die
+ dosym /usr/share/ant/etc ${INSTALL_DIR}/ant/etc || die
+ doins -r ant/extra || die
+ dosym /usr/share/ant/lib ${INSTALL_DIR}/ant/lib || die
+ doins -r ant/nblib || die
+ dosym /usr/share/ant/tasks ${INSTALL_DIR}/ant/tasks || die
+ local vertasks=$(ls -d /usr/share/ant/tasks-*)
+ dosym ${vertasks} ${INSTALL_DIR}/ant/$(basename ${vertasks}) || die # it would be better if ant would have tasks-current dir
+
+ popd >/dev/null || die
+
+ local instdir=/${INSTALL_DIR}/modules/ext
+ pushd "${D}"/${instdir} >/dev/null || die
+ rm AbsoluteLayout.jar && dosym /usr/share/absolutelayout/lib/absolutelayout.jar ${instdir}/AbsoluteLayout.jar || die
+ rm appframework-1.0.3.jar && dosym /usr/share/appframework/lib/appframework.jar ${instdir}/appframework-1.0.3.jar || die
+ rm beansbinding-1.2.1.jar && dosym /usr/share/beansbinding/lib/beansbinding.jar ${instdir}/beansbinding-1.2.1.jar || die
+ rm cglib-2.2.jar && dosym /usr/share/cglib-2.2/lib/cglib.jar ${instdir}/cglib-2.2.jar || die
+ # javac-api-nb-7.0-b07.jar
+ # javac-impl-nb-7.0-b07.jar
+ rm junit-3.8.2.jar && dosym /usr/share/junit/lib/junit.jar ${instdir}/junit-3.8.2.jar || die
+ # org-netbeans-modules-java-j2seplatform-probe.jar
+ rm swing-worker-1.1.jar && dosym /usr/share/swing-worker/lib/swing-worker.jar ${instdir}/swing-worker-1.1.jar || die
+ popd >/dev/null || die
+
+ local instdir=${INSTALL_DIR}/modules/ext/eclipselink
+ pushd "${D}"/${instdir} >/dev/null || die
+ # dir: eclipselink
+ # eclipselink-javax.persistence-2.0.jar
+ # eclipselink-jpa-modelgen-2.2.0.jar
+ # eclipselink-2.2.0.jar
+ popd >/dev/null || die
+
+ local instdir=${INSTALL_DIR}/modules/ext/hibernate
+ pushd "${D}"/${instdir} >/dev/null || die
+ rm antlr-2.7.6.jar && dosym /usr/share/antlr/lib/antlr.jar ${instdir}/antlr-2.7.6.jar || die
+ rm asm-attrs.jar && dosym /usr/share/asm-2.2/lib/asm-attrs.jar ${instdir}/asm-attrs.jar || die
+ rm asm.jar && dosym /usr/share/asm-2.2/lib/asm.jar ${instdir}/asm.jar || die
+ rm cglib-2.1.3.jar && dosym /usr/share/cglib-2.1/lib/cglib.jar ${instdir}/cglib-2.1.3.jar || die
+ rm commons-collections-2.1.1.jar && dosym /usr/share/commons-collections/lib/commons-collections.jar ${instdir}/commons-collections-2.1.1.jar || die
+ rm dom4j-1.6.1.jar && dosym /usr/share/dom4j-1/lib/dom4j.jar ${instdir}/dom4j-1.6.1.jar || die
+ rm ehcache-1.2.3.jar && dosym /usr/share/ehcache-1.2/lib/ehcache.jar ${instdir}/ehcache-1.2.3.jar || die
+ # ejb3-persistence.jar
+ # hibernate-annotations.jar
+ # hibernate-commons-annotations.jar
+ # hibernate-entitymanager.jar
+ # hibernate-tools.jar
+ # hibernate3.jar
+ rm javassist.jar && dosym /usr/share/javassist-3/lib/javassist.jar ${instdir}/javassist.jar || die
+ # jdbc2_0-stdext.jar
+ rm jta.jar && dosym /usr/share/jta/lib/jta.jar ${instdir}/jta.jar || die
+ rm jtidy-r8-20060801.jar && dosym /usr/share/jtidy/lib/Tidy.jar ${instdir}/jtidy-r8-20060801.jar || die
+ popd >/dev/null || die
+
+ local instdir=/${INSTALL_DIR}/modules/ext/jaxws22
+ pushd "${D}"/${instdir} >/dev/null || die
+ rm FastInfoset.jar && dosym /usr/share/fastinfoset/lib/fastinfoset.jar ${instdir}/FastInfoset.jar || die
+ # gmbal-api-only.jar
+ # http.jar
+ # jaxws-rt.jar
+ # jaxws-tools.jar
+ # management-api.jar
+ # mimepull.jar
+ # policy.jar
+ rm saaj-impl.jar && dosym /usr/share/saaj/lib/saaj.jar ${instdir}/saaj-impl.jar || die
+ rm stax-ex.jar && dosym /usr/share/stax-ex/lib/stax-ex.jar ${instdir}/stax-ex.jar || die
+ rm streambuffer.jar && dosym /usr/share/xmlstreambuffer/lib/streambuffer.jar ${instdir}/streambuffer.jar || die
+ # woodstox.jar
+ popd >/dev/null || die
+
+ local instdir=${INSTALL_DIR}/modules/ext/jaxws22/api
+ pushd "${D}"/${instdir} >/dev/null || die
+ # jaxws-api.jar
+ rm jsr181-api.jar && dosym /usr/share/jsr181/lib/jsr181.jar ${instdir}/jsr181-api.jar || die
+ rm jsr250-api.jar && dosym /usr/share/jsr250/lib/jsr250.jar ${instdir}/jsr250-api.jar || die
+ rm saaj-api.jar && dosym /usr/share/jsr67/lib/jsr67.jar ${instdir}/saaj-api.jar || die
+ popd >/dev/null || die
+
+ local instdir=${INSTALL_DIR}/modules/ext/maven
+ pushd "${D}"/${instdir} >/dev/null || die
+ # indexer-artifact-3.1.0.jar
+ # indexer-core-3.1.0.jar
+ rm jdom-1.0.jar && dosym /usr/share/jdom-1.0/lib/jdom.jar ${instdir}/jdom-1.0.jar || die
+ # maven-dependency-tree-1.2.jar
+ popd >/dev/null || die
+
+ local instdir=${INSTALL_DIR}/modules/ext/spring
+ pushd "${D}"/${instdir} >/dev/null || die
+ # spring-2.5.6.SEC01.jar
+ popd >/dev/null || die
+
+ local instdir=${INSTALL_DIR}/modules/ext/spring-3.0
+ pushd "${D}"/${instdir} >/dev/null || die
+ # spring-aop-3.0.2.RELEASE.jar
+ # spring-asm-3.0.2.RELEASE.jar
+ # spring-aspects-3.0.2.RELEASE.jar
+ # spring-beans-3.0.2.RELEASE.jar
+ # spring-context-support-3.0.2.RELEASE.jar
+ # spring-context-3.0.2.RELEASE.jar
+ # spring-core-3.0.2.RELEASE.jar
+ # spring-expression-3.0.2.RELEASE.jar
+ # spring-instrument-tomcat-3.0.2.RELEASE.jar
+ # spring-instrument-3.0.2.RELEASE.jar
+ # spring-jdbc-3.0.2.RELEASE.jar
+ # spring-jms-3.0.2.RELEASE.jar
+ # spring-orm-3.0.2.RELEASE.jar
+ # spring-oxm-3.0.2.RELEASE.jar
+ # spring-struts-3.0.2.RELEASE.jar
+ # spring-test-3.0.2.RELEASE.jar
+ # spring-tx-3.0.2.RELEASE.jar
+ # spring-webmvc-portlet-3.0.2.RELEASE.jar
+ # spring-webmvc-3.0.2.RELEASE.jar
+ # spring-web-3.0.2.RELEASE.jar
+ popd >/dev/null || die
+
+ local instdir=${INSTALL_DIR}/modules/ext/toplink
+ pushd "${D}"/${instdir} >/dev/null || die
+ # toplink-essentials-agent.jar
+ # toplink-essentials.jar
+ popd >/dev/null || die
+}
+
+pkg_postinst() {
+ elog "Note that if you change your version of ant, you have to re-emerge"
+ elog "this package to get updated the link to ant tasks of that specific"
+ elog "version."
+}
diff --git a/dev-java/netbeans-javacard/Manifest b/dev-java/netbeans-javacard/Manifest
new file mode 100644
index 000000000..c771ad824
--- /dev/null
+++ b/dev-java/netbeans-javacard/Manifest
@@ -0,0 +1,6 @@
+DIST 33DCFAE258453BDD3D8A042F6ECF80656A82B8DD-anttasks.jar 60835 RMD160 992f7e7dc28589bab71d87ae6de97e391049542d SHA1 33dcfae258453bdd3d8a042f6ecf80656a82b8dd SHA256 9d41bd3ff80ab7b6084e2a49fe185419c18748287a02bba2902b9cc94b6339d3
+DIST 6243337E93F5841D4FFB404011AA076BFEB1590A-javacard_ri.zip 7788619 RMD160 b85beeff50cc5acebdb57599a435e582efed2b90 SHA1 6243337e93f5841d4ffb404011aa076bfeb1590a SHA256 86c9576a56b9f994be663224b0505c1f61f8945d401bec63c70dd78c74fb91fe
+DIST 9C1A8BC9D3270D184F1D1BCC5F60AA81D46E1ADF-apduio.jar 125083 RMD160 e7ad1dd08f29db894e5af4a6fb5455226be36530 SHA1 9c1a8bc9d3270d184f1d1bcc5f60aa81d46e1adf SHA256 d2379466134f239b9dd723f021976e3d2ade9624296d3d4a6d3241beeecfc6ba
+DIST netbeans-7.0-build.xml.patch.bz2 1381 RMD160 a7a885fdae6f1bc654ace5aae4832fde5ffe8384 SHA1 92edb35b5c87535f01d237daf35763af847fb647 SHA256 2f5bf2ca235301487e0edd60742e5e536d98f3ee084a5835e6940840b287580f
+DIST netbeans-trunk-nightly-201101220001-src.zip 178771053 RMD160 dbaa99ed714d48269001bdf9145f108411aec109 SHA1 b9e51a807edc3137d7de98e0c2aa6dbc1f54a162 SHA256 bc042338611f80cd0004954dd9e37363ae38ef4a96bff16f153b05a59082b9e8
+EBUILD netbeans-javacard-7.0_beta_p20110122.ebuild 4552 RMD160 9ec018fa7774a0e4406a5f329af9f4044090af71 SHA1 502b81fd6cd13bce5d52ed4a1e96b8ea3d05a22a SHA256 625a746e1a720ab8c3fbcacb2376389d3c2f91dae4e77f09a060decfc4a53d45
diff --git a/dev-java/netbeans-javacard/netbeans-javacard-7.0_beta_p20110122.ebuild b/dev-java/netbeans-javacard/netbeans-javacard-7.0_beta_p20110122.ebuild
new file mode 100644
index 000000000..d7305fcf0
--- /dev/null
+++ b/dev-java/netbeans-javacard/netbeans-javacard-7.0_beta_p20110122.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+WANT_ANT_TASKS="ant-nodeps"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans JavaCard Cluster"
+HOMEPAGE="http://netbeans.org/projects/javacard"
+SLOT="7.0"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/latest/zip/netbeans-trunk-nightly-201101220001-src.zip"
+SRC_URI="${SOURCE_URL}
+ http://dev.gentoo.org/~fordfrog/distfiles/netbeans-${SLOT}-build.xml.patch.bz2
+ http://hg.netbeans.org/binaries/33DCFAE258453BDD3D8A042F6ECF80656A82B8DD-anttasks.jar
+ http://hg.netbeans.org/binaries/9C1A8BC9D3270D184F1D1BCC5F60AA81D46E1ADF-apduio.jar
+ http://hg.netbeans.org/binaries/6243337E93F5841D4FFB404011AA076BFEB1590A-javacard_ri.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-ide-${PV}
+ ~dev-java/netbeans-java-${PV}
+ ~dev-java/netbeans-platform-${PV}"
+DEPEND=">=virtual/jdk-1.6
+ app-arch/unzip
+ ${CDEPEND}
+ dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.6
+ ${CDEPEND}
+ dev-java/ant-contrib:0
+ dev-java/asm:3
+ dev-java/bcel:0
+ dev-java/commons-cli:1
+ dev-java/commons-codec:0
+ dev-java/commons-httpclient:3
+ dev-java/commons-logging: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.javacard -Dext.binaries.downloaded=true"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-7.0-build.xml.patch.bz2
+
+ pushd "${S}" >/dev/null || die
+ ln -s "${DISTDIR}"/33DCFAE258453BDD3D8A042F6ECF80656A82B8DD-anttasks.jar javacard.ri.platform/external/anttasks.jar || die
+ ln -s "${DISTDIR}"/9C1A8BC9D3270D184F1D1BCC5F60AA81D46E1ADF-apduio.jar javacard.apdu.io/external/apduio.jar || die
+ ln -s "${DISTDIR}"/6243337E93F5841D4FFB404011AA076BFEB1590A-javacard_ri.zip javacard.ri.bundle/external/javacard_ri.zip || die
+ popd >/dev/null || die
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-7.0-build.xml.patch
+
+ einfo "Symlinking external libraries..."
+ java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+
+ einfo "Linking in other clusters..."
+ mkdir "${S}"/nbbuild/netbeans || die
+ pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+ 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-java-${SLOT} java || die
+ cat /usr/share/netbeans-java-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.java.built
+
+ 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
+
+ popd >/dev/null || die
+
+ java-pkg-2_src_prepare
+}
+
+src_install() {
+ pushd nbbuild/netbeans/javacard >/dev/null || die
+
+ insinto ${INSTALL_DIR} || die
+
+ grep -E "/javacard$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+ doins -r * || die
+ rm -fr "${D}"/${INSTALL_DIR}/bin || die
+
+ popd >/dev/null || die
+
+ local instdir=${INSTALL_DIR}/JCDK3.0.2_ConnectedEdition/lib
+ pushd "${D}"/${instdir} >/dev/null || die
+ rm ant-contrib-1.0b3.jar && dosym /usr/share/ant-contrib/lib/ant-contrib.jar ${instdir}/ant-contrib-1.0b3.jar || die
+ # api_classic.jar
+ # api_connected.jar
+ rm asm-all-3.1.jar && dosym /usr/share/asm-3/lib/asm.jar ${instdir}/asm-all-3.1.jar || die
+ rm bcel-5.2.jar && dosym /usr/share/bcel/lib/bcel.jar ${instdir}/bcel-5.2.jar || die
+ rm commons-cli-1.0.jar && dosym /usr/share/commons-cli-1/lib/commons-cli.jar ${instdir}/commons-cli-1.0.jar || die
+ rm commons-codec-1.3.jar && dosym /usr/share/commons-codec/lib/commons-codec.jar ${instdir}/commons-codec-1.3.jar || die
+ rm commons-httpclient-3.0.jar && dosym /usr/share/commons-httpclient-3/lib/commons-httpclient.jar ${instdir}/commons-httpclient-3.0.jar || die
+ rm commons-logging-1.1.jar && dosym /usr/share/commons-logging/lib/commons-logging.jar ${instdir}/commons-logging-1.1.jar || die
+ # jcapt.jar
+ # jctasks.jar
+ # nbtasks.jar
+ # nbutils.jar
+ # tools.jar
+ popd >/dev/null || die
+
+ local instdir=${INSTALL_DIR}/modules/ext
+ pushd "${D}"/${instdir} >/dev/null || die
+ # apduio.jar
+ popd >/dev/null || die
+}
diff --git a/dev-java/netbeans-javadoc/Manifest b/dev-java/netbeans-javadoc/Manifest
new file mode 100644
index 000000000..c4c2c15ef
--- /dev/null
+++ b/dev-java/netbeans-javadoc/Manifest
@@ -0,0 +1,3 @@
+DIST netbeans-7.0-build.xml.patch.bz2 1381 RMD160 a7a885fdae6f1bc654ace5aae4832fde5ffe8384 SHA1 92edb35b5c87535f01d237daf35763af847fb647 SHA256 2f5bf2ca235301487e0edd60742e5e536d98f3ee084a5835e6940840b287580f
+DIST netbeans-trunk-nightly-201101220001-src.zip 178771053 RMD160 dbaa99ed714d48269001bdf9145f108411aec109 SHA1 b9e51a807edc3137d7de98e0c2aa6dbc1f54a162 SHA256 bc042338611f80cd0004954dd9e37363ae38ef4a96bff16f153b05a59082b9e8
+EBUILD netbeans-javadoc-7.0_beta_p20110122.ebuild 5723 RMD160 35b9d2b41d1a5627e32863187569f29949dd1356 SHA1 66e781073188dd7ae779d17c618ef6717a53eac1 SHA256 0c04e46ecb580e2430b7b01c23feae5099a631667c8d6d8034cb5a5dcc7f2036
diff --git a/dev-java/netbeans-javadoc/netbeans-javadoc-7.0_beta_p20110122.ebuild b/dev-java/netbeans-javadoc/netbeans-javadoc-7.0_beta_p20110122.ebuild
new file mode 100644
index 000000000..6ad8dfa46
--- /dev/null
+++ b/dev-java/netbeans-javadoc/netbeans-javadoc-7.0_beta_p20110122.ebuild
@@ -0,0 +1,145 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+WANT_ANT_TASKS="ant-nodeps"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans JavaDocs"
+HOMEPAGE="http://netbeans.org/"
+SLOT="7.0"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/latest/zip/netbeans-trunk-nightly-201101220001-src.zip"
+SRC_URI="${SOURCE_URL}
+ http://dev.gentoo.org/~fordfrog/distfiles/netbeans-${SLOT}-build.xml.patch.bz2"
+# http://hg.netbeans.org/binaries/A806D99716C5E9441BFD8B401176FDDEFC673022-bindex-2.2.jar
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+DEPEND=">=virtual/jdk-1.6
+ app-arch/unzip
+ dev-java/javahelp:0
+ ~dev-java/netbeans-apisupport-${PV}
+ ~dev-java/netbeans-cnd-${PV}
+ ~dev-java/netbeans-dlight-${PV}
+ ~dev-java/netbeans-enterprise-${PV}
+ ~dev-java/netbeans-ergonomics-${PV}
+ ~dev-java/netbeans-groovy-${PV}
+ ~dev-java/netbeans-harness-${PV}
+ ~dev-java/netbeans-ide-${PV}
+ ~dev-java/netbeans-java-${PV}
+ ~dev-java/netbeans-javacard-${PV}
+ ~dev-java/netbeans-mobility-${PV}
+ ~dev-java/netbeans-nb-${PV}
+ ~dev-java/netbeans-php-${PV}
+ ~dev-java/netbeans-platform-${PV}
+ ~dev-java/netbeans-profiler-${PV}
+ ~dev-java/netbeans-websvccommon-${PV}"
+RDEPEND=""
+
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-7.0-build.xml.patch.bz2
+
+# pushd "${S}" >/dev/null || die
+# ln -s "${DISTDIR}"/A806D99716C5E9441BFD8B401176FDDEFC673022-bindex-2.2.jar apisupport.harness/external/bindex-2.2.jar || die
+# popd >/dev/null || die
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-7.0-build.xml.patch
+
+ einfo "Symlinking external libraries..."
+ java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+
+ einfo "Linking in other clusters..."
+ mkdir "${S}"/nbbuild/netbeans || die
+ pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+ ln -s /usr/share/netbeans-apisupport-${SLOT} apisupport || die
+ cat /usr/share/netbeans-apisupport-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.apisupport.built
+
+ ln -s /usr/share/netbeans-cnd-${SLOT} cnd || die
+ cat /usr/share/netbeans-cnd-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.cnd.built
+
+ ln -s /usr/share/netbeans-dlight-${SLOT} dlight || die
+ cat /usr/share/netbeans-dlight-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.dlight.built
+
+ ln -s /usr/share/netbeans-enterprise-${SLOT} enterprise || die
+ cat /usr/share/netbeans-enterprise-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.enterprise.built
+
+ ln -s /usr/share/netbeans-ergonomics-${SLOT} ergonomics || die
+ cat /usr/share/netbeans-ergonomics-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.ergonomics.built
+
+ ln -s /usr/share/netbeans-groovy-${SLOT} groovy || die
+ cat /usr/share/netbeans-groovy-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.groovy.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-java-${SLOT} java || die
+ cat /usr/share/netbeans-java-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.java.built
+
+ ln -s /usr/share/netbeans-javacard-${SLOT} javacard || die
+ cat /usr/share/netbeans-javacard-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.javacard.built
+
+ ln -s /usr/share/netbeans-mobility-${SLOT} mobility || die
+ cat /usr/share/netbeans-mobility-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.mobility.built
+
+ ln -s /usr/share/netbeans-nb-${SLOT}/nb nb || die
+ cat /usr/share/netbeans-nb-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.nb.built
+
+ ln -s /usr/share/netbeans-php-${SLOT} php || die
+ cat /usr/share/netbeans-php-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.php.built
+
+ 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-profiler-${SLOT} profiler || die
+ cat /usr/share/netbeans-profiler-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.profiler.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
+
+ java-pkg-2_src_prepare
+}
+
+src_compile() {
+ eant -f nbbuild/build.xml bootstrap || die
+ ANT_OPTS="-Xmx1536m" eant -f nbbuild/javadoctools/build.xml build-javadoc
+}
+
+src_install() {
+ rm nbbuild/build/javadoc/*.zip
+ java-pkg_dojavadoc nbbuild/build/javadoc
+}
diff --git a/dev-java/netbeans-mobility/Manifest b/dev-java/netbeans-mobility/Manifest
new file mode 100644
index 000000000..42ec31977
--- /dev/null
+++ b/dev-java/netbeans-mobility/Manifest
@@ -0,0 +1,11 @@
+DIST 2EF44D925014E2EF76416535CC0F3A7C7E9F4AE1-perseus-nb-1.0.jar 740490 RMD160 9df19e10caf4f8c45c72343e92b6728a5e75a874 SHA1 2ef44d925014e2ef76416535cc0f3a7c7e9f4ae1 SHA256 d2f00ba457d0d0483cea1fb1345729edd50f4aba2f4290ec89381ee7ee7741ac
+DIST 2FB485DD8C5EFC7972037781BFFF0CE31316FCE6-jmunit-1.2.1-api.zip 70993 RMD160 f34ae5a3a25faa6e5a03a823d13eb9ad6127c385 SHA1 2fb485dd8c5efc7972037781bfff0ce31316fce6 SHA256 3c64c4cba2c281f3ce431655f4f79dcb664cc9aa31f963f0d742442dea7ddc65
+DIST 3A5C68B301F42D3E8D89976F90D4E2AE6F2984B6-nbactivesync-5.0.jar 7854 RMD160 3e4a311f477c55d4e1441ffe033acf62587acf91 SHA1 3a5c68b301f42d3e8d89976f90d4e2ae6f2984b6 SHA256 f3ec083ed777ef103129cbf5d21a88dff0e276910ebd0ef5022b9a8d6590302d
+DIST 793B8D020D81284E0B67FB635C17026121F06433-RicohAntTasks-2.0.jar 34879 RMD160 412526029683cd00573f7bf04bbe05a79cd356f6 SHA1 793b8d020d81284e0b67fb635c17026121f06433 SHA256 5c7a6096c8fc159735ae45fcaa480f3d01bc3c54118e510c9ca94dd2429a9adf
+DIST BD84F1A4C0789070CC62A8D2DBA75121A57C069C-jmunit4cldc10-1.2.1.jar 17955 RMD160 b9c067e93c28f9517accd051d5adaa59a5a449ec SHA1 bd84f1a4c0789070cc62a8d2dba75121a57c069c SHA256 1f29e07f6693ed09484fe4f95ace3adf40b41982bbbc2c0dd31c72c1b1e61c7b
+DIST CEF99941E945D543DF0711F2C6AEF765B50F8501-jakarta-slide-ant-webdav-2.1.jar 49538 RMD160 4e201cb8eeb62cd530afbf68c6944ff630653ef5 SHA1 cef99941e945d543df0711f2c6aef765b50f8501 SHA256 e70e5ceb94c1885f8c99af0c9930394d3724e4dc6ece0bb1783ba9a09712a20c
+DIST D1B5BA3BFE8DCFAF08A0468F8879EF1D0E998038-jakarta-slide-webdavlib-2.1.jar 172713 RMD160 1214a5f9e3439af251a5c8be6493c2bc862a7ab7 SHA1 d1b5ba3bfe8dcfaf08a0468f8879ef1d0e998038 SHA256 1924535a4a240581e5d6ccc38b95aefc168ca92e70198edb46bac67fba996242
+DIST D76B8334DCBDBE93297AA5C02B17D9A856E72246-jmunit4cldc11-1.2.1.jar 18043 RMD160 856f168f2cb3996ba7769eb543cc4995985aef2b SHA1 d76b8334dcbdbe93297aa5c02b17d9a856e72246 SHA256 f12eb81605e0d6f5c52515545cc6899baac1fc5f6ed069408a5eb5ede8a88c88
+DIST netbeans-7.0-build.xml.patch.bz2 1381 RMD160 a7a885fdae6f1bc654ace5aae4832fde5ffe8384 SHA1 92edb35b5c87535f01d237daf35763af847fb647 SHA256 2f5bf2ca235301487e0edd60742e5e536d98f3ee084a5835e6940840b287580f
+DIST netbeans-trunk-nightly-201101220001-src.zip 178771053 RMD160 dbaa99ed714d48269001bdf9145f108411aec109 SHA1 b9e51a807edc3137d7de98e0c2aa6dbc1f54a162 SHA256 bc042338611f80cd0004954dd9e37363ae38ef4a96bff16f153b05a59082b9e8
+EBUILD netbeans-mobility-7.0_beta_p20110122.ebuild 8569 RMD160 979bc3beed5950e5cab15f052b8fd0dd33d6e2f2 SHA1 747418bf1f94dd5afbad03b68ace6e4df8255ee7 SHA256 9b0027d69be9fdeb91b7f1de1f708fb3ec75112f62d2a266405efb613cb410e1
diff --git a/dev-java/netbeans-mobility/netbeans-mobility-7.0_beta_p20110122.ebuild b/dev-java/netbeans-mobility/netbeans-mobility-7.0_beta_p20110122.ebuild
new file mode 100644
index 000000000..89ac2f87e
--- /dev/null
+++ b/dev-java/netbeans-mobility/netbeans-mobility-7.0_beta_p20110122.ebuild
@@ -0,0 +1,176 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+WANT_ANT_TASKS="ant-nodeps"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Mobility Cluster"
+HOMEPAGE="http://netbeans.org/features/platform/"
+SLOT="7.0"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/latest/zip/netbeans-trunk-nightly-201101220001-src.zip"
+SRC_URI="${SOURCE_URL}
+ http://dev.gentoo.org/~fordfrog/distfiles/netbeans-${SLOT}-build.xml.patch.bz2
+ http://hg.netbeans.org/binaries/CEF99941E945D543DF0711F2C6AEF765B50F8501-jakarta-slide-ant-webdav-2.1.jar
+ http://hg.netbeans.org/binaries/D1B5BA3BFE8DCFAF08A0468F8879EF1D0E998038-jakarta-slide-webdavlib-2.1.jar
+ http://hg.netbeans.org/binaries/2FB485DD8C5EFC7972037781BFFF0CE31316FCE6-jmunit-1.2.1-api.zip
+ http://hg.netbeans.org/binaries/BD84F1A4C0789070CC62A8D2DBA75121A57C069C-jmunit4cldc10-1.2.1.jar
+ http://hg.netbeans.org/binaries/D76B8334DCBDBE93297AA5C02B17D9A856E72246-jmunit4cldc11-1.2.1.jar
+ http://hg.netbeans.org/binaries/3A5C68B301F42D3E8D89976F90D4E2AE6F2984B6-nbactivesync-5.0.jar
+ http://hg.netbeans.org/binaries/2EF44D925014E2EF76416535CC0F3A7C7E9F4AE1-perseus-nb-1.0.jar
+ http://hg.netbeans.org/binaries/793B8D020D81284E0B67FB635C17026121F06433-RicohAntTasks-2.0.jar"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-apisupport-${PV}
+ ~dev-java/netbeans-enterprise-${PV}
+ ~dev-java/netbeans-ide-${PV}
+ ~dev-java/netbeans-java-${PV}
+ ~dev-java/netbeans-platform-${PV}
+ ~dev-java/netbeans-websvccommon-${PV}
+ dev-java/ant-contrib:0
+ dev-java/commons-codec:0
+ dev-java/commons-httpclient:3
+ dev-java/jdom:1.0
+ dev-java/proguard:0"
+DEPEND=">=virtual/jdk-1.6
+ app-arch/unzip
+ ${CDEPEND}
+ dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.6
+ ${CDEPEND}"
+
+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.mobility -Dext.binaries.downloaded=true"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f | grep -vE "mobility.databindingme/lib/netbeans_databindingme.*\.jar" \
+ | grep -v "vmd.components.midp/netbeans_midp_components_basic/dist/netbeans_midp_components_basic.jar" \
+ | grep -v "vmd.components.midp.pda/netbeans_midp_components_pda/dist/netbeans_midp_components_pda.jar" \
+ | grep -v "vmd.components.midp.wma/netbeans_midp_components_wma/dist/netbeans_midp_components_wma.jar" \
+ | grep -v "vmd.components.svg/nb_svg_midp_components/dist/nb_svg_midp_components.jar" | xargs rm
+
+ unpack netbeans-7.0-build.xml.patch.bz2
+
+ pushd "${S}" >/dev/null || die
+ ln -s "${DISTDIR}"/CEF99941E945D543DF0711F2C6AEF765B50F8501-jakarta-slide-ant-webdav-2.1.jar mobility.deployment.webdav/external/jakarta-slide-ant-webdav-2.1.jar || die
+ ln -s "${DISTDIR}"/D1B5BA3BFE8DCFAF08A0468F8879EF1D0E998038-jakarta-slide-webdavlib-2.1.jar mobility.deployment.webdav/external/jakarta-slide-webdavlib-2.1.jar || die
+ ln -s "${DISTDIR}"/2FB485DD8C5EFC7972037781BFFF0CE31316FCE6-jmunit-1.2.1-api.zip mobility.j2meunit/external/jmunit-1.2.1-api.zip || die
+ ln -s "${DISTDIR}"/BD84F1A4C0789070CC62A8D2DBA75121A57C069C-jmunit4cldc10-1.2.1.jar mobility.j2meunit/external/jmunit4cldc10-1.2.1.jar || die
+ ln -s "${DISTDIR}"/D76B8334DCBDBE93297AA5C02B17D9A856E72246-jmunit4cldc11-1.2.1.jar mobility.j2meunit/external/jmunit4cldc11-1.2.1.jar || die
+ ln -s "${DISTDIR}"/3A5C68B301F42D3E8D89976F90D4E2AE6F2984B6-nbactivesync-5.0.jar o.n.mobility.lib.activesync/external/nbactivesync-5.0.jar || die
+ ln -s "${DISTDIR}"/2EF44D925014E2EF76416535CC0F3A7C7E9F4AE1-perseus-nb-1.0.jar svg.perseus/external/perseus-nb-1.0.jar || die
+ ln -s "${DISTDIR}"/793B8D020D81284E0B67FB635C17026121F06433-RicohAntTasks-2.0.jar j2me.cdc.project.ricoh/external/RicohAntTasks-2.0.jar || die
+ popd >/dev/null || die
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-7.0-build.xml.patch
+ sed -i "/release\.external.*nbactivesync/d" o.n.mobility.lib.activesync/nbproject/project.properties || die
+
+ einfo "Symlinking external libraries..."
+ java-pkg_jar-from --into j2me.cdc.project.ricoh/external commons-codec commons-codec.jar commons-codec-1.3.jar
+ java-pkg_jar-from --into j2me.cdc.project.ricoh/external commons-httpclient-3 commons-httpclient.jar commons-httpclient-3.0.jar
+ java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+ java-pkg_jar-from --into mobility.antext/external ant-contrib ant-contrib.jar ant-contrib-1.0b3.jar
+ java-pkg_jar-from --into mobility.deployment.webdav/external commons-httpclient-3 commons-httpclient.jar commons-httpclient-3.0.1.jar
+ java-pkg_jar-from --into mobility.deployment.webdav/external jdom-1.0 jdom.jar jdom-1.0.jar
+ java-pkg_jar-from --into mobility.proguard/external proguard proguard.jar proguard4.4.jar
+
+ einfo "Linking in other clusters..."
+ mkdir "${S}"/nbbuild/netbeans || die
+ pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+ ln -s /usr/share/netbeans-apisupport-${SLOT} apisupport || die
+ cat /usr/share/netbeans-apisupport-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.apisupport.built
+
+ ln -s /usr/share/netbeans-enterprise-${SLOT} enterprise || die
+ cat /usr/share/netbeans-enterprise-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.enterprise.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-java-${SLOT} java || die
+ cat /usr/share/netbeans-java-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.java.built
+
+ 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-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
+}
+
+src_install() {
+ pushd nbbuild/netbeans/mobility >/dev/null || die
+
+ insinto ${INSTALL_DIR} || die
+
+ grep -E "/mobility$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+ doins -r * || die
+ rm -rf "${D}"/${INSTALL_DIR}/modules/lib || die
+
+ popd >/dev/null || die
+
+ local instdir=${INSTALL_DIR}/external/proguard
+ pushd "${D}"/${instdir} >/dev/null || die
+ rm proguard4.4.jar && dosym /usr/share/proguard/lib/proguard.jar ${instdir}/proguard4.4.jar || die
+ popd >/dev/null || die
+
+ local instdir=${INSTALL_DIR}/modules/ext
+ pushd "${D}"/${instdir} >/dev/null || die
+ rm ant-contrib-1.0b3.jar && dosym /usr/share/ant-contrib/lib/ant-contrib.jar ${instdir}/ant-contrib-1.0b3.jar || die
+ # cdc-agui-swing-layout.jar
+ # cdc-pp-awt-layout.jar
+ rm commons-codec-1.3.jar && dosym /usr/share/commons-codec/lib/commons-codec.jar ${instdir}/commons-codec-1.3.jar || die
+ rm commons-httpclient-3.0.jar && dosym /usr/share/commons-httpclient-3/lib/commons-httpclient.jar ${instdir}/commons-httpclient-3.0.jar || die
+ rm commons-httpclient-3.0.1.jar && dosym /usr/share/commons-httpclient-3/lib/commons-httpclient.jar ${instdir}/commons-httpclient-3.0.1.jar || die
+ # jakarta-slide-ant-webdav-2.1.jar
+ # jakarta-slide-webdavlib-2.1.jar
+ rm jdom-1.0.jar && dosym /usr/share/jdom-1.0/lib/jdom.jar ${instdir}/jdom-1.0.jar || die
+ # jmunit4cldc10-1.2.1.jar
+ # jmunit4cldc11-1.2.1.jar
+ # nbactivesync-5.0.jar
+ # nb_svg_midp_components.jar
+ # netbeans_databindingme.jar
+ # netbeans_databindingme_pim.jar
+ # netbeans_databindingme_svg.jar
+ # netbeans_midp_components_basic.jar
+ # netbeans_midp_components_pda.jar
+ # netbeans_midp_components_wma.jar
+ # org-netbeans-modules-deployment-deviceanywhere.jar
+ # org-netbeans-modules-j2me-cdc-platform-nsicom-probe.jar
+ # org-netbeans-modules-j2me-cdc-project.jar
+ # org-netbeans-modules-j2me-cdc-project-nokiaS80.jar
+ # org-netbeans-modules-j2me-cdc-project-ojec.jar
+ # org-netbeans-modules-j2me-cdc-project-ricoh.jar
+ # org-netbeans-modules-j2me-cdc-project-savaje.jar
+ # org-netbeans-modules-j2me-cdc-project-semc.jar
+ # org-netbeans-modules-j2me-cdc-project-sjmc.jar
+ # perseus-nb-1.0.jar
+ # RicohAntTasks-2.0.jar
+ popd >/dev/null || die
+}
diff --git a/dev-java/netbeans-nb/Manifest b/dev-java/netbeans-nb/Manifest
new file mode 100644
index 000000000..1cecddfd8
--- /dev/null
+++ b/dev-java/netbeans-nb/Manifest
@@ -0,0 +1,5 @@
+AUX 7.0/keychain-support.patch 872 RMD160 8063d4dc226f04c6fda72fd9b8837757eb3f3276 SHA1 fd22c305e56cde92cb943cf3bca975ebde7781c4 SHA256 75ca94102e72f7d2b7dd16729dd84ee781b04e80430f841a9546aebaa51662c6
+DIST netbeans-7.0-build.xml.patch.bz2 1381 RMD160 a7a885fdae6f1bc654ace5aae4832fde5ffe8384 SHA1 92edb35b5c87535f01d237daf35763af847fb647 SHA256 2f5bf2ca235301487e0edd60742e5e536d98f3ee084a5835e6940840b287580f
+DIST netbeans-7.0.png 20011 RMD160 a941b71b571a9cd30c49446aef1bd4244e689465 SHA1 ebd2e748bb4bc29e667ead9a2fb717a9017f9405 SHA256 1d519f018ebeff6e29436c8492dbb266446bd0144fb5519b2ef6637664de6f4a
+DIST netbeans-trunk-nightly-201101220001-src.zip 178771053 RMD160 dbaa99ed714d48269001bdf9145f108411aec109 SHA1 b9e51a807edc3137d7de98e0c2aa6dbc1f54a162 SHA256 bc042338611f80cd0004954dd9e37363ae38ef4a96bff16f153b05a59082b9e8
+EBUILD netbeans-nb-7.0_beta_p20110122.ebuild 5877 RMD160 75d353a64787a92802f9d3e4d4c75b47d4349009 SHA1 f843fae0cc2d4e10974a3d2354523b7065084e39 SHA256 b8adf4c75cb85516910f9d728fb7f644c825e1c3d3cf815be4312f80e87692bf
diff --git a/dev-java/netbeans-nb/files/7.0/keychain-support.patch b/dev-java/netbeans-nb/files/7.0/keychain-support.patch
new file mode 100644
index 000000000..4e9c4878f
--- /dev/null
+++ b/dev-java/netbeans-nb/files/7.0/keychain-support.patch
@@ -0,0 +1,26 @@
+# HG changeset patch
+# Parent cbf7b2d2851314077b9c1ecd6ec95ce51453daf8
+diff -r cbf7b2d28513 -r 0350861eeabf ide/launcher/unix/netbeans
+--- a/ide/launcher/unix/netbeans Tue Nov 09 13:44:15 2010 +0100
++++ b/ide/launcher/unix/netbeans Tue Nov 09 14:21:18 2010 +0100
+@@ -169,6 +169,20 @@
+ then
+ sh=/bin/bash
+ fi
++ keychain=`which keychain`
++ if [ -n "$keychain" ]; then
++ $keychain -q
++ . $HOME/.keychain/$HOSTNAME-sh
++ if [ -e $userdir/keychain-keys.txt ]; then
++ for key in `cat $userdir/keychain-keys.txt`; do
++ SSH_ASKPASS=`which x11-ssh-askpass`
++ export SSH_ASKPASS
++ if [ -n "$key" ]; then
++ keychain $key
++ fi
++ done
++ fi
++ fi
+ if [ "${founduserdir}" = "yes" ]; then
+ exec $sh "$nbexec" "$@"
+ else
diff --git a/dev-java/netbeans-nb/netbeans-nb-7.0_beta_p20110122.ebuild b/dev-java/netbeans-nb/netbeans-nb-7.0_beta_p20110122.ebuild
new file mode 100644
index 000000000..5595d3085
--- /dev/null
+++ b/dev-java/netbeans-nb/netbeans-nb-7.0_beta_p20110122.ebuild
@@ -0,0 +1,152 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+WANT_ANT_TASKS="ant-nodeps"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans IDE Branding"
+HOMEPAGE="http://netbeans.org/"
+SLOT="7.0"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/latest/zip/netbeans-trunk-nightly-201101220001-src.zip"
+SRC_URI="${SOURCE_URL}
+ http://dev.gentoo.org/~fordfrog/distfiles/netbeans-${SLOT}-build.xml.patch.bz2
+ http://download.fordfrog.name/gentoo/netbeans-${SLOT}.png"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE="keychain"
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-platform-${PV}
+ ~dev-java/netbeans-harness-${PV}
+ ~dev-java/netbeans-ide-${PV}"
+DEPEND=">=virtual/jdk-1.6
+ app-arch/unzip
+ ${CDEPEND}
+ dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.6
+ ${CDEPEND}
+ keychain? (
+ net-misc/keychain:0
+ net-misc/x11-ssh-askpass:0
+ )"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster create-netbeans-import finish-build"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.nb -Dext.binaries.downloaded=true"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-7.0-build.xml.patch.bz2
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-7.0-build.xml.patch
+ use keychain && epatch "${FILESDIR}"/${SLOT}/keychain-support.patch
+
+ einfo "Symlinking external libraries..."
+ java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.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-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
+ popd >/dev/null || die
+
+ java-pkg-2_src_prepare
+}
+
+src_install() {
+ pushd nbbuild/netbeans >/dev/null || die
+
+ insinto ${INSTALL_DIR}/nb || die
+
+ grep -E "/nb$" moduleCluster.properties > "${D}"/${INSTALL_DIR}/nb/moduleCluster.properties || die
+
+ insinto ${INSTALL_DIR} || die
+ doins -r nb || die
+ dodoc *.txt || die
+ dohtml *.html *.css || die
+
+ insinto ${INSTALL_DIR}/bin || die
+ doins bin/netbeans || die
+ dosym ${INSTALL_DIR}/bin/netbeans /usr/bin/netbeans-${SLOT} || die
+ fperms 755 ${INSTALL_DIR}/bin/netbeans || die
+
+ insinto /etc/netbeans-${SLOT} || die
+ doins etc/* || die
+ dosym /etc/netbeans-${SLOT} ${INSTALL_DIR}/etc
+ sed -i "s%#netbeans_jdkhome=\"/path/to/jdk\"%netbeans_jdkhome=\"\$(java-config -O)\"%" "${D}"/etc/netbeans-${SLOT}/netbeans.conf || die
+
+ dodir /usr/share/icons/hicolor/32x32/apps
+ dosym ${INSTALL_DIR}/nb/netbeans.png /usr/share/icons/hicolor/32x32/apps/netbeans-${SLOT}.png
+ dodir /usr/share/icons/hicolor/128x128/apps
+ cp "${DISTDIR}"/netbeans-${SLOT}.png "${D}"/usr/share/icons/hicolor/128x128/apps/netbeans-${SLOT}.png
+ dosym /usr/share/icons/hicolor/128x128/apps/netbeans-${SLOT}.png /usr/share/pixmaps/netbeans-${SLOT}.png
+
+ popd >/dev/null || die
+
+ pushd "${D}"/etc/netbeans-${SLOT} >/dev/null || die
+ rm netbeans.clusters || die
+ echo "/usr/share/netbeans-platform-${SLOT}" >> netbeans.clusters
+ echo "/usr/share/netbeans-nb-${SLOT}/nb" >> netbeans.clusters
+ echo "/usr/share/netbeans-ergonomics-${SLOT}" >> netbeans.clusters
+ echo "/usr/share/netbeans-apisupport-${SLOT}" >> netbeans.clusters
+ echo "/usr/share/netbeans-cnd-${SLOT}" >> netbeans.clusters
+ echo "/usr/share/netbeans-dlight-${SLOT}" >> netbeans.clusters
+ echo "/usr/share/netbeans-enterprise-${SLOT}" >> netbeans.clusters
+ echo "/usr/share/netbeans-groovy-${SLOT}" >> netbeans.clusters
+ echo "/usr/share/netbeans-harness-${SLOT}" >> netbeans.clusters
+ echo "/usr/share/netbeans-ide-${SLOT}" >> netbeans.clusters
+ echo "/usr/share/netbeans-identity-${SLOT}" >> netbeans.clusters
+ echo "/usr/share/netbeans-java-${SLOT}" >> netbeans.clusters
+ echo "/usr/share/netbeans-javacard-${SLOT}" >> netbeans.clusters
+ echo "/usr/share/netbeans-mobility-${SLOT}" >> netbeans.clusters
+ echo "/usr/share/netbeans-php-${SLOT}" >> netbeans.clusters
+ echo "/usr/share/netbeans-profiler-${SLOT}" >> netbeans.clusters
+ echo "/usr/share/netbeans-visualweb-${SLOT}" >> netbeans.clusters
+ echo "/usr/share/netbeans-websvccommon-${SLOT}" >> netbeans.clusters
+ echo "/usr/share/netbeans-xml-${SLOT}" >> netbeans.clusters
+ popd >/dev/null || die
+
+ make_desktop_entry netbeans-${SLOT} "Netbeans ${PV}" netbeans-${SLOT} Development
+
+ echo "NBGNT" > ${D}/${INSTALL_DIR}/nb/config/productid || die "Could not set Gentoo Netbeans ID"
+}
+
+pkg_postinst() {
+ if use keychain ; then
+ einfo "You enabled keychain support, that means NetBeans will use keychain for managing"
+ einfo "your keys while connecting to ssh protected repositories. If you want to load some"
+ einfo "keys on NetBeans startup, create file keychain-keys.txt in your userdir"
+ einfo "(~/.netbeans/${SLOT}/keychain-keys.txt) and put names of your keys in the file,"
+ einfo "each key on single line, for example:"
+ einfo "id_dsa"
+ einfo "id_dsa_gentoo"
+ einfo "If on NetBeans startup key will not be handled by keychain yet, you will be asked"
+ einfo "for key password (only this time and never again). You can find more information"
+ einfo "about keychain at http://www.gentoo.org/doc/en/keychain-guide.xml"
+ fi
+}
diff --git a/dev-java/netbeans-php/Manifest b/dev-java/netbeans-php/Manifest
new file mode 100644
index 000000000..18b67ffbc
--- /dev/null
+++ b/dev-java/netbeans-php/Manifest
@@ -0,0 +1,7 @@
+DIST 06D0F78D33106A7E5D33B414BE4CA0CE474D969A-preindexed-php.zip 309765 RMD160 be978c80606f46442ef6be8271acb67ccda9a1df SHA1 06d0f78d33106a7e5d33b414be4ca0ce474d969a SHA256 5902f88ea62da7a2da4a0a22339777748f73167bea3400852d00be922bf667eb
+DIST 0702230EB3354A1687E4496D73A94F33A1E343BD-phpdocdesc.zip 38814 RMD160 cc87af81d98895a111a96553cec8b8838241cd90 SHA1 0702230eb3354a1687e4496d73a94f33a1e343bd SHA256 b49d6683562098839b7303da877242d0c017ae217db5c442cce33cf1559e733f
+DIST 40BC40A6E6DBD598900E8FAB87E460FCC601275C-predefined_vars.zip 4792 RMD160 95079efbed4e4fa3bb4c363e54b8410f934424b0 SHA1 40bc40a6e6dbd598900e8fab87e460fcc601275c SHA256 2cfd49c1dd77a5aa99dd4689aa2becffdfca5fc4af16f3cdf613aedbc868ea13
+DIST C3E8FC2F69123F598F29F930DC39F5B55A08824C-phpsigfiles.zip 421035 RMD160 8a739c44280b1f239a1ef645ca2a8d43d1cc4ad8 SHA1 c3e8fc2f69123f598f29f930dc39f5b55a08824c SHA256 0622147048e07b8ca59c2674d28327880264d05b775964d032e91f5101f7abd4
+DIST netbeans-7.0-build.xml.patch.bz2 1381 RMD160 a7a885fdae6f1bc654ace5aae4832fde5ffe8384 SHA1 92edb35b5c87535f01d237daf35763af847fb647 SHA256 2f5bf2ca235301487e0edd60742e5e536d98f3ee084a5835e6940840b287580f
+DIST netbeans-trunk-nightly-201101220001-src.zip 178771053 RMD160 dbaa99ed714d48269001bdf9145f108411aec109 SHA1 b9e51a807edc3137d7de98e0c2aa6dbc1f54a162 SHA256 bc042338611f80cd0004954dd9e37363ae38ef4a96bff16f153b05a59082b9e8
+EBUILD netbeans-php-7.0_beta_p20110122.ebuild 3747 RMD160 df30c9b497acba8691dd72c39d1beb122faaa06f SHA1 881cbc85a0df6013591cb62ede9fe6c40809bf7c SHA256 fa7b2d13619410eaefc3c211f7ce43ff078e6a4e89d2c53a0b25cdfe967d12d1
diff --git a/dev-java/netbeans-php/netbeans-php-7.0_beta_p20110122.ebuild b/dev-java/netbeans-php/netbeans-php-7.0_beta_p20110122.ebuild
new file mode 100644
index 000000000..b8bdd7201
--- /dev/null
+++ b/dev-java/netbeans-php/netbeans-php-7.0_beta_p20110122.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+WANT_ANT_TASKS="ant-nodeps"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans PHP Cluster"
+HOMEPAGE="http://netbeans.org/projects/php"
+SLOT="7.0"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/latest/zip/netbeans-trunk-nightly-201101220001-src.zip"
+SRC_URI="${SOURCE_URL}
+ http://dev.gentoo.org/~fordfrog/distfiles/netbeans-${SLOT}-build.xml.patch.bz2
+ http://hg.netbeans.org/binaries/0702230EB3354A1687E4496D73A94F33A1E343BD-phpdocdesc.zip
+ http://hg.netbeans.org/binaries/C3E8FC2F69123F598F29F930DC39F5B55A08824C-phpsigfiles.zip
+ http://hg.netbeans.org/binaries/06D0F78D33106A7E5D33B414BE4CA0CE474D969A-preindexed-php.zip
+ http://hg.netbeans.org/binaries/40BC40A6E6DBD598900E8FAB87E460FCC601275C-predefined_vars.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-ide-${PV}
+ ~dev-java/netbeans-platform-${PV}
+ ~dev-java/netbeans-websvccommon-${PV}
+ dev-java/javacup:0"
+DEPEND=">=virtual/jdk-1.6
+ app-arch/unzip
+ ${CDEPEND}
+ dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.6
+ ${CDEPEND}"
+
+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.php -Dext.binaries.downloaded=true"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-7.0-build.xml.patch.bz2
+
+ pushd "${S}" >/dev/null || die
+ ln -s "${DISTDIR}"/0702230EB3354A1687E4496D73A94F33A1E343BD-phpdocdesc.zip php.phpdoc.documentation/external/phpdocdesc.zip || die
+ ln -s "${DISTDIR}"/C3E8FC2F69123F598F29F930DC39F5B55A08824C-phpsigfiles.zip php.project/external/phpsigfiles.zip || die
+ ln -s "${DISTDIR}"/06D0F78D33106A7E5D33B414BE4CA0CE474D969A-preindexed-php.zip php.project/external/preindexed-php.zip || die
+ ln -s "${DISTDIR}"/40BC40A6E6DBD598900E8FAB87E460FCC601275C-predefined_vars.zip php.editor/external/predefined_vars.zip || die
+ popd >/dev/null || die
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-7.0-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.javacup/external javacup javacup.jar java-cup-11a.jar
+
+ einfo "Linking in other clusters..."
+ mkdir "${S}"/nbbuild/netbeans || die
+ pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+ 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-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-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
+}
+
+src_install() {
+ pushd nbbuild/netbeans/php >/dev/null || die
+
+ insinto ${INSTALL_DIR} || die
+
+ grep -E "/php$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+ doins -r * || die
+
+ popd >/dev/null || die
+
+ local instdir=${INSTALL_DIR}/modules/ext
+ pushd "${D}"/${instdir} >/dev/null || die
+ rm java-cup-11a.jar && dosym /usr/share/javacup/lib/javacup.jar ${instdir}/java-cup-11a.jar || die
+ popd >/dev/null || die
+}
diff --git a/dev-java/netbeans-platform/Manifest b/dev-java/netbeans-platform/Manifest
new file mode 100644
index 000000000..5ed884421
--- /dev/null
+++ b/dev-java/netbeans-platform/Manifest
@@ -0,0 +1,9 @@
+DIST 08676C719D33D26DF4F3988E210A04D7F11183B7-felix-2.0.3.jar 284924 RMD160 80d5ed18d6b3fb5e755db364298b0480aad4ddda SHA1 08676c719d33d26df4f3988e210a04d7f11183b7 SHA256 654e4e24680cffaca17ccf43b0028978741fdc25abc7c1cf82a23ae11b160077
+DIST 1C7FE319052EF49126CF07D0DB6953CB7007229E-swing-layout-1.0.4-doc.zip 77859 RMD160 477ae7cf30bc7f10e5cc631f6485b3e7f588bf69 SHA1 1c7fe319052ef49126cf07d0db6953cb7007229e SHA256 1503657e36d02befc5433a57f1134209f98f3d193ea30c9ac0553814a8590a21
+DIST 972E6455724DC6ADB1C1912F53B5E3D7DF20C5FD-osgi.cmpn-4.2.jar 234898 RMD160 fb93acac390c2a4b2cc680d3073085f6fcd6e526 SHA1 972e6455724dc6adb1c1912f53b5e3d7df20c5fd SHA256 d80c97da091ccc495479980aca82bb9ade3c3239fbc60b5f3840440ed3fe785d
+DIST 986195A7E31034EE73F7A896A36B24169692F142-osgi.core-4.2.jar 101276 RMD160 887f80145dde360aa24df4cd9ac8cff16c95e5da SHA1 986195a7e31034ee73f7a896a36b24169692f142 SHA256 f352484ea4d982793637f9c6978ebb283b2b026ec4c5add78b776084f420b8d8
+DIST AF109BEA46056EF1D09172A96E968ADFA8CE74F1-platform-3.2.7.jar 794779 RMD160 f22072c84c3cc78fa618ec5ab6836eb17e0452c4 SHA1 af109bea46056ef1d09172a96e968adfa8ce74f1 SHA256 da23f528da0295c34aeb28f52ec99bec9430782ba4ffa53f7905e0c78ef01ef1
+DIST BD5615C6A15497B60A0AAA9A04D4F05E2BC42D07-felix-main-2.0.2.jar 23434 RMD160 83c333240433200ff319157d89ea88e1774c1061 SHA1 bd5615c6a15497b60a0aaa9a04d4f05e2bc42d07 SHA256 73bb137228039e9aef458d1ee6272f3c0adcac2d0565d3ad307c60c941d33abf
+DIST netbeans-7.0-build.xml.patch.bz2 1381 RMD160 a7a885fdae6f1bc654ace5aae4832fde5ffe8384 SHA1 92edb35b5c87535f01d237daf35763af847fb647 SHA256 2f5bf2ca235301487e0edd60742e5e536d98f3ee084a5835e6940840b287580f
+DIST netbeans-trunk-nightly-201101220001-src.zip 178771053 RMD160 dbaa99ed714d48269001bdf9145f108411aec109 SHA1 b9e51a807edc3137d7de98e0c2aa6dbc1f54a162 SHA256 bc042338611f80cd0004954dd9e37363ae38ef4a96bff16f153b05a59082b9e8
+EBUILD netbeans-platform-7.0_beta_p20110122.ebuild 4881 RMD160 231951a3578785f391cdb572ce22d9628cc454aa SHA1 c3f2a5d60fbb76016bcf4af166080391fc9d14d0 SHA256 8e7dd8f037bb410d963c557b4a9342e136decdf8a5cf9ef16fb2de74a29a5a43
diff --git a/dev-java/netbeans-platform/netbeans-platform-7.0_beta_p20110122.ebuild b/dev-java/netbeans-platform/netbeans-platform-7.0_beta_p20110122.ebuild
new file mode 100644
index 000000000..860b63074
--- /dev/null
+++ b/dev-java/netbeans-platform/netbeans-platform-7.0_beta_p20110122.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+WANT_ANT_TASKS="ant-nodeps"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Platform"
+HOMEPAGE="http://netbeans.org/features/platform/"
+SLOT="7.0"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/latest/zip/netbeans-trunk-nightly-201101220001-src.zip"
+SRC_URI="${SOURCE_URL}
+ http://dev.gentoo.org/~fordfrog/distfiles/netbeans-${SLOT}-build.xml.patch.bz2
+ http://hg.netbeans.org/binaries/08676C719D33D26DF4F3988E210A04D7F11183B7-felix-2.0.3.jar
+ http://hg.netbeans.org/binaries/BD5615C6A15497B60A0AAA9A04D4F05E2BC42D07-felix-main-2.0.2.jar
+ http://hg.netbeans.org/binaries/972E6455724DC6ADB1C1912F53B5E3D7DF20C5FD-osgi.cmpn-4.2.jar
+ http://hg.netbeans.org/binaries/986195A7E31034EE73F7A896A36B24169692F142-osgi.core-4.2.jar
+ http://hg.netbeans.org/binaries/AF109BEA46056EF1D09172A96E968ADFA8CE74F1-platform-3.2.7.jar
+ http://hg.netbeans.org/binaries/1C7FE319052EF49126CF07D0DB6953CB7007229E-swing-layout-1.0.4-doc.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="dev-java/javahelp:0
+ dev-java/jna:0
+ >=dev-java/junit-4.4:4
+ dev-java/swing-layout:1[source]"
+DEPEND=">=virtual/jdk-1.6
+ app-arch/unzip
+ ${CDEPEND}"
+RDEPEND=">=virtual/jdk-1.6
+ ${CDEPEND}"
+
+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.platform -Dext.binaries.downloaded=true"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-7.0-build.xml.patch.bz2
+
+ pushd "${S}" >/dev/null || die
+ ln -s "${DISTDIR}"/08676C719D33D26DF4F3988E210A04D7F11183B7-felix-2.0.3.jar libs.felix/external/felix-2.0.3.jar || die
+ ln -s "${DISTDIR}"/BD5615C6A15497B60A0AAA9A04D4F05E2BC42D07-felix-main-2.0.2.jar libs.felix/external/felix-main-2.0.2.jar || die
+ ln -s "${DISTDIR}"/972E6455724DC6ADB1C1912F53B5E3D7DF20C5FD-osgi.cmpn-4.2.jar libs.osgi/external/osgi.cmpn-4.2.jar || die
+ ln -s "${DISTDIR}"/986195A7E31034EE73F7A896A36B24169692F142-osgi.core-4.2.jar libs.osgi/external/osgi.core-4.2.jar || die
+ ln -s "${DISTDIR}"/AF109BEA46056EF1D09172A96E968ADFA8CE74F1-platform-3.2.7.jar core.nativeaccess/external/platform-3.2.7.jar || die
+ ln -s "${DISTDIR}"/1C7FE319052EF49126CF07D0DB6953CB7007229E-swing-layout-1.0.4-doc.zip o.jdesktop.layout/external/swing-layout-1.0.4-doc.zip || die
+ popd >/dev/null || die
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-7.0-build.xml.patch
+ # upstream jna jar contains bundled binary libraries so we disable that feature
+ sed -i "/jnidispatch/d" libs.jna/nbproject/project.properties || die
+
+ einfo "Symlinking external libraries..."
+ java-pkg_jar-from --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+ java-pkg_jar-from --into libs.jna/external jna jna.jar jna-3.2.7.jar
+ java-pkg_jar-from --into libs.junit4/external junit-4 junit.jar junit-4.8.2.jar
+ java-pkg_jar-from --into o.jdesktop.layout/external swing-layout-1 swing-layout.jar swing-layout-1.0.4.jar
+ ln -s /usr/share/swing-layout-1/sources/swing-layout-src.zip o.jdesktop.layout/external/swing-layout-1.0.4-src.zip || die
+
+ java-pkg-2_src_prepare
+}
+
+src_install() {
+ pushd nbbuild/netbeans/platform >/dev/null || die
+
+ java-pkg_dojar lib/*.jar
+ grep -E "/platform$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+ insinto ${INSTALL_DIR} || die
+ doins -r config || die
+ doins -r core || die
+ doins -r docs || die
+ rm "${D}"/${INSTALL_DIR}/docs/swing-layout-1.0.4-src.zip || die
+ dosym /usr/share/swing-layout-1/sources/swing-layout-src.zip ${INSTALL_DIR}/docs/swing-layout-1.0.4-src.zip || die
+ doins -r modules || die
+ doins -r update_tracking || die
+ doins VERSION.txt || die
+
+ insinto ${INSTALL_DIR}/lib
+ doins lib/nbexec || die
+
+ popd >/dev/null || die
+
+ fperms 775 ${INSTALL_DIR}/lib/nbexec || die "Failed to change nbexec file permissions"
+ dosym ${INSTALL_DIR}/lib/nbexec /usr/bin/nbexec-${SLOT} || die "Failed to symlink nbexec"
+
+ local instdir=${INSTALL_DIR}/modules/ext
+ pushd "${D}"/${instdir} >/dev/null || die
+ # felix-main-2.0.2.jar
+ # felix-2.0.3.jar
+ rm jhall-2.0_05.jar && dosym /usr/share/javahelp/lib/jhall.jar ${instdir}/jhall-2.0_05.jar || die
+ rm jna-3.2.7.jar && dosym /usr/share/jna/lib/jna.jar ${instdir}/jna-3.2.7.jar || die
+ rm junit-4.8.2.jar && dosym /usr/share/junit-4/lib/junit.jar ${instdir}/junit-4.8.2.jar || die
+ # osgi.cmpn-4.2.jar
+ # osgi.core-4.2.jar
+ # platform-3.2.7.jar
+ rm swing-layout-1.0.4.jar && dosym /usr/share/swing-layout-1/lib/swing-layout.jar ${instdir}/swing-layout-1.0.4.jar || die
+ # updater.jar
+ popd >/dev/null || die
+}
diff --git a/dev-java/netbeans-profiler/Manifest b/dev-java/netbeans-profiler/Manifest
new file mode 100644
index 000000000..8864a7b8e
--- /dev/null
+++ b/dev-java/netbeans-profiler/Manifest
@@ -0,0 +1,3 @@
+DIST netbeans-7.0-build.xml.patch.bz2 1381 RMD160 a7a885fdae6f1bc654ace5aae4832fde5ffe8384 SHA1 92edb35b5c87535f01d237daf35763af847fb647 SHA256 2f5bf2ca235301487e0edd60742e5e536d98f3ee084a5835e6940840b287580f
+DIST netbeans-trunk-nightly-201101220001-src.zip 178771053 RMD160 dbaa99ed714d48269001bdf9145f108411aec109 SHA1 b9e51a807edc3137d7de98e0c2aa6dbc1f54a162 SHA256 bc042338611f80cd0004954dd9e37363ae38ef4a96bff16f153b05a59082b9e8
+EBUILD netbeans-profiler-7.0_beta_p20110122.ebuild 2725 RMD160 4f98f7f307cdda00325e97b0b41445c937f901a7 SHA1 645c6d925109a1d5ca637e361366f947e2c8cfe1 SHA256 85654d08c85719a5ad8a28c7e6e51f8d37d8a6819921ff6c09a130044036bcd9
diff --git a/dev-java/netbeans-profiler/netbeans-profiler-7.0_beta_p20110122.ebuild b/dev-java/netbeans-profiler/netbeans-profiler-7.0_beta_p20110122.ebuild
new file mode 100644
index 000000000..6c05a94a7
--- /dev/null
+++ b/dev-java/netbeans-profiler/netbeans-profiler-7.0_beta_p20110122.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+WANT_ANT_TASKS="ant-nodeps"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Profiler Cluster"
+HOMEPAGE="http://netbeans.org/projects/profiler"
+SLOT="7.0"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/latest/zip/netbeans-trunk-nightly-201101220001-src.zip"
+SRC_URI="${SOURCE_URL}
+ http://dev.gentoo.org/~fordfrog/distfiles/netbeans-${SLOT}-build.xml.patch.bz2"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-ide-${PV}
+ ~dev-java/netbeans-java-${PV}
+ ~dev-java/netbeans-platform-${PV}"
+DEPEND=">=virtual/jdk-1.6
+ app-arch/unzip
+ ${CDEPEND}
+ dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.6
+ ${CDEPEND}"
+
+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.profiler -Dext.binaries.downloaded=true"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-7.0-build.xml.patch.bz2
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-7.0-build.xml.patch
+
+ einfo "Symlinking external libraries..."
+ java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+
+ einfo "Linking in other clusters..."
+ mkdir "${S}"/nbbuild/netbeans || die
+ pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+ 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-java-${SLOT} java || die
+ cat /usr/share/netbeans-java-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.java.built
+
+ 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
+
+ popd >/dev/null || die
+
+ java-pkg-2_src_prepare
+}
+
+src_install() {
+ pushd nbbuild/netbeans/profiler >/dev/null || die
+
+ insinto ${INSTALL_DIR} || die
+
+ grep -E "/profiler$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+ doins -r * || die
+
+ for file in lib/deployed/cvm/linux/*.so ; do
+ fperms 755 ${file} || die
+ done
+
+ for file in lib/deployed/jdk*/linux*/*.so ; do
+ fperms 755 ${file} || die
+ done
+
+ for file in remote-pack-defs/*.sh ; do
+ fperms 755 ${file} || die
+ done
+
+ popd >/dev/null || die
+}
diff --git a/dev-java/netbeans-websvccommon/Manifest b/dev-java/netbeans-websvccommon/Manifest
new file mode 100644
index 000000000..eb0825ed8
--- /dev/null
+++ b/dev-java/netbeans-websvccommon/Manifest
@@ -0,0 +1,3 @@
+DIST netbeans-7.0-build.xml.patch.bz2 1381 RMD160 a7a885fdae6f1bc654ace5aae4832fde5ffe8384 SHA1 92edb35b5c87535f01d237daf35763af847fb647 SHA256 2f5bf2ca235301487e0edd60742e5e536d98f3ee084a5835e6940840b287580f
+DIST netbeans-trunk-nightly-201101220001-src.zip 178771053 RMD160 dbaa99ed714d48269001bdf9145f108411aec109 SHA1 b9e51a807edc3137d7de98e0c2aa6dbc1f54a162 SHA256 bc042338611f80cd0004954dd9e37363ae38ef4a96bff16f153b05a59082b9e8
+EBUILD netbeans-websvccommon-7.0_beta_p20110122.ebuild 2273 RMD160 0dff42399d15a847657534f05a788a218a2fc583 SHA1 4a58f30da965c921792fcbf085b0da01e38923b3 SHA256 eebba61ceebe35853e9221aac154c0a083f7b699aedafff8b42701a0649f5425
diff --git a/dev-java/netbeans-websvccommon/netbeans-websvccommon-7.0_beta_p20110122.ebuild b/dev-java/netbeans-websvccommon/netbeans-websvccommon-7.0_beta_p20110122.ebuild
new file mode 100644
index 000000000..4fff2a4e5
--- /dev/null
+++ b/dev-java/netbeans-websvccommon/netbeans-websvccommon-7.0_beta_p20110122.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+WANT_ANT_TASKS="ant-nodeps"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Web Services Common Cluster"
+HOMEPAGE="http://netbeans.org/"
+SLOT="7.0"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/latest/zip/netbeans-trunk-nightly-201101220001-src.zip"
+SRC_URI="${SOURCE_URL}
+ http://dev.gentoo.org/~fordfrog/distfiles/netbeans-${SLOT}-build.xml.patch.bz2"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-platform-${PV}
+ ~dev-java/netbeans-ide-${PV}"
+DEPEND=">=virtual/jdk-1.6
+ app-arch/unzip
+ ${CDEPEND}
+ dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.6
+ ${CDEPEND}"
+
+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.websvccommon -Dext.binaries.downloaded=true"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+ unpack $(basename ${SOURCE_URL})
+
+ einfo "Deleting bundled jars..."
+ find -name "*.jar" -type f -delete
+
+ unpack netbeans-7.0-build.xml.patch.bz2
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-7.0-build.xml.patch
+
+ einfo "Symlinking external libraries..."
+ java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.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-ide-${SLOT} ide || die
+ cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.ide.built
+
+ popd >/dev/null || die
+
+ java-pkg-2_src_prepare
+}
+
+src_install() {
+ pushd nbbuild/netbeans/websvccommon >/dev/null || die
+
+ insinto ${INSTALL_DIR} || die
+ grep -E "/websvccommon$" ../moduleCluster.properties > ${D}/${INSTALL_DIR}/moduleCluster.properties || die
+ doins -r * || die
+
+ popd >/dev/null || die
+}
diff --git a/dev-util/netbeans/Manifest b/dev-util/netbeans/Manifest
new file mode 100644
index 000000000..ad79c01ba
--- /dev/null
+++ b/dev-util/netbeans/Manifest
@@ -0,0 +1 @@
+EBUILD netbeans-7.0_beta_p20110122.ebuild 2236 RMD160 d45004ed10dbc943971cef5f2182d1c13a1163de SHA1 671ac71fbb4c87a312cc8a973b0f213cd9f1a1e6 SHA256 485246f079db45e9d28cf54b5abbc0a09c71e9ad0fd30aa2f2d549997500ee83
diff --git a/dev-util/netbeans/netbeans-7.0_beta_p20110122.ebuild b/dev-util/netbeans/netbeans-7.0_beta_p20110122.ebuild
new file mode 100644
index 000000000..708b2636e
--- /dev/null
+++ b/dev-util/netbeans/netbeans-7.0_beta_p20110122.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+inherit eutils
+
+DESCRIPTION="Netbeans IDE"
+HOMEPAGE="http://netbeans.org/"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+SLOT="7.0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE_NETBEANS_MODULES="
+ +netbeans_modules_apisupport
+ netbeans_modules_cnd
+ netbeans_modules_dlight
+ netbeans_modules_enterprise
+ netbeans_modules_ergonomics
+ netbeans_modules_groovy
+ +netbeans_modules_java
+ netbeans_modules_javacard
+ netbeans_modules_mobility
+ netbeans_modules_php
+ netbeans_modules_profiler
+ +netbeans_modules_websvccommon"
+IUSE_LINGUAS="
+ linguas_af
+ linguas_ar
+ linguas_ca
+ linguas_cs
+ linguas_de
+ linguas_el
+ linguas_es
+ linguas_fr
+ linguas_gl
+ linguas_hi_IN
+ linguas_id
+ linguas_it
+ linguas_ja
+ linguas_ko
+ linguas_lt
+ linguas_nl
+ linguas_pl
+ linguas_pt_BR
+ linguas_pt_PT
+ linguas_ro
+ linguas_ru
+ linguas_sq
+ linguas_sr
+ linguas_sv
+ linguas_tl
+ linguas_tr
+ linguas_vi
+ linguas_zh_CN
+ linguas_zh_TW"
+IUSE="doc ${IUSE_NETBEANS_MODULES} ${IUSE_LINGUAS}"
+
+DEPEND=""
+RDEPEND="~dev-java/netbeans-harness-${PV}
+ ~dev-java/netbeans-ide-${PV}
+ ~dev-java/netbeans-nb-${PV}
+ ~dev-java/netbeans-platform-${PV}
+ netbeans_modules_apisupport? ( ~dev-java/netbeans-apisupport-${PV} )
+ netbeans_modules_cnd? ( ~dev-java/netbeans-cnd-${PV} )
+ netbeans_modules_dlight? ( ~dev-java/netbeans-dlight-${PV} )
+ netbeans_modules_enterprise? ( ~dev-java/netbeans-enterprise-${PV} )
+ netbeans_modules_ergonomics? ( ~dev-java/netbeans-ergonomics-${PV} )
+ netbeans_modules_groovy? ( ~dev-java/netbeans-groovy-${PV} )
+ netbeans_modules_java? ( ~dev-java/netbeans-java-${PV} )
+ netbeans_modules_javacard? ( ~dev-java/netbeans-javacard-${PV} )
+ netbeans_modules_mobility? ( ~dev-java/netbeans-mobility-${PV} )
+ netbeans_modules_php? ( ~dev-java/netbeans-php-${PV} )
+ netbeans_modules_profiler? ( ~dev-java/netbeans-profiler-${PV} )
+ netbeans_modules_websvccommon? ( ~dev-java/netbeans-websvccommon-${PV} )
+ doc? ( ~dev-java/netbeans-javadoc-${PV} )"
diff --git a/profiles/repo_name b/profiles/repo_name
new file mode 100644
index 000000000..a3c914694
--- /dev/null
+++ b/profiles/repo_name
@@ -0,0 +1 @@
+fordfrog's gentoo repository
diff --git a/scripts/netbeans/create_new_release.sh b/scripts/netbeans/create_new_release.sh
new file mode 100755
index 000000000..1c3e74710
--- /dev/null
+++ b/scripts/netbeans/create_new_release.sh
@@ -0,0 +1,26 @@
+#!/bin/bash
+
+OLD=${1}
+NEW=${2}
+SOURCE_URL=${3}
+
+if [[ -z "${OLD}" ]] || [[ -z "${NEW}" ]] || [[ -z "${SOURCE_URL}" ]] ; then
+ echo "Missing argument!"
+ exit 1
+fi
+
+pushd $(dirname $(readlink -f ${0})) >/dev/null || exit 1
+pushd $(hg root) >/dev/null || exit 1
+
+for file in */*/*${OLD}*.ebuild ; do
+ hg cp ${file} $(echo ${file} | sed "s/${OLD}/${NEW}/") || exit 1
+done
+
+sed -i "s%SOURCE_URL=.*%SOURCE_URL=\"${SOURCE_URL}\"%" */*/*${NEW}*.ebuild || exit 1
+
+for file in */*/*${NEW}*.ebuild ; do
+ ebuild ${file} manifest
+done
+
+popd >/dev/null || exit 1
+popd >/dev/null || exit 1