public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/fordfrog:master commit in: dev-java/netbeans-java/, dev-java/netbeans-nb/, dev-java/netbeans-dlight/, ...
@ 2015-01-22  9:24 Miroslav Šulc
  0 siblings, 0 replies; only message in thread
From: Miroslav Šulc @ 2015-01-22  9:24 UTC (permalink / raw
  To: gentoo-commits

commit:     8d7e12a4616a5e0aff04950800a7e06a63a3c372
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 22 09:24:29 2015 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Thu Jan 22 09:24:29 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=dev/fordfrog.git;a=commit;h=8d7e12a4

netbeans: bumped to the latest sources

---
 dev-java/netbeans-apisupport/ChangeLog             |   6 +
 dev-java/netbeans-apisupport/Manifest              |   4 +-
 .../netbeans-apisupport-9999_p20150122.ebuild      | 111 ++++++
 dev-java/netbeans-cnd/ChangeLog                    |   6 +
 dev-java/netbeans-cnd/Manifest                     |   4 +-
 .../netbeans-cnd-9999_p20150122.ebuild             | 125 +++++++
 dev-java/netbeans-dlight/ChangeLog                 |   6 +
 dev-java/netbeans-dlight/Manifest                  |   5 +-
 .../netbeans-dlight-9999_p20150122.ebuild          | 101 ++++++
 dev-java/netbeans-enterprise/ChangeLog             |   6 +
 dev-java/netbeans-enterprise/Manifest              |   4 +-
 .../netbeans-enterprise-9999_p20150122.ebuild      | 249 ++++++++++++++
 dev-java/netbeans-ergonomics/ChangeLog             |   6 +
 dev-java/netbeans-ergonomics/Manifest              |   4 +-
 .../netbeans-ergonomics-9999_p20150122.ebuild      | 101 ++++++
 dev-java/netbeans-extide/ChangeLog                 |   6 +
 dev-java/netbeans-extide/Manifest                  |   4 +-
 .../netbeans-extide-9999_p20150122.ebuild          | 108 ++++++
 dev-java/netbeans-groovy/ChangeLog                 |   6 +
 dev-java/netbeans-groovy/Manifest                  |   4 +-
 .../netbeans-groovy-9999_p20150122.ebuild          | 111 ++++++
 dev-java/netbeans-harness/ChangeLog                |   6 +
 dev-java/netbeans-harness/Manifest                 |   4 +-
 .../netbeans-harness-9999_p20150122.ebuild         | 114 +++++++
 dev-java/netbeans-ide/ChangeLog                    |   6 +
 dev-java/netbeans-ide/Manifest                     |   4 +-
 .../netbeans-ide-9999_p20150122.ebuild             | 373 +++++++++++++++++++++
 dev-java/netbeans-java/ChangeLog                   |   6 +
 dev-java/netbeans-java/Manifest                    |   4 +-
 .../netbeans-java-9999_p20150122.ebuild            | 253 ++++++++++++++
 dev-java/netbeans-javacard/ChangeLog               |   6 +
 dev-java/netbeans-javacard/Manifest                |   4 +-
 .../netbeans-javacard-9999_p20150122.ebuild        | 134 ++++++++
 dev-java/netbeans-javadoc/ChangeLog                |   6 +
 dev-java/netbeans-javadoc/Manifest                 |   4 +-
 .../netbeans-javadoc-9999_p20150122.ebuild         | 168 ++++++++++
 dev-java/netbeans-javafx/ChangeLog                 |   6 +
 dev-java/netbeans-javafx/Manifest                  |   4 +-
 .../netbeans-javafx-9999_p20150122.ebuild          | 124 +++++++
 dev-java/netbeans-mobility/ChangeLog               |   6 +
 dev-java/netbeans-mobility/Manifest                |   4 +-
 .../netbeans-mobility-9999_p20150122.ebuild        | 126 +++++++
 dev-java/netbeans-nb/ChangeLog                     |   6 +
 dev-java/netbeans-nb/Manifest                      |   4 +-
 .../netbeans-nb/netbeans-nb-9999_p20150122.ebuild  | 148 ++++++++
 dev-java/netbeans-php/ChangeLog                    |   6 +
 dev-java/netbeans-php/Manifest                     |   4 +-
 .../netbeans-php-9999_p20150122.ebuild             | 127 +++++++
 dev-java/netbeans-platform/ChangeLog               |   6 +
 dev-java/netbeans-platform/Manifest                |   4 +-
 .../netbeans-platform-9999_p20150122.ebuild        | 153 +++++++++
 dev-java/netbeans-profiler/ChangeLog               |   6 +
 dev-java/netbeans-profiler/Manifest                |   4 +-
 .../netbeans-profiler-9999_p20150122.ebuild        | 121 +++++++
 dev-java/netbeans-webcommon/ChangeLog              |   6 +
 dev-java/netbeans-webcommon/Manifest               |   4 +-
 .../netbeans-webcommon-9999_p20150122.ebuild       | 123 +++++++
 dev-java/netbeans-websvccommon/ChangeLog           |   6 +
 dev-java/netbeans-websvccommon/Manifest            |   4 +-
 .../netbeans-websvccommon-9999_p20150122.ebuild    |  94 ++++++
 dev-util/netbeans/ChangeLog                        |   6 +
 dev-util/netbeans/Manifest                         |   4 +-
 dev-util/netbeans/netbeans-9999_p20150122.ebuild   | 264 +++++++++++++++
 63 files changed, 3418 insertions(+), 21 deletions(-)

diff --git a/dev-java/netbeans-apisupport/ChangeLog b/dev-java/netbeans-apisupport/ChangeLog
index 3f5fe7a..a20032f 100644
--- a/dev-java/netbeans-apisupport/ChangeLog
+++ b/dev-java/netbeans-apisupport/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-apisupport-9999_p20150122 (22 Jan 2015)
+
+  22 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-apisupport-9999_p20150122.ebuild:
+  bumped to the latest sources
+
 *netbeans-apisupport-9999_p20150121 (21 Jan 2015)
 
   21 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-apisupport/Manifest b/dev-java/netbeans-apisupport/Manifest
index 0409d25..413a915 100644
--- a/dev-java/netbeans-apisupport/Manifest
+++ b/dev-java/netbeans-apisupport/Manifest
@@ -40,6 +40,7 @@ DIST netbeans-trunk-nightly-201501180001-src.zip 201391445 SHA256 b1bf4373e5b799
 DIST netbeans-trunk-nightly-201501190001-src.zip 201391445 SHA256 ce4ec7706f80732c5c6d5764fb4cb0f2f82341d668e2680ed4d12c382e8541de SHA512 232c8beecd613bafca37af997c3aae0f35caa28a3a3f381553bc3264916f606540bcb5186c8a2a52ca21ce177ed413d6907865b4b42b80c102e7c636df736628 WHIRLPOOL 2176f82b120a7f9360f3b01cb970a8fcc5078e97da90ae0e870b37a53998beca6306b5f58bf9af3a15dc403f1dbb888457a56b0657a2f972b8e01ebe1b725abe
 DIST netbeans-trunk-nightly-201501200001-src.zip 201396862 SHA256 1a9378d8f52c4f617653d096aff287cf62212af8a6f878fe54cc468e4dd4bed7 SHA512 92fd39cda2d11816b9a01e0e5c26b3f527354a69efdc940cb27d5b17ee6493a07225d2698260db2bdc220e01d166ac42b5fb62f809d1e2eb84419c6e6abb3e14 WHIRLPOOL c3ba7155b5d376041d750c42f1ff8f8dec5bdbfedb470dea483a665978ef3982f087cb7a521f7892c264bb38d0876e4e7a08346ae4579338ba698ae7ee4ba456
 DIST netbeans-trunk-nightly-201501210001-src.zip 201405381 SHA256 95369f4a232531feb195f2d41c14b7ec9791bbd86282fc8155bb1828affe6afa SHA512 4e710bc5905ea83167152e3252a4309d6a4f6fe8f0ccd8f50bd6389635cb2c4fa1cda60c9c9df8d70149ef84bba66527a8c94b1822710421aa704d374a0132b5 WHIRLPOOL c6780c694d1acabd53ca2b23ac660d587b02f63f3f8b5a98c7e293af4e099dfc46dcd5dcd939d7133edb5885388150fd28723b6325678519a80f2cd0ea673ac8
+DIST netbeans-trunk-nightly-201501220002-src.zip 201432275 SHA256 1969c39ce22136b5ff98f7959bf96088b7caaf9ea46df54ff0ed01ca857de8df SHA512 dae7c345289746e85ea6bf99a6352fcb53ec02c8828bf447a686aed0cea577de11e75e89451abf76a1dee3b1d91aaa204dbbe3057ca40c58759f16a4d768b7a9 WHIRLPOOL 39163c8ccac8111c9ab2a0787a2bd137a680bd16eccf4a7e526cfe34c74df0efa957b320df52b92fe9f1dbd134e7e2b2e1479c237b78e7a060c3893aac8838f9
 EBUILD netbeans-apisupport-7.0.1.ebuild 3134 SHA256 41c32033c9945a39c0aebb6b0271767031d53a47e5c8365d9e3a7c86712e24cd SHA512 dd4bdde9574a87b46b02fd7204b1e90394bd87dc572dfa015b601203b026b35571f20323db834a310f90aefe6e4a822044b0d71d535a7351137219b50ecb2aa8 WHIRLPOOL f3721521a33b337d7dc24d6b49b0b2fe723f5ec446a5a4befb085051140a41bfd2d3081876e9f02f8b9932a3a0997b92211cd964fe372e40b42813df5db5170e
 EBUILD netbeans-apisupport-7.1.2.ebuild 3143 SHA256 cf24048c0ecca98a7d6371624bb0ddfb78663bead073d515a7c84229dbec00a8 SHA512 ec44c263e786210fd64c9ebb253bc9d4fc34d3be9493157dad06007c19734672bfd767765c003393d1e5cc6755fd5d1eda956b00c2092e98592a73ec1af4e729 WHIRLPOOL d619c304a994a2b818d892fb6315d092588f2ebf95e566f7a909f92daf21bb368a28c4e1af876ae585980dc82996e62aba30b12c41461103c23620a215480b76
 EBUILD netbeans-apisupport-7.2.ebuild 3126 SHA256 b0d64795b8403a932e3e20721a116c755c4de66fc36f7191476fcb4a226bad13 SHA512 cea062a72a8e75a9c2fe91c323f83d542a70149336360e1c41479f401fcae5ead6a301c8a7d5704d5beb27f7810b5d1e3cff0196cce7a26890a001c570179f6a WHIRLPOOL c286f4e4d3a02cbeb1a6e13b2005dc5435a6e9ec026a98fcc00bb83222014b800cd83f437c69352b48d16bdf442a6c7ebbed6aff86f10b3c5e6cdfb7edd9e184
@@ -74,5 +75,6 @@ EBUILD netbeans-apisupport-9999_p20150118.ebuild 3390 SHA256 7113ea05991ec5fe4dc
 EBUILD netbeans-apisupport-9999_p20150119.ebuild 3390 SHA256 c98effa1386e5ddcbe6cece4abbbd638d63274c6a59146d52821a2dbb5fe2c65 SHA512 9376a043702132d0add3f44c700e3296898032adf2c9b9c5f9fb41429d32f9968c1d9f19b0b4544ed09f4184e8d9514d7e53afa93041b6af077f402173f2661f WHIRLPOOL 9c0ab2912ca95a5263cd046a4c4320ad875430c9604982271158d95efdfff0051807717f443685373a64400817ffa978e7ad1f57f3fdbe63b56c9b58ab5cfdf7
 EBUILD netbeans-apisupport-9999_p20150120.ebuild 3390 SHA256 bf1fab0ecdaa7f6aa37cf41366d44233da2ae492eb1016ed8aa17312a2d6fbe7 SHA512 0121916113a461c4acffe166c0555fb1620ae4f343e5ecb80524b4377e110a5344f528ce6db081fac0fc3938b516704b6c352b6abaf5b8d6608597fd737d0ebd WHIRLPOOL 15ffa2ae2b8bff82cfc99749343214e4af4a3855ee6499de1c7f6562fe473d2eab8a8dafa1335f3838a6f66125e2fe4df196de4749298bac81c2ed93ed738260
 EBUILD netbeans-apisupport-9999_p20150121.ebuild 3390 SHA256 502a7a03367cf511f4466fe74e421c3ff4d4ca6ef4e1e312b59faddf4d7f0a32 SHA512 74fae0356af0c98fc9f3724cdd6304501f1714d7f47c8df8236e24543a7813cf93a61a12751f8fb62c836d2e81b877d48b894fd9fb4409c5cbc292f9442acf0e WHIRLPOOL 3db8faf41126c6cea11b4b3e785d905c994006344c6076b75d26be491c840e8f96c798f88585fae4da50024d08d99536e0d5446958cd7907fa6a1a848b71e529
-MISC ChangeLog 154745 SHA256 cf2d151d5fa696c56bd0fce3e200c581f0f646e01a096ffaf3800d089067c0a0 SHA512 dc8b74b020b3eb8a280101ef4c1842dad3c7f9399727b4c18582936230022226a7268b4ed4bc98f7fab49d213075ccf8af742087616d466e1ad0bed1b2009717 WHIRLPOOL 72f694b070611d432bff2ecf3a3d722ab590dcb7dfd267d53a6a53236a9002dc2f68cb0c1a5631985802bccf0739418cad2f29b567b15b16047be527c04b557f
+EBUILD netbeans-apisupport-9999_p20150122.ebuild 3390 SHA256 f31fd3dd9bfe3fa9257a01defff3ea415519635b2954284aaf0b8e037dbb8f11 SHA512 4e618c6ef508fae324052923443965cbc47ec9ff239d60b0c893d984de81f9e3a8ca0f1621407247383f6a90928ba44ff2f416a8b4f106c79f6340362a48db22 WHIRLPOOL d086b3a91931c176b10dd23dacfed89961f0972b8c849717961fedf186b9727373f65008bd6aa49d31d38680db31aeca13b97b80f28ec44b8f6056771b644543
+MISC ChangeLog 154926 SHA256 9edab257a69305f60277ed8b51cd3f538d134f1cf7ef2fcd7b6d8c2b43659d53 SHA512 db73777eef107fef62eee3429982c33a4862a0a4c741ba0beb4ce7be8819c9fe18f3caebd2d4bbc9b450527b67b540438ff1d0d44737a1b11ce3480db880630a WHIRLPOOL 6eec250064c234f7e462a64103952f25433ceebe953ef50be350b32c368bcf27fcca5916a5f7ab1cf1c6f5e57729855d297b4770859a3373fb10e80de84fca7c
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20150122.ebuild b/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20150122.ebuild
new file mode 100644
index 0000000..785f2d2
--- /dev/null
+++ b/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20150122.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans API Support Cluster"
+HOMEPAGE="http://netbeans.org/projects/apisupport"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2015-01-22_00-02-29/zip/netbeans-trunk-nightly-201501220002-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-extide-${PV}
+	~dev-java/netbeans-harness-${PV}
+	~dev-java/netbeans-ide-${PV}
+	~dev-java/netbeans-java-${PV}
+	~dev-java/netbeans-platform-${PV}"
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.7
+	${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 -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	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-extide-${SLOT} extide || die
+	cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.extide.built
+
+	ln -s /usr/share/netbeans-harness-${SLOT} harness || die
+	cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.harness.built
+
+	ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+	cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.ide.built
+
+	ln -s /usr/share/netbeans-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}
+
+	grep -E "/apisupport$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/apisupport
+}

diff --git a/dev-java/netbeans-cnd/ChangeLog b/dev-java/netbeans-cnd/ChangeLog
index 18c8f9b..e876579 100644
--- a/dev-java/netbeans-cnd/ChangeLog
+++ b/dev-java/netbeans-cnd/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-cnd-9999_p20150122 (22 Jan 2015)
+
+  22 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-cnd-9999_p20150122.ebuild:
+  bumped to the latest sources
+
 *netbeans-cnd-9999_p20150121 (21 Jan 2015)
 
   21 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-cnd/Manifest b/dev-java/netbeans-cnd/Manifest
index b8f6706..4dc93e9 100644
--- a/dev-java/netbeans-cnd/Manifest
+++ b/dev-java/netbeans-cnd/Manifest
@@ -53,6 +53,7 @@ DIST netbeans-trunk-nightly-201501180001-src.zip 201391445 SHA256 b1bf4373e5b799
 DIST netbeans-trunk-nightly-201501190001-src.zip 201391445 SHA256 ce4ec7706f80732c5c6d5764fb4cb0f2f82341d668e2680ed4d12c382e8541de SHA512 232c8beecd613bafca37af997c3aae0f35caa28a3a3f381553bc3264916f606540bcb5186c8a2a52ca21ce177ed413d6907865b4b42b80c102e7c636df736628 WHIRLPOOL 2176f82b120a7f9360f3b01cb970a8fcc5078e97da90ae0e870b37a53998beca6306b5f58bf9af3a15dc403f1dbb888457a56b0657a2f972b8e01ebe1b725abe
 DIST netbeans-trunk-nightly-201501200001-src.zip 201396862 SHA256 1a9378d8f52c4f617653d096aff287cf62212af8a6f878fe54cc468e4dd4bed7 SHA512 92fd39cda2d11816b9a01e0e5c26b3f527354a69efdc940cb27d5b17ee6493a07225d2698260db2bdc220e01d166ac42b5fb62f809d1e2eb84419c6e6abb3e14 WHIRLPOOL c3ba7155b5d376041d750c42f1ff8f8dec5bdbfedb470dea483a665978ef3982f087cb7a521f7892c264bb38d0876e4e7a08346ae4579338ba698ae7ee4ba456
 DIST netbeans-trunk-nightly-201501210001-src.zip 201405381 SHA256 95369f4a232531feb195f2d41c14b7ec9791bbd86282fc8155bb1828affe6afa SHA512 4e710bc5905ea83167152e3252a4309d6a4f6fe8f0ccd8f50bd6389635cb2c4fa1cda60c9c9df8d70149ef84bba66527a8c94b1822710421aa704d374a0132b5 WHIRLPOOL c6780c694d1acabd53ca2b23ac660d587b02f63f3f8b5a98c7e293af4e099dfc46dcd5dcd939d7133edb5885388150fd28723b6325678519a80f2cd0ea673ac8
+DIST netbeans-trunk-nightly-201501220002-src.zip 201432275 SHA256 1969c39ce22136b5ff98f7959bf96088b7caaf9ea46df54ff0ed01ca857de8df SHA512 dae7c345289746e85ea6bf99a6352fcb53ec02c8828bf447a686aed0cea577de11e75e89451abf76a1dee3b1d91aaa204dbbe3057ca40c58759f16a4d768b7a9 WHIRLPOOL 39163c8ccac8111c9ab2a0787a2bd137a680bd16eccf4a7e526cfe34c74df0efa957b320df52b92fe9f1dbd134e7e2b2e1479c237b78e7a060c3893aac8838f9
 EBUILD netbeans-cnd-7.0.1.ebuild 4602 SHA256 1336b76de715719ef59a3601dd5ad3b24992f58096f874f0e37935ec0d088d8e SHA512 38745c3ad6364198516ebb64002185fd05c34dee75acdb3933221d772177d5d6fcda853bb63991f0d071b21079fdab0c090db93e59cddd8daeb8f8d571a18a41 WHIRLPOOL cc196275289a01c1168b8c2710e0be0c2483cc86dc47b8fb3383ce1141f7bc11565e2b2feb95436cf448c09aaac7ee8c8804316ce6782d8853c0742367c0963a
 EBUILD netbeans-cnd-7.1.2.ebuild 4218 SHA256 6c80020e4204226274f4a24413dad8bf134f5beb7aee4ecc53d6b4d709093bb2 SHA512 299c07f5e5d930045e8c8ef3d04009beee7035daa2022a803e6dcb16b380096bbf5014c2d684094705d06b4608afcf6925266ef609a483a86452b03505dcb67c WHIRLPOOL 6d6c8bddf3490282b9134315f9bc94ff55675160056fa4c98c302a59d943a9cb38f23ffb9ca313c82061d84d0ae86898ce72d16756d41c468737e319e68f06ce
 EBUILD netbeans-cnd-7.2.ebuild 4201 SHA256 0f77a1a343d437e2eb1236722b27b2f2f03901ecc1afde29e1d38e54aef7c81d SHA512 b5fc985d1280ab900cb5125691a0ff99bab075ff5e93ded9af256310a7dcbea87a28a52ba383875caa24fd0ff28bc8dff4fc0fa0242987a673fdc729f7234b58 WHIRLPOOL 19e79dc426fb05ffb48ff9b13de3bab40f483b6dd9d79514e8f819029c278ee47a09c9531b5b4dba2014f805d502e66745f3355e2932e24e0dd9b5e3e273d2c2
@@ -87,5 +88,6 @@ EBUILD netbeans-cnd-9999_p20150118.ebuild 4586 SHA256 6882fa70cbed44b940a4a2761d
 EBUILD netbeans-cnd-9999_p20150119.ebuild 4586 SHA256 a6ee0cc4194be234a9c16e55cdc81f307dd09ab1e05eeb8e85a89781f0278315 SHA512 c5d8f452769c800664c271fa35024146a3944f1d52e78d944d5664269d06e9144e75d39d82108ae9f6138c0b2805ab1f82d42c8dbff5ac176156094b2bf7e2ec WHIRLPOOL 3458a69746a9f84dbccdcfca1d0b13409e10723c6352ad7c546e66fbd9cf140bc08a808243173b12ab9407ca8db2e253b1fe991489a57f69cbe369fb64bad0ae
 EBUILD netbeans-cnd-9999_p20150120.ebuild 4586 SHA256 25666db555276180d7046d3912f39ba37e4e6696aef46d1a893494a9b72694bd SHA512 e6c36f9f01149dc04bf67c0cc0aaba96cd96d5951ffc697b81d3833044ade2f976f4caebd564e8222576fe866889a7ece3de7e1b3b43014a35a84bfdbcdc47d1 WHIRLPOOL 38ef873c22ce786396aeca127283bcec5ce57c1a8770bd13bbc96efd0a1bae027b774a754d0b42eca52f3da227a74e1391696dfb6c830f797ed57f40f5e103d3
 EBUILD netbeans-cnd-9999_p20150121.ebuild 4586 SHA256 e273b7a340725c8063af8ce80db35b812f1cc96733c34ce1552f377544b86b76 SHA512 cdf87ee042dc7b0972149f5c95f3c52f0a5e4744eb2f6b0248beea767b298aec714ccf5433c9fbd790c0b1d1f480bd7f94966bebe57229b3577113ad9ee32031 WHIRLPOOL 994412dccd3f3c9278ca5d3b3e64fe5cc388b7620b53783205afe0832e42fd7ebcfa97001cfccb7f4d485c11dab650c286dfc2d0ea36e6bd3ca807801201f930
-MISC ChangeLog 141353 SHA256 b3f07808332eb78b372b49b152cbfd03d30aeccbad99b532b5b7ff3027dab832 SHA512 0de43c0a62d2dd8b89c767419ff64131fa1e7e782ab16c5daaa1eab3b8c0c0a9e3274cef9e147498892226b064b8173c2f53a12c8334894cff196f6deed93b10 WHIRLPOOL 76e80e24c7776b51d047cddc49b407fdfdd5d4625f395dd786dc1916d43d09c600a28233d66ac45092f322fc3170453025cc9766dee8d8d63103e87ecf6b92c3
+EBUILD netbeans-cnd-9999_p20150122.ebuild 4586 SHA256 77ba145c8154c73582574fe16bdcda66a0566b5f2fbdd587553db2b1d9a4b9e6 SHA512 d67545b9e84a49a7713e1661fa611c7bfce91841b6e649019b663891256946feb02a5b098953f68328f9f7ff7ee6c184cba52e5bb0d7373a546c63153ead9e3d WHIRLPOOL cb5869b1e3a089cbe96a933b6552576091e4ec5bf79a2f641cff7780f15df5e07c6ac7072a352ef2c90697c9346a924172c5b0961d89e4469dfb4c87ac6e5468
+MISC ChangeLog 141520 SHA256 a6ff7913ed32edc06d768b3cb997611fe6050fcd1c804d82f665056650f7629c SHA512 0e7b00e2b4a308c74e248e35e3c6acb9118f7e96b8eb8b21e19aa2e75bb5dad85be9d177c6f691ba7e72cb8440d1367e543071afb8ed537baafe7132af37a8ff WHIRLPOOL bb4233f072d3a40b57a2cd9897dd76ac1e7a6a8ede12f620d474bfcd6af70199866cd285eddd965d3aa2bed652eb3f540b857e1893771b486b04c35669ce168a
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-cnd/netbeans-cnd-9999_p20150122.ebuild b/dev-java/netbeans-cnd/netbeans-cnd-9999_p20150122.ebuild
new file mode 100644
index 0000000..5a0fd19
--- /dev/null
+++ b/dev-java/netbeans-cnd/netbeans-cnd-9999_p20150122.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans CND Cluster"
+HOMEPAGE="http://netbeans.org/projects/cnd"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2015-01-22_00-02-29/zip/netbeans-trunk-nightly-201501220002-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/5CAB59D859CAA6598E28131D30DD2E89806DB57F-antlr-3.4.jar
+	http://hg.netbeans.org/binaries/4E74C6BE42FE89871A878C7C4D6158F21A6D8010-antlr-runtime-3.4.jar
+	http://hg.netbeans.org/binaries/24C58A1D3C410AD3E23CD828871630C17068B238-cnd-build-trace-1.0.zip
+	http://hg.netbeans.org/binaries/2BCF2047382FB68A2F275677745C80E79B4046AB-cnd-rfs-1.0.zip
+	http://hg.netbeans.org/binaries/C51780D99464CBF45B0495C7646B442AB3C7B463-open-fortran-parser-0.7.1.2.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+# These files are for remote development and debugging
+QA_PREBUILT="usr/share/netbeans-cnd-${SLOT}/bin/*"
+
+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.7
+	app-arch/unzip
+	>=dev-java/jna-3.4.0
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.7
+	${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 -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/5CAB59D859CAA6598E28131D30DD2E89806DB57F-antlr-3.4.jar libs.antlr3.devel/external/antlr-3.4.jar || die
+	ln -s "${DISTDIR}"/4E74C6BE42FE89871A878C7C4D6158F21A6D8010-antlr-runtime-3.4.jar libs.antlr3.runtime/external/antlr-runtime-3.4.jar || die
+	ln -s "${DISTDIR}"/24C58A1D3C410AD3E23CD828871630C17068B238-cnd-build-trace-1.0.zip cnd.discovery/external/cnd-build-trace-1.0.zip || die
+	ln -s "${DISTDIR}"/2BCF2047382FB68A2F275677745C80E79B4046AB-cnd-rfs-1.0.zip cnd.remote/external/cnd-rfs-1.0.zip || die
+	ln -s "${DISTDIR}"/C51780D99464CBF45B0495C7646B442AB3C7B463-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-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	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.jna/external jna jna.jar jna-4.1.0.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}
+
+	grep -E "/cnd$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+	fperms 755 bin/dorun.sh
+
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/cnd
+}

diff --git a/dev-java/netbeans-dlight/ChangeLog b/dev-java/netbeans-dlight/ChangeLog
index 3f2a98e..2734cf7 100644
--- a/dev-java/netbeans-dlight/ChangeLog
+++ b/dev-java/netbeans-dlight/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-dlight-9999_p20150122 (22 Jan 2015)
+
+  22 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-dlight-9999_p20150122.ebuild:
+  bumped to the latest sources
+
 *netbeans-dlight-9999_p20150121 (21 Jan 2015)
 
   21 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-dlight/Manifest b/dev-java/netbeans-dlight/Manifest
index a8c2eab..beefaa9 100644
--- a/dev-java/netbeans-dlight/Manifest
+++ b/dev-java/netbeans-dlight/Manifest
@@ -2,6 +2,7 @@ DIST 0018CB63E592539ABB6549B00A354DA95B404F61-fs_server-1.0.zip 231348 SHA256 df
 DIST 457A4C66AE33D1D5887BB1F359EEA41A10EBB2AB-fs_server-1.0.zip 283369 SHA256 2da5ca58d9960bb19f3b573709c0f73a408cbd94a19e89abfcc261b85decf9d2 SHA512 60a742dad5967c2eb5350d62cfc39925a4413fc4dc904ebdf1e6a04849a4f659dc75ff6166189957854d1241badc0bc0925aa868509d96495f41f4d91565a545 WHIRLPOOL 27e8e1219ee65f87b4cf0a24ac9955bbf65e33d4cd2315bfc9c157b170b6b9eba1d703a72a4a1a2ae05462b6c8c99b82b1e908362d65bfc36685e2c1ccb75b5f
 DIST 623DE5A3A60FEA313099D7C42256B146E2BEE9B2-h2-1.0.79.jar 1086505 SHA256 2711de9ace1c4d993524ce362485ca3cf5771a326bcb715229f0e3ebe0772587 SHA512 2e1a7463c03384b5d1b32fb3d100a42120522451b6c8d0a1c0cc74d5f098da74034e62d7b3c1a118720d13918ce4b679fc480dbd09777622f0e34e6c06f86233 WHIRLPOOL 2f27e0f011ea4cbfe7f1ceb2919089574c1a08b0fa58ae2fe4ba8449d84ab2090e13734d6882872f1971d30b600c37a0bdd021d860fa491713e809509df9712c
 DIST 9695A2FCDFCDDB42935490029E077C053E3F6FE1-fs_server-1.0.zip 299695 SHA256 430d8ed0ad59c8469a645bd849138208fb40233a9fb61e1536b774b9482ec438 SHA512 2ae29ec7b6ccad829ecfd4893b0860347c834bd8920aae8d7f5914f6216993e421f658f0d8065025ab4c7be6e13b993797d1508fcd836abd310f3f810a5ee27d WHIRLPOOL a0f5a11c838fe49ad596f70d27f24e431c7350de3f8c0d5e10e983aa90344b4961875b1745bab3a352f28b16d6470e684124ffa4e68c86d82c3a63d63ff67cc4
+DIST DFC4928B8E531CC3E53B191500BFB066468B70AD-fs_server-1.0.zip 299540 SHA256 25b0fc774525e7ccd123135f3b6f6c1285f34efb4d98b5a23e0c1b01f5bd28b5 SHA512 6afc7d77763dc7cf87686606cb625a47943f074acde5cf89e9b06accb922c34777685b834b5e7dbfa6b5ef812b31ffa33524a31e5ac31237cb08c47daa895b53 WHIRLPOOL 67ddf8696f4512be77d75da60ef0f661c4065cc5958f742419e60212502bf454d388bce87538adc69f489131928ee62a38ec4eeb0c4c0b5da1af9a4f5502d4c4
 DIST F1AF5929CD612475CCF186F69E268F0CAAA2A90E-dtracectrl-0.1.zip 8834 SHA256 af00adae935a995cce5d668fd220cefcbe5e35ef943412109d25106982f2fd56 SHA512 72e8afec5ede6779c42221dfe5374121f0b5870f9b616c73418555bde50e777d090e9418d32e5953415e433f27300f7ab9f6aae69badbb4b8529b46364af8e93 WHIRLPOOL e529dcdc4f09d07984d671765f2990eb906c098d3feb9e512fd53441b22743d7f0900e3434fd4f1843537931470a45a91cda3f2eabe45bdd498c0a64c6d8c077
 DIST F787C9B484CD7526F866C21D8925C4DACE467F8A-derby-10.2.2.0.jar 2276020 SHA256 fc563bf30d51408ee092a59cc6abe381172040954ab1654061efb8eaf67fd2ba SHA512 ad3cc09057cf339c59189abf8fabba1e43f876c2cc2aacbcc95d8ff0ebaaa5641ac600730fbde83a13dff89705a7ced6d000f409257ac3e5f1ce027287e2c4d3 WHIRLPOOL 5e361676c3b2c3cdb35ac070dbdf2e6fd998476fb643426c106a22edadd1db904d8e0f1b25bf504d932f46247470fedc4efca92e116235669008d934e4821f97
 DIST netbeans-7.0-build.xml-r1.patch.bz2 1344 SHA256 f323cb4694f6351fe47b76fa8b8b3e3f8e456e7d45ca76f9b88c5c6b90cc103f SHA512 ec81bbef311f891dd4371644afd549bef460e8e70eed49f7dbb5aec68f386097f340a411932345ba7bc786a1aef1f0b70a719d8e784b048d5ebf8b1e9ef3bb44 WHIRLPOOL 5c4440c6e2b75209b00030d1e78c28600dc387cc836be8b74bd2d55a6426c5a10d57e21a9572b83f499aa9ed6c33e2ecce44a82c440bba818e4d22c1cf856a55
@@ -46,6 +47,7 @@ DIST netbeans-trunk-nightly-201501180001-src.zip 201391445 SHA256 b1bf4373e5b799
 DIST netbeans-trunk-nightly-201501190001-src.zip 201391445 SHA256 ce4ec7706f80732c5c6d5764fb4cb0f2f82341d668e2680ed4d12c382e8541de SHA512 232c8beecd613bafca37af997c3aae0f35caa28a3a3f381553bc3264916f606540bcb5186c8a2a52ca21ce177ed413d6907865b4b42b80c102e7c636df736628 WHIRLPOOL 2176f82b120a7f9360f3b01cb970a8fcc5078e97da90ae0e870b37a53998beca6306b5f58bf9af3a15dc403f1dbb888457a56b0657a2f972b8e01ebe1b725abe
 DIST netbeans-trunk-nightly-201501200001-src.zip 201396862 SHA256 1a9378d8f52c4f617653d096aff287cf62212af8a6f878fe54cc468e4dd4bed7 SHA512 92fd39cda2d11816b9a01e0e5c26b3f527354a69efdc940cb27d5b17ee6493a07225d2698260db2bdc220e01d166ac42b5fb62f809d1e2eb84419c6e6abb3e14 WHIRLPOOL c3ba7155b5d376041d750c42f1ff8f8dec5bdbfedb470dea483a665978ef3982f087cb7a521f7892c264bb38d0876e4e7a08346ae4579338ba698ae7ee4ba456
 DIST netbeans-trunk-nightly-201501210001-src.zip 201405381 SHA256 95369f4a232531feb195f2d41c14b7ec9791bbd86282fc8155bb1828affe6afa SHA512 4e710bc5905ea83167152e3252a4309d6a4f6fe8f0ccd8f50bd6389635cb2c4fa1cda60c9c9df8d70149ef84bba66527a8c94b1822710421aa704d374a0132b5 WHIRLPOOL c6780c694d1acabd53ca2b23ac660d587b02f63f3f8b5a98c7e293af4e099dfc46dcd5dcd939d7133edb5885388150fd28723b6325678519a80f2cd0ea673ac8
+DIST netbeans-trunk-nightly-201501220002-src.zip 201432275 SHA256 1969c39ce22136b5ff98f7959bf96088b7caaf9ea46df54ff0ed01ca857de8df SHA512 dae7c345289746e85ea6bf99a6352fcb53ec02c8828bf447a686aed0cea577de11e75e89451abf76a1dee3b1d91aaa204dbbe3057ca40c58759f16a4d768b7a9 WHIRLPOOL 39163c8ccac8111c9ab2a0787a2bd137a680bd16eccf4a7e526cfe34c74df0efa957b320df52b92fe9f1dbd134e7e2b2e1479c237b78e7a060c3893aac8838f9
 EBUILD netbeans-dlight-7.0.1.ebuild 3624 SHA256 499a9303a1972ee89dfa2685e1dc1e4511c7531ff3b29caadd1136ba25dee82e SHA512 ad60adc5d64f93d03e27170311ce7bd0a6952c8b41cdc51385f8efc9140593201064d162b3130bff7a003570de11963d375d3676476115b1129ac74632d4a227 WHIRLPOOL d68dcdba50b2565d40e1adc484b51c1ed0171c2fcf99fbee08a221e6d9767f96d161d45eda612eb4c4d62e0db6826e2cd124b83e11ee2f7c9bfb6a440ec6821d
 EBUILD netbeans-dlight-7.1.2.ebuild 2935 SHA256 dc7d110b80174b1baeaca9c005e2cc9167540f186c7794067cfb45d335251b9a SHA512 7dc2db63ee40a3e64375eb49e669c54f88cc532d7ac8c7320329f8378a3be15ebc4536208ea2975c7fe4a9b3f2ac60d0ec5b8c9a9da392587fb04838f101e0ec WHIRLPOOL 1801653d9e146eba02642dbdb0a39c235a40e5d3d5ac8d4d5b8d2a570aa62330638355ee8df76693db177c58bbf31271342215c70d7e198e4b6bd905984ed9c7
 EBUILD netbeans-dlight-7.2.ebuild 2650 SHA256 9b0c0049b7cf6894cd44327c3697d4ddfb0dba2aebd6aabc1821b550932cd69d SHA512 0584c2a1cc65193673bded284c454b430fa3f5774c33d704922977d25ed26bf88d090670e330299c85ada2e897e5f124ae9f635a6f8be7d7fd10740482df7eae WHIRLPOOL 1c27b0c84a34865cb8a84062127f49aefcd245fa16fb825d7ee57d24c3f5841935242c16b3250319078762ce4e8aa5bc8dbd8dbe497b39af8e027b9e39ee585f
@@ -80,5 +82,6 @@ EBUILD netbeans-dlight-9999_p20150118.ebuild 2995 SHA256 f91edc523c3264dd93203d5
 EBUILD netbeans-dlight-9999_p20150119.ebuild 2995 SHA256 158fc2e1046bfc65addf7cb3872da305606521a4d3b5c8319aea0932c30129cb SHA512 818fd875eed96c282ac5b15f691bc3d30ce650e91788fb1288c723085c00ca54263b8f14521ba2c2371cf7585b05216a3200ebcb44834b6783e4d0d3817a3f4a WHIRLPOOL 4870e156a2fe4ee5869bfec426b629e89852c3c6269ab4f9f2e5db1f5ab11f21626c537fa3b6daffdaf4c807239268d598e57c0b72b096510d9dc7cb79da6c1c
 EBUILD netbeans-dlight-9999_p20150120.ebuild 2995 SHA256 f322c5f23012f61f49f20faf2a6a42a9751fae61e912e8ca104083c999da14f7 SHA512 5b6f69d45f7c368fc7bfb603e4f07e1fd9842064ce7f212d8cf0f122e1c4f30b998a724e32a7360ab3ac32448d691db5b6140a4a3d60d9e20be0508855a0bea4 WHIRLPOOL 3ef4b9498c71716e443eea2329bebd3b4704dd7c51b28cde6206bf1470003348a2a7757b7fe94d44646d24b7587781c882ea4191112ba1263695e43a9d911011
 EBUILD netbeans-dlight-9999_p20150121.ebuild 2995 SHA256 28c1140f6c49e5e00e201340f4b930ee794dbaf2f05b2eb58da751a172b96b85 SHA512 e7af91237b87f7e4e59acc06962237861f19ebb51e17fc3be014f3d32c47bb65a7c6a60a94abd0ece91eb0ae8405e3cf8bbcff3763834234cabbc742adcae716 WHIRLPOOL ec9a1ca04f7a109520b66c070ea8819d595375e8795f1aaf45981137f6e0f89fc0463edb0e1d9541cc7acade8e52ddef933e7e658cd38b1875f943ed3e613009
-MISC ChangeLog 147376 SHA256 eba5ed6f7e497e5ddc1f1600c916480fcdbee513c1e161e2d7ab56c3e1a853ff SHA512 577eb10c87f3dfa3e672adaab2235479f88bf27b4e03fae7d89187c22c8bcc378eef26e43406cef3239ac33656d0055342c0b583ddc6c2f0bd5d190ffb7cc2c4 WHIRLPOOL f5dd38005194f218ab56a18aad6cc316d3abd1dfdc3648c88b66ed2d69c3206b62299c867cf19bfb78722a2ba21c8ecdf08cca6314573438665748310a18cf8a
+EBUILD netbeans-dlight-9999_p20150122.ebuild 2995 SHA256 c1238e1d1b8a046aa36785225a049371dc751cbca1a729b4f59d7b231002ea7a SHA512 c5223ab43cc8dd1ae465192a37d92956038026d1b1992e352a743c3e78cc989b8960a418a356739e2c5e6ef8abb23187ac869b2f28dab26f00f41483c8481794 WHIRLPOOL 7bf0eba5b2185c42529bae061a6220b6a2f7f42b873af9e8edb8648dc7ce24f10a9a5192e8494b42f731d46184c3e63b9dbad0f5694bb77121bbfae457a3afc3
+MISC ChangeLog 147549 SHA256 16a716d866d961a202fd3917cefd3ab6fbbe44277c937bde794be09a8d2b336a SHA512 f3fbba009a54359b178601c769f038928ea4050bf27808bedb6d1ed1352d4c6fcbc9c1103ed465f9b0eccfbe4c81beb67f18a44d3c888d84a393361ef472b35e WHIRLPOOL 80b6d597dcca6d291573a38ffe8c3563641efac8dd40cbb25fff6a965172df92e3aa5edd0ea8306ec1a59a3bff94233d08f1f9715883f447a602037e0d08761b
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-dlight/netbeans-dlight-9999_p20150122.ebuild b/dev-java/netbeans-dlight/netbeans-dlight-9999_p20150122.ebuild
new file mode 100644
index 0000000..9d23e56
--- /dev/null
+++ b/dev-java/netbeans-dlight/netbeans-dlight-9999_p20150122.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans D-Light Cluster"
+HOMEPAGE="http://netbeans.org/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2015-01-22_00-02-29/zip/netbeans-trunk-nightly-201501220002-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/DFC4928B8E531CC3E53B191500BFB066468B70AD-fs_server-1.0.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}"
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.7
+	${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 -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+
+        pushd "${S}" >/dev/null || die
+        ln -s "${DISTDIR}"/DFC4928B8E531CC3E53B191500BFB066468B70AD-fs_server-1.0.zip dlight.remote.impl/external/fs_server-1.0.zip || die
+        popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	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}
+
+	grep -E "/dlight$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/dlight
+}

diff --git a/dev-java/netbeans-enterprise/ChangeLog b/dev-java/netbeans-enterprise/ChangeLog
index a6974e2..8655ddb 100644
--- a/dev-java/netbeans-enterprise/ChangeLog
+++ b/dev-java/netbeans-enterprise/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-enterprise-9999_p20150122 (22 Jan 2015)
+
+  22 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-enterprise-9999_p20150122.ebuild:
+  bumped to the latest sources
+
 *netbeans-enterprise-9999_p20150121 (21 Jan 2015)
 
   21 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-enterprise/Manifest b/dev-java/netbeans-enterprise/Manifest
index a9360fe..11b0d5f 100644
--- a/dev-java/netbeans-enterprise/Manifest
+++ b/dev-java/netbeans-enterprise/Manifest
@@ -129,6 +129,7 @@ DIST netbeans-trunk-nightly-201501180001-src.zip 201391445 SHA256 b1bf4373e5b799
 DIST netbeans-trunk-nightly-201501190001-src.zip 201391445 SHA256 ce4ec7706f80732c5c6d5764fb4cb0f2f82341d668e2680ed4d12c382e8541de SHA512 232c8beecd613bafca37af997c3aae0f35caa28a3a3f381553bc3264916f606540bcb5186c8a2a52ca21ce177ed413d6907865b4b42b80c102e7c636df736628 WHIRLPOOL 2176f82b120a7f9360f3b01cb970a8fcc5078e97da90ae0e870b37a53998beca6306b5f58bf9af3a15dc403f1dbb888457a56b0657a2f972b8e01ebe1b725abe
 DIST netbeans-trunk-nightly-201501200001-src.zip 201396862 SHA256 1a9378d8f52c4f617653d096aff287cf62212af8a6f878fe54cc468e4dd4bed7 SHA512 92fd39cda2d11816b9a01e0e5c26b3f527354a69efdc940cb27d5b17ee6493a07225d2698260db2bdc220e01d166ac42b5fb62f809d1e2eb84419c6e6abb3e14 WHIRLPOOL c3ba7155b5d376041d750c42f1ff8f8dec5bdbfedb470dea483a665978ef3982f087cb7a521f7892c264bb38d0876e4e7a08346ae4579338ba698ae7ee4ba456
 DIST netbeans-trunk-nightly-201501210001-src.zip 201405381 SHA256 95369f4a232531feb195f2d41c14b7ec9791bbd86282fc8155bb1828affe6afa SHA512 4e710bc5905ea83167152e3252a4309d6a4f6fe8f0ccd8f50bd6389635cb2c4fa1cda60c9c9df8d70149ef84bba66527a8c94b1822710421aa704d374a0132b5 WHIRLPOOL c6780c694d1acabd53ca2b23ac660d587b02f63f3f8b5a98c7e293af4e099dfc46dcd5dcd939d7133edb5885388150fd28723b6325678519a80f2cd0ea673ac8
+DIST netbeans-trunk-nightly-201501220002-src.zip 201432275 SHA256 1969c39ce22136b5ff98f7959bf96088b7caaf9ea46df54ff0ed01ca857de8df SHA512 dae7c345289746e85ea6bf99a6352fcb53ec02c8828bf447a686aed0cea577de11e75e89451abf76a1dee3b1d91aaa204dbbe3057ca40c58759f16a4d768b7a9 WHIRLPOOL 39163c8ccac8111c9ab2a0787a2bd137a680bd16eccf4a7e526cfe34c74df0efa957b320df52b92fe9f1dbd134e7e2b2e1479c237b78e7a060c3893aac8838f9
 EBUILD netbeans-enterprise-7.0.1.ebuild 16338 SHA256 03ea08daaf5d4c5592937929bac33b4af3bac00a23f2167a7ef7b3c172a72abe SHA512 4d24162c7920b9a1c65e6c6753900ead387a4941c2db98b522631bb09889c281bce048a74e2e584f8b5732cfaad1d7125e0cfd37aa2dc81fe85160b0e123ccd8 WHIRLPOOL 35eb648c37cb6e59aca7969c1074c2c280814529aa7ec3c3191b0d3f2a92fa24e1a8d981f343e4217fff52f6100b4884b970df734c45145759889aa6e6661ff2
 EBUILD netbeans-enterprise-7.1.2.ebuild 18060 SHA256 f63721b8ce5e1afbc58f783348f66f1e3501be519a1c9c1287ef860acc64ceda SHA512 2ca89ec8f89f106a284136d4d0ed52fe3bcf49c650d56ded6e62306c531e5e41f62b8aa923cb544842cf6e34e5f433fecb278bc1515abac987e2d00fb68ffa26 WHIRLPOOL 879067d72285aa6c7273e84ddc3dfef7d09c7cb9f9a6c279fddfbd3eea6439dea053d3c648fcd56d47ef2292db14d101307eb1aa8b3081dfcdbc3dac4d0c3ed9
 EBUILD netbeans-enterprise-7.2.ebuild 17752 SHA256 2f46916df731fe33c5d4626ae580a77686c392932a3388f755324bc3184bd636 SHA512 3543d033b971108fa2b8e6633ed640e812a83b34807e1cb5a69d425823d1fec1c13ecba3cc36fa4504fbfd6297e7eff1ecabe07d01725d9f13c99ffd70d220ba WHIRLPOOL 512753153bbf714ae3fbf9c580f350234d88bd5ce5690e7bc0fadd1c355bd38c2a5c1e9adb7993c3678d759661bbfb1654b0630e3535a2fb9198742fa7fd2c1e
@@ -163,5 +164,6 @@ EBUILD netbeans-enterprise-9999_p20150118.ebuild 15147 SHA256 de08290aaedfb02717
 EBUILD netbeans-enterprise-9999_p20150119.ebuild 15147 SHA256 186fe6352ee1dee2c341ee41a17876dda3a0998174afc99479e11c916fce28e8 SHA512 0433744cd978f8d0078f30e059eac05f0f1bb23d8efed840563f822002f64f4b70c2f79c8757fc7ac4721c8f534d4eaf3f21a43a86042247c561fee2edef3ec1 WHIRLPOOL 64b02d3a679649ab9ae4fa0892b8522271ec876376b3ef197c8fabd9e2cbdabac8d955e5fcfeddf24b49f5395a6de73a44959487d98a5935e83f6b6ae8eef944
 EBUILD netbeans-enterprise-9999_p20150120.ebuild 15147 SHA256 be456f664c423b99fd2c07a6bbac5c66cb0a0a4e0b15425a8464181d19825ed7 SHA512 a89b690c69ac102e1131c5548fa887821731e0236f8d3a56b1c2b1f024b53d4a2199e9bdc5fcfc384179fc6fb7598e977f4d977dd338827148f34c90a211829c WHIRLPOOL 2228cc1729ebe1abec4dd4a38e82b9a66ab272ee4672fc66d7d71abce66da1964bd258dd134ef9b012ed93f1a02cebdf712e387d0065bc37406b12d46ac638f0
 EBUILD netbeans-enterprise-9999_p20150121.ebuild 15147 SHA256 e7f9cb3e31a105c4fac0b0126e9b84ac77b327ea97e4056fdde50c30c85cdad3 SHA512 b67925ed706db84e76374965bfe08ab15e16836a8dc4c1defc93907712da529ea95fbd437ed4145191a8979a661cc8335f9aff752733821e7823b18919fc3ac1 WHIRLPOOL 1b3e0d169ca116972f4514843f2bf6d01a4493b52534caedc410757a38f3002f2ac7499b727fddf4cf0be6ddf64dd7b0a1cb49da2f6617069857ac207a8c8679
-MISC ChangeLog 155270 SHA256 d9cdd931d7519c8d5cb36bbfe1ed247ef4ad851aea51c3673e41c2018a3c8bd2 SHA512 453305db414951fb3e2cf47ed5ddaf9777306dea62caf4a4ddad9696a05b85fba4efbd57430616b8ab0ab13e965e2de086fcea908824a061f7a6ba3e69d6accf WHIRLPOOL 2ab514e8fe5886eebeea35348876fd9d20e1df891cb0aba8fd9b093bdc74f2110919a69c89c2b5f9c2e783b74cef2f1320579f2a4a1d8253b1cd1e1047e9e31a
+EBUILD netbeans-enterprise-9999_p20150122.ebuild 15147 SHA256 c8cfd4db15a76e2b4202c50fb259b02893702fce1a901dc38f8f1fa648d66ba2 SHA512 402a5225e890d9ddaff369dc9438efe3fda0129e4f25d62da44596c0231c080426d923a624347ae4d428932ef5046e9aa9855c02b287d808cdf926c0d17addc0 WHIRLPOOL a107c02527374a307189e365be8c8f2da8798ca859dad26219fd3d3263170522705566c665aa3b830990502aed6e34fe4dd3bbbfd3dd71c2430d19ae7b606aff
+MISC ChangeLog 155451 SHA256 52df86d679471ae0b7aa9a65208cf25c1b3a009419e7d7ee104b46cbd6522d1c SHA512 54159337c05cbebbf7ddef17f6e78192a7df52be697ea58505a71b0de39434f99138d6858ea7405c981db3a2788952d4767671b72ddc983c65f6a4e76f12012e WHIRLPOOL ac9e590e413bd524b0f0af8e7b492eba46659c79b15c69a46945816cf6f65a1b45a11b2244cf3877779280106b441617b30984c350ad71f97e4fd3121daa9a8a
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20150122.ebuild b/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20150122.ebuild
new file mode 100644
index 0000000..5f244ea
--- /dev/null
+++ b/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20150122.ebuild
@@ -0,0 +1,249 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Enterprise cluster"
+HOMEPAGE="http://netbeans.org/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2015-01-22_00-02-29/zip/netbeans-trunk-nightly-201501220002-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/8BFEBCD4B39B87BBE788B4EECED068C8DBE75822-aws-java-sdk-1.2.1.jar
+	http://hg.netbeans.org/binaries/BA8A45A96AFE07D914DE153E0BB137DCDC7734F6-el-impl.jar
+	http://hg.netbeans.org/binaries/33B0D0945555A06B74931DEACF9DB1A4AE2A3EC4-glassfish-jspparser-4.0.jar
+	http://hg.netbeans.org/binaries/D813E05A06B587CD0FE36B00442EAB03C1431AA9-glassfish-logging-2.0.jar
+	http://hg.netbeans.org/binaries/75C30C488AD2A18A82C7FE3829F4A33FC7841643-glassfish-tooling-sdk-0.3-b054-246345.jar
+	http://hg.netbeans.org/binaries/3D74BFB229C259E2398F2B383D5425CB81C643F0-httpclient-4.1.1.jar
+	http://hg.netbeans.org/binaries/33FC26C02F8043AB0EDE19EADC8C9885386B255C-httpcore-4.1.jar
+	http://hg.netbeans.org/binaries/D6F416983EA13C334D5C599A9045414ECAF5D66D-javaee-api-6.0.jar
+	http://hg.netbeans.org/binaries/51399F902CC27A808122EDCBEBFAA1AD989954BA-javaee-api-7.0.jar
+	http://hg.netbeans.org/binaries/EBEC44255251E6D3B8DDBAF701F732DAF0238CBF-javaee-web-api-6.0.jar
+	http://hg.netbeans.org/binaries/B1FCE45BA94108EBF7E1CACE6427EC8761CABEC1-javaee-web-api-7.0.jar
+	http://hg.netbeans.org/binaries/27E9711AA35C39EF455BFD900D544BACB99C0E89-javaee-doc-api.jar
+	http://hg.netbeans.org/binaries/B290091E71DEED6CE7F9EB40523D49C26399A2B4-javax.annotation.jar
+	http://hg.netbeans.org/binaries/1DEEA980904E39C3D7AA240B72CDBBEB8E4860F9-javax.annotation-api.jar
+	http://hg.netbeans.org/binaries/E11C0F07A92F6D02A347DD9C55EE56692A6D9F7E-javax.xml.soap-api.jar
+	http://hg.netbeans.org/binaries/EB77D3664EEA27D67B799ED28CB766B4D0971505-jaxb-api-osgi.jar
+	http://hg.netbeans.org/binaries/45EBA8B0520A70787D5DD2EA154ACE152F817C0D-jaxb-api-osgi.jar
+	http://hg.netbeans.org/binaries/C614ECF62381F88208D66D96146A8307781058DB-jaxrs-ri-2.5.1.zip
+	http://hg.netbeans.org/binaries/D4C96D968F87B1BFEF138E91E06C8FD4A1904208-jaxws-api.jar
+	http://hg.netbeans.org/binaries/B9DB1A789C301F1D31DD6CC524DA2EBD7F89190D-jsf-1.2.zip
+	http://hg.netbeans.org/binaries/99277566601C4D5C2598B0206B5DC071932F3641-jsf-2.2.zip
+	http://hg.netbeans.org/binaries/93A58E37BA1D014375B1578F3D904736CB2D408F-jsf-api-docs.zip
+	http://hg.netbeans.org/binaries/F072F63AB1689E885AC40C221DF3E6BB3E64A84A-jstl-api.jar
+	http://hg.netbeans.org/binaries/5B2E83EF42B4EEF0A7E41D43BB1D4B835F59AC7A-jstl-impl.jar
+	http://hg.netbeans.org/binaries/FDECFB78184C7D19E7E20130A7D7E88C1DF0BDD1-metro-1.4-doc.zip
+	http://hg.netbeans.org/binaries/F05AE8173BC750ECF1B52AD1F80050226458E490-metro-2.0.zip
+	http://hg.netbeans.org/binaries/065BDCE80509320280B3B5210FCDDAE9B7D50338-primefaces-5.0.jar
+	http://hg.netbeans.org/binaries/68C97A238A2143B616879E8C1EF5BF01EA25B11E-servlet3.1-jsp2.3-api.jar
+	http://hg.netbeans.org/binaries/9319FDBED11E0D2EB03E4BB9E94BAA439A1DA469-struts-1.3.10-javadoc.zip
+	http://hg.netbeans.org/binaries/9E226CFC08177A6666E5A2C535C25837A92C54C9-struts-1.3.10-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-ide-${PV}
+	~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-webcommon-${PV}
+	~dev-java/netbeans-websvccommon-${PV}
+	dev-java/commons-codec:0
+	dev-java/commons-fileupload:0
+	dev-java/commons-logging:0
+	dev-java/glassfish-deployment-api:1.2"
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0
+	dev-java/jsr181:0
+	>=dev-java/junit-4.4:4
+	dev-java/tomcat-servlet-api:2.3"
+RDEPEND=">=virtual/jdk-1.7
+	${CDEPEND}
+	dev-java/antlr:0[java]
+	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-validator:0
+	dev-java/jakarta-oro:2.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 -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/8BFEBCD4B39B87BBE788B4EECED068C8DBE75822-aws-java-sdk-1.2.1.jar libs.amazon/external/aws-java-sdk-1.2.1.jar || die
+	ln -s "${DISTDIR}"/BA8A45A96AFE07D914DE153E0BB137DCDC7734F6-el-impl.jar libs.elimpl/external/el-impl.jar || die
+	ln -s "${DISTDIR}"/33B0D0945555A06B74931DEACF9DB1A4AE2A3EC4-glassfish-jspparser-4.0.jar web.jspparser/external/glassfish-jspparser-4.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}"/75C30C488AD2A18A82C7FE3829F4A33FC7841643-glassfish-tooling-sdk-0.3-b054-246345.jar libs.glassfish.sdk/external/glassfish-tooling-sdk-0.3-b054-246345.jar || die
+	ln -s "${DISTDIR}"/3D74BFB229C259E2398F2B383D5425CB81C643F0-httpclient-4.1.1.jar libs.amazon/external/httpclient-4.1.1.jar || die
+	ln -s "${DISTDIR}"/33FC26C02F8043AB0EDE19EADC8C9885386B255C-httpcore-4.1.jar libs.amazon/external/httpcore-4.1.jar || die
+	ln -s "${DISTDIR}"/D6F416983EA13C334D5C599A9045414ECAF5D66D-javaee-api-6.0.jar javaee.api/external/javaee-api-6.0.jar || die
+	ln -s "${DISTDIR}"/51399F902CC27A808122EDCBEBFAA1AD989954BA-javaee-api-7.0.jar javaee7.api/external/javaee-api-7.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}"/B1FCE45BA94108EBF7E1CACE6427EC8761CABEC1-javaee-web-api-7.0.jar javaee7.api/external/javaee-web-api-7.0.jar || die
+	ln -s "${DISTDIR}"/27E9711AA35C39EF455BFD900D544BACB99C0E89-javaee-doc-api.jar j2ee.platform/external/javaee-doc-api.jar || die
+	ln -s "${DISTDIR}"/B290091E71DEED6CE7F9EB40523D49C26399A2B4-javax.annotation.jar javaee.api/external/javax.annotation.jar || die
+	ln -s "${DISTDIR}"/1DEEA980904E39C3D7AA240B72CDBBEB8E4860F9-javax.annotation-api.jar javaee7.api/external/javax.annotation-api.jar || die
+	ln -s "${DISTDIR}"/E11C0F07A92F6D02A347DD9C55EE56692A6D9F7E-javax.xml.soap-api.jar javaee7.api/external/javax.xml.soap-api.jar || die
+	ln -s "${DISTDIR}"/EB77D3664EEA27D67B799ED28CB766B4D0971505-jaxb-api-osgi.jar javaee.api/external/jaxb-api-osgi.jar || die
+	ln -s "${DISTDIR}"/45EBA8B0520A70787D5DD2EA154ACE152F817C0D-jaxb-api-osgi.jar javaee7.api/external/jaxb-api-osgi.jar || die
+	ln -s "${DISTDIR}"/C614ECF62381F88208D66D96146A8307781058DB-jaxrs-ri-2.5.1.zip websvc.restlib/external/jaxrs-ri-2.5.1.zip || die
+	ln -s "${DISTDIR}"/D4C96D968F87B1BFEF138E91E06C8FD4A1904208-jaxws-api.jar javaee7.api/external/jaxws-api.jar || die
+	ln -s "${DISTDIR}"/B9DB1A789C301F1D31DD6CC524DA2EBD7F89190D-jsf-1.2.zip web.jsf12/external/jsf-1.2.zip || die
+	ln -s "${DISTDIR}"/99277566601C4D5C2598B0206B5DC071932F3641-jsf-2.2.zip web.jsf20/external/jsf-2.2.zip || die
+	ln -s "${DISTDIR}"/93A58E37BA1D014375B1578F3D904736CB2D408F-jsf-api-docs.zip web.jsf.editor/external/jsf-api-docs.zip || die
+	ln -s "${DISTDIR}"/F072F63AB1689E885AC40C221DF3E6BB3E64A84A-jstl-api.jar libs.jstl/external/jstl-api.jar || die
+	ln -s "${DISTDIR}"/5B2E83EF42B4EEF0A7E41D43BB1D4B835F59AC7A-jstl-impl.jar libs.jstl/external/jstl-impl.jar || die
+	ln -s "${DISTDIR}"/FDECFB78184C7D19E7E20130A7D7E88C1DF0BDD1-metro-1.4-doc.zip websvc.metro.lib/external/metro-1.4-doc.zip || die
+	ln -s "${DISTDIR}"/F05AE8173BC750ECF1B52AD1F80050226458E490-metro-2.0.zip websvc.metro.lib/external/metro-2.0.zip || die
+	ln -s "${DISTDIR}"/065BDCE80509320280B3B5210FCDDAE9B7D50338-primefaces-5.0.jar web.primefaces/external/primefaces-5.0.jar || die
+	ln -s "${DISTDIR}"/68C97A238A2143B616879E8C1EF5BF01EA25B11E-servlet3.1-jsp2.3-api.jar servletjspapi/external/servlet3.1-jsp2.3-api.jar || die
+	ln -s "${DISTDIR}"/9319FDBED11E0D2EB03E4BB9E94BAA439A1DA469-struts-1.3.10-javadoc.zip web.struts/external/struts-1.3.10-javadoc.zip || die
+	ln -s "${DISTDIR}"/9E226CFC08177A6666E5A2C535C25837A92C54C9-struts-1.3.10-lib.zip web.struts/external/struts-1.3.10-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-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	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.amazon/external commons-codec commons-codec.jar commons-codec-1.3.jar
+	java-pkg_jar-from --into libs.amazon/external commons-logging commons-logging.jar commons-logging-1.1.1.jar
+	java-pkg_jar-from --into libs.commons_fileupload/external commons-fileupload commons-fileupload.jar commons-fileupload-1.3.jar
+	java-pkg_jar-from --build-only --into javaee7.api/external jsr181 jsr181.jar jsr181-api.jar
+	java-pkg_jar-from --build-only --into libs.junit4/external junit-4 junit.jar junit-4.10.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-extide-${SLOT} extide || die
+	cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.extide.built
+
+	ln -s /usr/share/netbeans-harness-${SLOT} harness || die
+	cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.harness.built
+
+	ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+	cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.ide.built
+
+	ln -s /usr/share/netbeans-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-webcommon-${SLOT} webcommon || die
+	cat /usr/share/netbeans-webcommon-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.webcommon.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}
+
+	grep -E "/enterprise$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm commons-fileupload-1.3.jar && dosym /usr/share/commons-fileupload/lib/commons-fileupload.jar ${instdir}/commons-fileupload-1.3.jar || die
+	rm jsr88javax.jar && dosym /usr/share/glassfish-deployment-api-1.2/lib/glassfish-deployment-api.jar ${instdir}/jsr88javax.jar || die
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext/aws-sdk
+	pushd "${D}"/${instdir} >/dev/null || 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-logging-1.1.1.jar && dosym /usr/share/commons-logging/lib/commons-logging.jar ${instdir}/commons-logging-1.1.1.jar || die
+	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
+	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.8.0.jar && dosym /usr/share/commons-beanutils-1.7/lib/commons-beanutils.jar ${instdir}/commons-beanutils-1.8.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-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 oro-2.0.8.jar && dosym /usr/share/jakarta-oro-2.0/lib/jakarta-oro.jar ${instdir}/oro-2.0.8.jar || die
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/enterprise
+}

diff --git a/dev-java/netbeans-ergonomics/ChangeLog b/dev-java/netbeans-ergonomics/ChangeLog
index 44df5db..e5d576d 100644
--- a/dev-java/netbeans-ergonomics/ChangeLog
+++ b/dev-java/netbeans-ergonomics/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-ergonomics-9999_p20150122 (22 Jan 2015)
+
+  22 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-ergonomics-9999_p20150122.ebuild:
+  bumped to the latest sources
+
 *netbeans-ergonomics-9999_p20150121 (21 Jan 2015)
 
   21 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-ergonomics/Manifest b/dev-java/netbeans-ergonomics/Manifest
index af5f5f2..db578d5 100644
--- a/dev-java/netbeans-ergonomics/Manifest
+++ b/dev-java/netbeans-ergonomics/Manifest
@@ -40,6 +40,7 @@ DIST netbeans-trunk-nightly-201501180001-src.zip 201391445 SHA256 b1bf4373e5b799
 DIST netbeans-trunk-nightly-201501190001-src.zip 201391445 SHA256 ce4ec7706f80732c5c6d5764fb4cb0f2f82341d668e2680ed4d12c382e8541de SHA512 232c8beecd613bafca37af997c3aae0f35caa28a3a3f381553bc3264916f606540bcb5186c8a2a52ca21ce177ed413d6907865b4b42b80c102e7c636df736628 WHIRLPOOL 2176f82b120a7f9360f3b01cb970a8fcc5078e97da90ae0e870b37a53998beca6306b5f58bf9af3a15dc403f1dbb888457a56b0657a2f972b8e01ebe1b725abe
 DIST netbeans-trunk-nightly-201501200001-src.zip 201396862 SHA256 1a9378d8f52c4f617653d096aff287cf62212af8a6f878fe54cc468e4dd4bed7 SHA512 92fd39cda2d11816b9a01e0e5c26b3f527354a69efdc940cb27d5b17ee6493a07225d2698260db2bdc220e01d166ac42b5fb62f809d1e2eb84419c6e6abb3e14 WHIRLPOOL c3ba7155b5d376041d750c42f1ff8f8dec5bdbfedb470dea483a665978ef3982f087cb7a521f7892c264bb38d0876e4e7a08346ae4579338ba698ae7ee4ba456
 DIST netbeans-trunk-nightly-201501210001-src.zip 201405381 SHA256 95369f4a232531feb195f2d41c14b7ec9791bbd86282fc8155bb1828affe6afa SHA512 4e710bc5905ea83167152e3252a4309d6a4f6fe8f0ccd8f50bd6389635cb2c4fa1cda60c9c9df8d70149ef84bba66527a8c94b1822710421aa704d374a0132b5 WHIRLPOOL c6780c694d1acabd53ca2b23ac660d587b02f63f3f8b5a98c7e293af4e099dfc46dcd5dcd939d7133edb5885388150fd28723b6325678519a80f2cd0ea673ac8
+DIST netbeans-trunk-nightly-201501220002-src.zip 201432275 SHA256 1969c39ce22136b5ff98f7959bf96088b7caaf9ea46df54ff0ed01ca857de8df SHA512 dae7c345289746e85ea6bf99a6352fcb53ec02c8828bf447a686aed0cea577de11e75e89451abf76a1dee3b1d91aaa204dbbe3057ca40c58759f16a4d768b7a9 WHIRLPOOL 39163c8ccac8111c9ab2a0787a2bd137a680bd16eccf4a7e526cfe34c74df0efa957b320df52b92fe9f1dbd134e7e2b2e1479c237b78e7a060c3893aac8838f9
 EBUILD netbeans-ergonomics-7.0.1.ebuild 2884 SHA256 e8e4a785fc11b6d0d3c722826761581b8c9c779c5460dc7d1487b3154f4402ab SHA512 3ba2810e650726f48fbdb1bc0c58b6ee1e7d9d29d4be3b27c00bc981b773f26d979fd90154184276e044eafd1d4d8940b47d6f0f58589f9cff7fbadef5fbb05f WHIRLPOOL 5fab7fe6492f91bd0e97a8a95c0652266d771e9b60957e16ce6ff683c1e38081372151cd8c7bea44ee1f1dd7bf435f8b00b9a1a23e4c6106c990794c6093ba10
 EBUILD netbeans-ergonomics-7.1.2.ebuild 2893 SHA256 cd56250980429160b8fa9deb17f15050d016394d5fdef19bf772cf29988c86d8 SHA512 32d4556218791a32efb8cf8ec8303f7e8f27bfb03b97af0c66cee717563c7e02fcd9e350b0425ec0cec28ab09865d4815aba1471ee958e05e7c42e421a7f71c2 WHIRLPOOL 318c8528c2338c1e2f6e342c263be52753fa74c9ac934b0ee60fe0fff2146e86d1761fef8eaeca8eab844709bea2196fbe181fad1f689a9d5b9994da3271b4db
 EBUILD netbeans-ergonomics-7.2.ebuild 2876 SHA256 ca7184ac24c255941c4ec3e686c4237ef0af4be7242c44417fa799813083515e SHA512 c6537bedf2fed4ea914c74a208124fe692af837ab2c81c98b8aa0347cb9d5af496378a8c042437facced26d3b42b101225dfa8b81dfc3d6ec4e3e5613e359f72 WHIRLPOOL c7e4c08ace118690f454dbf6a9040bff3e7013c646947fd02b05bca2b4d802393b6eca3234c6228f8e4df4da1ed193ecfd93c848038e4dd9ae3f50959692aa15
@@ -74,5 +75,6 @@ EBUILD netbeans-ergonomics-9999_p20150118.ebuild 2919 SHA256 61dec9c0ae69db18c9d
 EBUILD netbeans-ergonomics-9999_p20150119.ebuild 2919 SHA256 55b170eae70be1daf7d54a8d8b742ebbddec9d865f6a2f8db72da730394778de SHA512 48b0d6cf35ba509d1791f265175785fa2591f678c41733c79c40b04a246d716bd54975e0b948d9bfc8206e63402f044cf98dfe2ee0b61eb7562fa5f86bd09714 WHIRLPOOL 712f0fc7ddef60c27ca83afd8b9bc83d96e55b6b2c4e720b13f9eb0daa855d7ebcafd694e2217ba78618276c8b1ef6b70ff2a1b3a4bd4a03387408bec56f1877
 EBUILD netbeans-ergonomics-9999_p20150120.ebuild 2919 SHA256 d0f4968b4bc7e0b94a00e8b9a3734fc2b71f5009f63ee046dec0298d4a1741a7 SHA512 ee80ae5e3318e86b083682618bdb75ba9b105ca8cab70e99f7e590da94c5ca2080d75202089eae29b863fb8ff7104b9f8a14bea44c49d7283caa5cbb119796b4 WHIRLPOOL 0ad0fac6f0f8e3b8259b562afa7c173ed7886a7bd8945bdd0a02a62d4ed11d8771c23ea11853296e3d3c607f2be2426a40a8c83badecb476688f458d1ffbb980
 EBUILD netbeans-ergonomics-9999_p20150121.ebuild 2919 SHA256 db78e69a68b9bd7a5924c6b78c3294bf2434c4b0e435961b436435d79eeff34c SHA512 9100f6c425b416b895f8a7b90625bcf40d535862fe1ab0c6ebd3ceb4e11999ea6bc9dde225164855cf2d1c3f467be8b9e5f931a70965aeace97deb3f466fb195 WHIRLPOOL 8fd942dbd87eff45fb2b2facfbc96b0606e134b0f071ef2ca2a9c313d2f2e4266cdec45476e7092ca85f50e8bcc144834ddc2b11e019bf4a0e396e28c392fc96
-MISC ChangeLog 154745 SHA256 3d969647fc7efa716cb4d7bd1fc9acda4d62f507b4d3e6dffcdff1018c3d9d22 SHA512 03467036268e3275393a16b2bdd4a95b530a70d052b05471c88d4666e68c8fc1a97993f2ac6261b3bdfe67b111ba0c7223c6eaffd871529d9f2c7fad456b92ad WHIRLPOOL fe1dc38b83fdc04210fe12bbcfde60fddfb0aba942f536dcc4d12210de09151ffe8e8129a00cd8939a62303365a231b00645631b984870754d1235efa16a3275
+EBUILD netbeans-ergonomics-9999_p20150122.ebuild 2919 SHA256 cf227b12cc5003cc84c3f171e413be0ce60104eb2f5c93d7a3068785a5104dbe SHA512 96cc2db4c783ea200f8badcec5dee4522382f7cd45a76c678e95c6ffc282fb48d9efd456ef989850c1f283e857b62c8063dc168c788a329e993a0912615d16b0 WHIRLPOOL 9e415c3700a7f6aa6e24dd01b10ee64863cdcea59094185fc141b571c07ebb2c2d0dad98c26e4ff3e38581c20fb11bc50f88d78bff98cdad73b3db43c0c06aaf
+MISC ChangeLog 154926 SHA256 4ecf68069611be1985058d729c7c8a6766f3ad24a42defd8fe369cf076a8cf14 SHA512 69bc5daea00f5f160dbdcc62f7bdd2f0ab0d6291b15635ae4df9c12fd1f4c4a6a68fbcdefe4d768962457dca349a66d35a11c4cc44c893bb974faa0db78a84f7 WHIRLPOOL b2ae89d5180be120cd8e460a130851672fda515343ed432162da8571847ca14820b78ad12c4b8bea5525a948be28d794fa93df9ef081377eca4b8aa6927cb6ac
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20150122.ebuild b/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20150122.ebuild
new file mode 100644
index 0000000..ab53fbd
--- /dev/null
+++ b/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20150122.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Ergonomics Cluster"
+HOMEPAGE="http://netbeans.org/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2015-01-22_00-02-29/zip/netbeans-trunk-nightly-201501220002-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-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.7
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.7
+	${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 -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	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}
+
+	grep -E "/ergonomics$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/ergonomics
+}

diff --git a/dev-java/netbeans-extide/ChangeLog b/dev-java/netbeans-extide/ChangeLog
index 0c3d3f0..73664f4 100644
--- a/dev-java/netbeans-extide/ChangeLog
+++ b/dev-java/netbeans-extide/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-extide-9999_p20150122 (22 Jan 2015)
+
+  22 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-extide-9999_p20150122.ebuild:
+  bumped to the latest sources
+
 *netbeans-extide-9999_p20150121 (21 Jan 2015)
 
   21 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-extide/Manifest b/dev-java/netbeans-extide/Manifest
index 3b19e9f..ec99095 100644
--- a/dev-java/netbeans-extide/Manifest
+++ b/dev-java/netbeans-extide/Manifest
@@ -38,6 +38,7 @@ DIST netbeans-trunk-nightly-201501180001-src.zip 201391445 SHA256 b1bf4373e5b799
 DIST netbeans-trunk-nightly-201501190001-src.zip 201391445 SHA256 ce4ec7706f80732c5c6d5764fb4cb0f2f82341d668e2680ed4d12c382e8541de SHA512 232c8beecd613bafca37af997c3aae0f35caa28a3a3f381553bc3264916f606540bcb5186c8a2a52ca21ce177ed413d6907865b4b42b80c102e7c636df736628 WHIRLPOOL 2176f82b120a7f9360f3b01cb970a8fcc5078e97da90ae0e870b37a53998beca6306b5f58bf9af3a15dc403f1dbb888457a56b0657a2f972b8e01ebe1b725abe
 DIST netbeans-trunk-nightly-201501200001-src.zip 201396862 SHA256 1a9378d8f52c4f617653d096aff287cf62212af8a6f878fe54cc468e4dd4bed7 SHA512 92fd39cda2d11816b9a01e0e5c26b3f527354a69efdc940cb27d5b17ee6493a07225d2698260db2bdc220e01d166ac42b5fb62f809d1e2eb84419c6e6abb3e14 WHIRLPOOL c3ba7155b5d376041d750c42f1ff8f8dec5bdbfedb470dea483a665978ef3982f087cb7a521f7892c264bb38d0876e4e7a08346ae4579338ba698ae7ee4ba456
 DIST netbeans-trunk-nightly-201501210001-src.zip 201405381 SHA256 95369f4a232531feb195f2d41c14b7ec9791bbd86282fc8155bb1828affe6afa SHA512 4e710bc5905ea83167152e3252a4309d6a4f6fe8f0ccd8f50bd6389635cb2c4fa1cda60c9c9df8d70149ef84bba66527a8c94b1822710421aa704d374a0132b5 WHIRLPOOL c6780c694d1acabd53ca2b23ac660d587b02f63f3f8b5a98c7e293af4e099dfc46dcd5dcd939d7133edb5885388150fd28723b6325678519a80f2cd0ea673ac8
+DIST netbeans-trunk-nightly-201501220002-src.zip 201432275 SHA256 1969c39ce22136b5ff98f7959bf96088b7caaf9ea46df54ff0ed01ca857de8df SHA512 dae7c345289746e85ea6bf99a6352fcb53ec02c8828bf447a686aed0cea577de11e75e89451abf76a1dee3b1d91aaa204dbbe3057ca40c58759f16a4d768b7a9 WHIRLPOOL 39163c8ccac8111c9ab2a0787a2bd137a680bd16eccf4a7e526cfe34c74df0efa957b320df52b92fe9f1dbd134e7e2b2e1479c237b78e7a060c3893aac8838f9
 EBUILD netbeans-extide-7.4.ebuild 3311 SHA256 8585e0b9eac3b9bb35d5b5e0152936f84708a824d76831930a3dfd3d196556b0 SHA512 19eceec7a634923b4712eb277a1ff9900a2eb4d9ac0a2c699175333c263f0c02baaf24eb30bd7919444f5c9df751186689b2d4359ca1c88dca02884d7c18c3cd WHIRLPOOL e64509f198c4d09851f98d5bd2ddd5b469b0a7c0f3122f391c17833e5d6d77b7a6c2fd9e942e34f2df42047504ad40593f97af9b2898450e769c7b012355c316
 EBUILD netbeans-extide-8.0.2.ebuild 3315 SHA256 91d5ece7097d8bff6d04ebbfd12b6fefb787b41ef33b4288e31e9babc49feca1 SHA512 42f4767cf06a9528d02db53f4d487a495135934302e33bcac9384cfd174260ff922638c9a0e659c537c50a81f91372aaf9d2585b4505b999e681dca9acaea4e0 WHIRLPOOL c55f05d55e8dc22478d29cf9e8ecd15de3e402f19e2d41cd302ec8f0b0d0f23dd434fded92761d5bbc55e1219a6d424afe8754b146f8312248e3a53dfede3b2d
 EBUILD netbeans-extide-8.0.ebuild 3305 SHA256 b2d57e2e2d92760ead3d383fe4dd5b4fb9fc2807a9b58c6f40b44fc24072b8bb SHA512 6e7f12758188a564ef6b5cf8b0ffdf79e30d1021172d10f215d04e727bc4001e4385fd0961a26a6bb42638089e0919b1d4628a13ba11a3deac94d4693c7210d5 WHIRLPOOL adac8461de43669b7bb98ea8920c0a2944837211a37503b957221149d4b91c4bd92b6db160191990b838c474495c65f62c8a4bb9fdbcaa371b4648a335b1afa9
@@ -68,5 +69,6 @@ EBUILD netbeans-extide-9999_p20150118.ebuild 3383 SHA256 3e6eecb155c8816f0461c7b
 EBUILD netbeans-extide-9999_p20150119.ebuild 3383 SHA256 827d7cfb394c45175c048f607821eef1929054ffcf77b66e80067e85c14df5b5 SHA512 e455522dadf5629dd0c13ed3e718c54e8e834ae1bea2c7053bd20d166be364e9ace677d04179ac9da743e6bec44a30cd5498191e1902345eaa88124117b4ba18 WHIRLPOOL 77db24cda882c0ebf452ed5c8b5e0b2c20727d2cad5f284dbbb9889e13d185447be2e51091bc70957054863813fada0cfc6f8796f745862df092b732ccb56fc0
 EBUILD netbeans-extide-9999_p20150120.ebuild 3383 SHA256 247fa9496a39be6b8d18424c32cc1f8baf82aa86837a11c85da18061b22985b9 SHA512 9ce70d44cc33a68ebbcf157f92f2e4b8fd3d53663e4f3e44e8422780203d137f0894ab2fe9617da681937e3250769fad7722937f24b57cdba5952e4e21d1b43e WHIRLPOOL 566f3e6892a15998a1cd9e000e02161fcfbee009947227842f52f346ae57bf65efc8b6b845d4be4be3d3f08649cb4cc617638209fe98081e30eb792ff804797e
 EBUILD netbeans-extide-9999_p20150121.ebuild 3383 SHA256 bde9dc7c4548a86dbd9886ef6985784ae93a8c970dbe180e1bbc66f938ac0236 SHA512 59d1c05d8ae244f60bebeb63a0d19bc741b7dc4745a5cf2907ff7c36f71955877e4a66102557096b4f2dfb15480e22353a423aad5552e8082a91605bb28f24f1 WHIRLPOOL b650a36563e3661c8b8b7714cb9b9d9326aea06918b2a65cb30d47d3b1f6c507820cd573675538bec0bf73d4a7aaf5f5b10e16ec2f167890c1246faa0c6b50a5
-MISC ChangeLog 79388 SHA256 c6da4ace838ff22e5dc129a2fd7365d0822a06be9a7852fb6eccfe4c3f5448b2 SHA512 49ce61d6fa66aee94756d1069ecee0632b15a5fa7d3fc543c348264c1bb46f1f99902a5ae9e1465e74632fe13669f1b3ba4c3c47015f12e26630c1c29431a1ec WHIRLPOOL 5ae9c0457264cbd7d6b4c8ee909ecc4500cfeb6e7f6b198465bb53c6b7a0c7c8f2d998e59f4aad8723ce38ad1c359358f3ead9d56518d1af9a775b5ae3b3af69
+EBUILD netbeans-extide-9999_p20150122.ebuild 3383 SHA256 6cdeb7a89afd410dc5b8ea964c30da30878f98d300bf9ca35991e520fa8b3155 SHA512 00c9e9a8481f3e13e39b4057e41a352763685ff43385300f77dba3ad5e197a1844c63d9bc7a469397c2d00afff14ccac205d9cc9ca74d70668b23235dfc2ff7e WHIRLPOOL dce844403ea376fa7fbf22f1e296782bbb18bddbbd1f8f4df6fad69312b81c611ef8a866f9553c96eb1cf1682acebeae8fbe87786c3b0fd66c0fe0e9736d1f2d
+MISC ChangeLog 79561 SHA256 b95ac0b815f3a0d6a318e387aac39deddce67143e2ff2b04d595b13f101dc8a4 SHA512 12fe295963140fa01f208e48b3863124fa3367ed8c561ff40b3b2bb64f2198c59970465f6178aca63862ec76fd280671489552362ff61c563936d1b3f8c9b530 WHIRLPOOL 4083cfe9e0b2b7c88d56e18816afbb6c88f482e0fc4a611875c90314350d430463c1c565c17fbc49f0e43f0b5f1712de3a25ff0f3fd3b17eb3d3d77d72b0d833
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-extide/netbeans-extide-9999_p20150122.ebuild b/dev-java/netbeans-extide/netbeans-extide-9999_p20150122.ebuild
new file mode 100644
index 0000000..25f4dbb
--- /dev/null
+++ b/dev-java/netbeans-extide/netbeans-extide-9999_p20150122.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans ExtIDE Cluster"
+HOMEPAGE="http://netbeans.org/projects/ide"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2015-01-22_00-02-29/zip/netbeans-trunk-nightly-201501220002-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/22CB933E3A1450B092C45785C187837E97523F5C-ant-libs-1.9.4.zip
+	http://hg.netbeans.org/binaries/95CCE237B1E9390FBED0440B601822813DB220E6-ant-misc-1.9.4.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}"
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	dev-java/javahelp:0
+	${CDEPEND}"
+RDEPEND=">=virtual/jdk-1.7
+	${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.extide -Dext.binaries.downloaded=true -Djava.awt.headless=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/22CB933E3A1450B092C45785C187837E97523F5C-ant-libs-1.9.4.zip o.apache.tools.ant.module/external/ant-libs-1.9.4.zip || die
+	ln -s "${DISTDIR}"/95CCE237B1E9390FBED0440B601822813DB220E6-ant-misc-1.9.4.zip o.apache.tools.ant.module/external/ant-misc-1.9.4.zip || die
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	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_compile() {
+	unset DISPLAY
+	eant -f ${EANT_BUILD_XML} ${EANT_EXTRA_ARGS} ${EANT_BUILD_TARGET} || die "Compilation failed"
+}
+
+src_install() {
+	pushd nbbuild/netbeans/extide >/dev/null || die
+
+	insinto ${INSTALL_DIR}
+
+	grep -E "/extide$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/extide
+}

diff --git a/dev-java/netbeans-groovy/ChangeLog b/dev-java/netbeans-groovy/ChangeLog
index fb5bc93..220aaa4 100644
--- a/dev-java/netbeans-groovy/ChangeLog
+++ b/dev-java/netbeans-groovy/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-groovy-9999_p20150122 (22 Jan 2015)
+
+  22 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-groovy-9999_p20150122.ebuild:
+  bumped to the latest sources
+
 *netbeans-groovy-9999_p20150121 (21 Jan 2015)
 
   21 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-groovy/Manifest b/dev-java/netbeans-groovy/Manifest
index 9ecdca1..d4365c5 100644
--- a/dev-java/netbeans-groovy/Manifest
+++ b/dev-java/netbeans-groovy/Manifest
@@ -44,6 +44,7 @@ DIST netbeans-trunk-nightly-201501180001-src.zip 201391445 SHA256 b1bf4373e5b799
 DIST netbeans-trunk-nightly-201501190001-src.zip 201391445 SHA256 ce4ec7706f80732c5c6d5764fb4cb0f2f82341d668e2680ed4d12c382e8541de SHA512 232c8beecd613bafca37af997c3aae0f35caa28a3a3f381553bc3264916f606540bcb5186c8a2a52ca21ce177ed413d6907865b4b42b80c102e7c636df736628 WHIRLPOOL 2176f82b120a7f9360f3b01cb970a8fcc5078e97da90ae0e870b37a53998beca6306b5f58bf9af3a15dc403f1dbb888457a56b0657a2f972b8e01ebe1b725abe
 DIST netbeans-trunk-nightly-201501200001-src.zip 201396862 SHA256 1a9378d8f52c4f617653d096aff287cf62212af8a6f878fe54cc468e4dd4bed7 SHA512 92fd39cda2d11816b9a01e0e5c26b3f527354a69efdc940cb27d5b17ee6493a07225d2698260db2bdc220e01d166ac42b5fb62f809d1e2eb84419c6e6abb3e14 WHIRLPOOL c3ba7155b5d376041d750c42f1ff8f8dec5bdbfedb470dea483a665978ef3982f087cb7a521f7892c264bb38d0876e4e7a08346ae4579338ba698ae7ee4ba456
 DIST netbeans-trunk-nightly-201501210001-src.zip 201405381 SHA256 95369f4a232531feb195f2d41c14b7ec9791bbd86282fc8155bb1828affe6afa SHA512 4e710bc5905ea83167152e3252a4309d6a4f6fe8f0ccd8f50bd6389635cb2c4fa1cda60c9c9df8d70149ef84bba66527a8c94b1822710421aa704d374a0132b5 WHIRLPOOL c6780c694d1acabd53ca2b23ac660d587b02f63f3f8b5a98c7e293af4e099dfc46dcd5dcd939d7133edb5885388150fd28723b6325678519a80f2cd0ea673ac8
+DIST netbeans-trunk-nightly-201501220002-src.zip 201432275 SHA256 1969c39ce22136b5ff98f7959bf96088b7caaf9ea46df54ff0ed01ca857de8df SHA512 dae7c345289746e85ea6bf99a6352fcb53ec02c8828bf447a686aed0cea577de11e75e89451abf76a1dee3b1d91aaa204dbbe3057ca40c58759f16a4d768b7a9 WHIRLPOOL 39163c8ccac8111c9ab2a0787a2bd137a680bd16eccf4a7e526cfe34c74df0efa957b320df52b92fe9f1dbd134e7e2b2e1479c237b78e7a060c3893aac8838f9
 EBUILD netbeans-groovy-7.0.1.ebuild 3296 SHA256 29c3d304eca5999e78550fd715dbcbef9d15639d4e4f17fa0e45a46803080729 SHA512 43a0ddb43354bb3c0b8e29004ab547da508662d037b0006dfd24250c49470ddc0384bfffb6423f1e3eeaca98410c5de8b314a69970189306869a16380ab098a1 WHIRLPOOL bf626cecf6dec0c51e7e0b95ac4ff26a795e44a5dabd25719eeb2244742d96d33cb20ebbd9a68728dc27d28b8e558a7e2a3ee318c2e4fde234e0b5e8d32e6a58
 EBUILD netbeans-groovy-7.1.2.ebuild 3305 SHA256 1e00f335b8cc1e90deec3c3251629ba699286b25be5b6945d135d271004dc34b SHA512 3a1d67d02054478ed15e11789292fcce3fcfd343b8feebde5e07a9463c380c644310603a3f9f984e8071b0b097075809dce423b888e1f2aed316cb90a562d20e WHIRLPOOL a790c1e186c4d1949de6b4dd975b929c132e3e7b7c455c7867bd1445f59fb6ace72b5c9adf09d0c6079718fdc6c34a0c5f0c9c437517b55b7ae109ce3e20b064
 EBUILD netbeans-groovy-7.2.ebuild 3160 SHA256 6d709b7cc07d7ebb59c3ede0a19c9890ca3230144d7f455cf24d984ac2f633b0 SHA512 e30c8d58165b87a39a356f8b813c593910cd2c247de41420369fee21157c2f2881db34612711f77c9ecd9501aa6d7235ab7bc41d4092be1e68fab778c16d8288 WHIRLPOOL 4a6495ca077f3c374105b25698c8251aaa89daf56c2749bdc73867b0ea1ae404cfc7b2a8b435ef7b19f00aee8128be051c04d6a24fb631379fbe98d6854a507b
@@ -78,5 +79,6 @@ EBUILD netbeans-groovy-9999_p20150118.ebuild 3422 SHA256 95d1aabc2fd79aaa7770dca
 EBUILD netbeans-groovy-9999_p20150119.ebuild 3422 SHA256 450b88640cfe658ebda2b22b20460c66940735d9c278f24768a1ef14187d8f5f SHA512 9dcdda4398e771384ff246a4352cf1bdde0a56a8fe2ad1f5368c1392a82d8cf9e8cd17e7457cda8b87e8eacb1bb6bd6e65f3468d68717e25c01a53cd75574311 WHIRLPOOL 3c1e34acc911d74a507f99d772c724a9c6f7c47ff5f52c917f4d2c82c3656dcb03bb6f72c3dbe66cac84f2e392cc4ac00d059e36294befbb426efdfe42b00d1f
 EBUILD netbeans-groovy-9999_p20150120.ebuild 3422 SHA256 7033da090c70a8dede2b1a7a9a27a9562ac60f649b6e603ef2404740845f4e4d SHA512 681aec5635620f216d65520dc995786c4cd87add0dbe8689bc722317a455b80c8f30e2dff911f1c19e8a501ea2932b48e101706868d534ff2d7892c1228c5f57 WHIRLPOOL add523d48883e389be477583c4e6699222fd561b64e104a4d034a561740870935e92ac95414dbdce06512983e2864287dddbfd64dfa4e23868cdb433e2c18cca
 EBUILD netbeans-groovy-9999_p20150121.ebuild 3422 SHA256 64fff3b2ff9934b622fdc65538e4f86b14ad67ac09a1475f45718150fd768ced SHA512 c98cba29d78887bb0567f55eb20cbc24ce16ec635b2472abace57a1cbf9596522fb13ab9ff2178f39753602c6aa8388c29087ea222c17314473f073701fb6a00 WHIRLPOOL 7db4c9e278e7651ca9f8cf49e37e0498e041d2bbb516588c0f23a11ee78d49f3839c4d7a7a9429f5e4ab76d498f2de2e00447a1268d05cb340b65bd6aa5e8246
-MISC ChangeLog 147368 SHA256 185a4da22af060fc748f29ad08d1e3b1d2b40aaf7b7006eb6036fd0be01b63ed SHA512 28204a599899087543b623d96e80d130aeed4315a666739e9ab1dca9277142ad979e461970fb154e6e645246f4e6f2443fcae34f9e99aa11f8b08381d207401f WHIRLPOOL 27bb3d4016ab19d5418f0918465053ffff4c3b99487bc4c70f125ae89143df86ae95a6ab5ce80ba88109fb7222ec868f0d48c3f30e027512f082b666276c4e38
+EBUILD netbeans-groovy-9999_p20150122.ebuild 3422 SHA256 eb8ea8f5f95a69899e1106af46de12b7d360176672196ba4531ab269e58b8f4b SHA512 c8b0da450ff962ba24da93234261c458dfd09e3b44cbbbd8c62429ee44c9c655c5faf25050c987ac3593f8237b86a1828cc95cc39f1ce0dc02bb7fc35f38a0e7 WHIRLPOOL 8f1270324fd7f0c934cd3ca58ad0c1c49b8f405a6178e3be5aa20e82e0926bd1c06621f119090704a20a6ec7928b042c41cabf8f6aee7984f4e87ec5e81884a4
+MISC ChangeLog 147541 SHA256 f54cc9606ba030dee9aa09a80e32ba2c044f6496aeeacb82b6c0d4337c965167 SHA512 007496b956fcd6bd5d8efcacfa643b4b4d55fbb0d48c0dcb1025142d3af2d5db6ace314252ba367abb8fa117e1a525a73d478f81704b2a72355689a3c9d3d2f6 WHIRLPOOL a927f5e8c8e8cbe6cff6abc3ee53ea6c50aa5d64ae000e8cfae32eddb27db0a85a2c114835967419b96e05a610d3555e7158d4d8fea7a593182c8ff1e910c968
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-groovy/netbeans-groovy-9999_p20150122.ebuild b/dev-java/netbeans-groovy/netbeans-groovy-9999_p20150122.ebuild
new file mode 100644
index 0000000..df0315c
--- /dev/null
+++ b/dev-java/netbeans-groovy/netbeans-groovy-9999_p20150122.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Groovy Cluster"
+HOMEPAGE="http://netbeans.org/projects/groovy"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2015-01-22_00-02-29/zip/netbeans-trunk-nightly-201501220002-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/C136AE67C3C40740AE986582BAF65BA5C5CE69A0-groovy-all-2.1.7.jar"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-extide-${PV}
+	~dev-java/netbeans-ide-${PV}
+	~dev-java/netbeans-java-${PV}
+	~dev-java/netbeans-platform-${PV}"
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.7
+	${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 -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/C136AE67C3C40740AE986582BAF65BA5C5CE69A0-groovy-all-2.1.7.jar libs.groovy/external/groovy-all-2.1.7.jar || die
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	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-extide-${SLOT} extide || die
+	cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.extide.built
+
+	ln -s /usr/share/netbeans-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}
+
+	grep -E "/groovy$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/groovy
+}

diff --git a/dev-java/netbeans-harness/ChangeLog b/dev-java/netbeans-harness/ChangeLog
index a741cc1..3bee5af 100644
--- a/dev-java/netbeans-harness/ChangeLog
+++ b/dev-java/netbeans-harness/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-harness-9999_p20150122 (22 Jan 2015)
+
+  22 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-harness-9999_p20150122.ebuild:
+  bumped to the latest sources
+
 *netbeans-harness-9999_p20150121 (21 Jan 2015)
 
   21 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-harness/Manifest b/dev-java/netbeans-harness/Manifest
index 9efb36d..8b46852 100644
--- a/dev-java/netbeans-harness/Manifest
+++ b/dev-java/netbeans-harness/Manifest
@@ -46,6 +46,7 @@ DIST netbeans-trunk-nightly-201501180001-src.zip 201391445 SHA256 b1bf4373e5b799
 DIST netbeans-trunk-nightly-201501190001-src.zip 201391445 SHA256 ce4ec7706f80732c5c6d5764fb4cb0f2f82341d668e2680ed4d12c382e8541de SHA512 232c8beecd613bafca37af997c3aae0f35caa28a3a3f381553bc3264916f606540bcb5186c8a2a52ca21ce177ed413d6907865b4b42b80c102e7c636df736628 WHIRLPOOL 2176f82b120a7f9360f3b01cb970a8fcc5078e97da90ae0e870b37a53998beca6306b5f58bf9af3a15dc403f1dbb888457a56b0657a2f972b8e01ebe1b725abe
 DIST netbeans-trunk-nightly-201501200001-src.zip 201396862 SHA256 1a9378d8f52c4f617653d096aff287cf62212af8a6f878fe54cc468e4dd4bed7 SHA512 92fd39cda2d11816b9a01e0e5c26b3f527354a69efdc940cb27d5b17ee6493a07225d2698260db2bdc220e01d166ac42b5fb62f809d1e2eb84419c6e6abb3e14 WHIRLPOOL c3ba7155b5d376041d750c42f1ff8f8dec5bdbfedb470dea483a665978ef3982f087cb7a521f7892c264bb38d0876e4e7a08346ae4579338ba698ae7ee4ba456
 DIST netbeans-trunk-nightly-201501210001-src.zip 201405381 SHA256 95369f4a232531feb195f2d41c14b7ec9791bbd86282fc8155bb1828affe6afa SHA512 4e710bc5905ea83167152e3252a4309d6a4f6fe8f0ccd8f50bd6389635cb2c4fa1cda60c9c9df8d70149ef84bba66527a8c94b1822710421aa704d374a0132b5 WHIRLPOOL c6780c694d1acabd53ca2b23ac660d587b02f63f3f8b5a98c7e293af4e099dfc46dcd5dcd939d7133edb5885388150fd28723b6325678519a80f2cd0ea673ac8
+DIST netbeans-trunk-nightly-201501220002-src.zip 201432275 SHA256 1969c39ce22136b5ff98f7959bf96088b7caaf9ea46df54ff0ed01ca857de8df SHA512 dae7c345289746e85ea6bf99a6352fcb53ec02c8828bf447a686aed0cea577de11e75e89451abf76a1dee3b1d91aaa204dbbe3057ca40c58759f16a4d768b7a9 WHIRLPOOL 39163c8ccac8111c9ab2a0787a2bd137a680bd16eccf4a7e526cfe34c74df0efa957b320df52b92fe9f1dbd134e7e2b2e1479c237b78e7a060c3893aac8838f9
 EBUILD netbeans-harness-7.0.1.ebuild 3579 SHA256 f4d09cb7bd5e8485caf75a3020ddb8102d3ea326878ac384ef4aecb011a1f6a5 SHA512 390c26b4a3dbc81ad1ef210b3ea668926398cb38ea13fa37dceb6782b4478b1ceb7a49e9db300f691fb8b31c21c56b25f4c3237c0890f0c637ca45f596c88294 WHIRLPOOL ae1e34af6dd61c30f645f39a825b6235e3eb1f9a42dd23431225513733209a2eb225a741b75342f827a4be0ffbf41b9786a6a6430051f543c321abe3c20da6bd
 EBUILD netbeans-harness-7.1.2.ebuild 3587 SHA256 e0adc470109009641bf48569623bf0fc51a400ac1ba686475c7dae1a5b561c96 SHA512 e4157a6b294c17fd7430802b33253d473120dc16173557e0d7840078f4043a383d5e3672af64f124509e54cc85d590abfa4375f181a32ab8b49e976cb6613cea WHIRLPOOL 423a5844a2c55ea99db4ac78e1c605a55a04f634601c0ac054e739c0ab4a3e9c765778dbd81ccf4a1e50e9d9e4cc29ecfad2ec64b483197927f434b67cd4d773
 EBUILD netbeans-harness-7.2.ebuild 3421 SHA256 47a5281d140b47e0235592c58657a9065d1827175ccca7d0c73fd81e90710090 SHA512 403fd1f49e11b27ef8002c4066fc911dbeadcccc7adddcdded86c6cd95e8bddaf0603c0ccafd0e91ef31a0909508deab1eb326e98e621bcbae7304413acca291 WHIRLPOOL fe3c5f95a606db39861a80201c185cb5a25e2d80698ac78ff724587b54e859f861b834b89aa79aac22f2c5da700532eaafae67fbcc33259ee07d578ba5c7f9ee
@@ -80,5 +81,6 @@ EBUILD netbeans-harness-9999_p20150118.ebuild 4131 SHA256 1433c0e355fef5a065dadc
 EBUILD netbeans-harness-9999_p20150119.ebuild 4131 SHA256 de6d8554c3a779967434e9a71f8b10266060faa2f8746ce138b2a31e90ce1984 SHA512 dc99fc2f10ea331671673018ecec92f6c3216e1343e5653929e7df2584408372ef853ec72de700036ba4c1c56909f9b1c3ae49e93349c072130e94940ffae80c WHIRLPOOL 4395936c9c2663597c533746a2914dfd7969d6aa18d468b38dc3fcfd9ae6ef830039f302c49cdab7c981e6045ff3a81e0b7016d253609541ea862afb9c1caf9c
 EBUILD netbeans-harness-9999_p20150120.ebuild 4131 SHA256 bbab44c8b1712888d3c18427cc42a6020a589975ac957f2290565d274eade088 SHA512 748c8b81112fc46f5d6da4aff48fa35d8cf7b71e599556249848d5fb1cb9a52be49fd97d55972f21ac1eb5168d9bd6ca36b53feccf197e7e647d8fa4396e5a0f WHIRLPOOL ccfc1069c519a611ee657030e98bf313d2857d7a17aaddd1b1d12d1d9d6a69fd80be3ea025734d8e6bfa4f5b114dfd75eb2a722c37b757aa6b6dae262afcf0ce
 EBUILD netbeans-harness-9999_p20150121.ebuild 4131 SHA256 9d33cbae34a807b35e1fe102b4d7695b0aace27555c5cab5259909266f6c2147 SHA512 c192479641180598967f94c43fddcfcbbe74770a6c8188ee8b121fc819f950bbeb1dedc691691bfbac346579f1478fc4a3dd3f1ce8324e5f93e458834cd1a9c4 WHIRLPOOL 179cfb039ffe25f335ccbaa13d772c671390cb29dd1c67279d139e2828a2d922a99db473b2132586bc9c643378b7b1a9f97c9c6ec6eeb9c3663372aca81609d3
-MISC ChangeLog 149241 SHA256 bcfa82622e8780d963da2204381eb8af3dce2ab7b360b8e96e25c7cca2accb0a SHA512 cfb959681f8425fb41ade4b93b689717b5ed02f9bc9f051d161181ec559bee0e50130b59619840df450da0e675df2dbe6eee7c2745c518e9b5240a4ad08b9b13 WHIRLPOOL b4b0b9f32dc6a10862587fd461d5f9836a21395144ebe17b6d9eb9650a03b1d3b24b2a7d15d023198ecfc15871a52ea3c991a2e45b578d95dcaa036fb48af85a
+EBUILD netbeans-harness-9999_p20150122.ebuild 4131 SHA256 fea7932342192ce4e6109f162854975fedf6c76137f27e09989df39c5d39228d SHA512 4317c9e3c678264cd293e0e6754dcdfec14d138584aa0273fc570cc6b76ff91d3f87907358718d3e3cba1a40cbb29b453fd89c1c3beb2ea619a2a743a78ea000 WHIRLPOOL bf4e2c243b74c3304f57eb3a1a5f96a3b89973a99295e8d44608f0c8d54e9d4a88ce546f1e0847d3b470c090b92f38ab5db7c854bf0df9e6f29543ca6a1bdf0b
+MISC ChangeLog 149416 SHA256 12af10f5c68d3b7b3f2147d0dc3dbd9137a43e58494c2afd740df59286db8160 SHA512 edf14f9a1e267452a7ec894577dfb23654c3692b506790e248f6ca670d592317d541c206fd1dde6493c1d606b4fd2761a7f215c75ad69d9cb473ca36571806f2 WHIRLPOOL af431c3ace52ead7e37661fe2422ee1c40aaf7c6a130ff6a4248d5445e18b33f7cb2b267c9ecc737c55916ca8b18cd4bd6cd949b46ac03962ae7e17254a25f5e
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-harness/netbeans-harness-9999_p20150122.ebuild b/dev-java/netbeans-harness/netbeans-harness-9999_p20150122.ebuild
new file mode 100644
index 0000000..31c7524
--- /dev/null
+++ b/dev-java/netbeans-harness/netbeans-harness-9999_p20150122.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Harness"
+HOMEPAGE="http://netbeans.org/features/platform/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2015-01-22_00-02-29/zip/netbeans-trunk-nightly-201501220002-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/A806D99716C5E9441BFD8B401176FDDEFC673022-bindex-2.2.jar
+	http://hg.netbeans.org/binaries/D325D3913CBC0F9A8D73A466FABB98EDEEC014AB-jemmy-2.3.1.1.jar
+	http://hg.netbeans.org/binaries/D06C8980C9025183C044202419EA29E69FBD4B99-jemmy-2.3.1.1-doc.zip
+	http://hg.netbeans.org/binaries/49197106637CCA8C337AF16CC01BB5D9DEC7E179-jemmy-2.3.1.1-src.zip
+	http://hg.netbeans.org/binaries/20D826CC819A5A969CF3F7204E2E26CB6263EC43-jnlp-servlet.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.7
+	app-arch/unzip
+	${CDEPEND}
+	>=dev-java/junit-4.4:4"
+RDEPEND=">=virtual/jdk-1.7
+	${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 -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-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}"/20D826CC819A5A969CF3F7204E2E26CB6263EC43-jnlp-servlet.jar apisupport.harness/external/jnlp-servlet.jar || die
+	ln -s "${DISTDIR}"/D325D3913CBC0F9A8D73A466FABB98EDEEC014AB-jemmy-2.3.1.1.jar jemmy/external/jemmy-2.3.1.1.jar || die
+	ln -s "${DISTDIR}"/D06C8980C9025183C044202419EA29E69FBD4B99-jemmy-2.3.1.1-doc.zip jemmy/external/jemmy-2.3.1.1-doc.zip || die
+	ln -s "${DISTDIR}"/49197106637CCA8C337AF16CC01BB5D9DEC7E179-jemmy-2.3.1.1-src.zip jemmy/external/jemmy-2.3.1.1-src.zip || die
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	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
+	java-pkg_jar-from --build-only --into libs.junit4/external junit-4 junit.jar junit-4.10.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}
+
+	grep -E "/harness$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+	fperms 755 launchers/app.sh
+	find "${D}" -name "*.exe" -type f -delete
+
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/antlib
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm jsearch-2.0_05.jar && dosym /usr/share/javahelp/lib/jsearch.jar ${instdir}/jsearch-2.0_05.jar || die
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/harness
+}

diff --git a/dev-java/netbeans-ide/ChangeLog b/dev-java/netbeans-ide/ChangeLog
index 167d75e..9168c84 100644
--- a/dev-java/netbeans-ide/ChangeLog
+++ b/dev-java/netbeans-ide/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-ide-9999_p20150122 (22 Jan 2015)
+
+  22 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-ide-9999_p20150122.ebuild:
+  bumped to the latest sources
+
 *netbeans-ide-9999_p20150121 (21 Jan 2015)
 
   21 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-ide/Manifest b/dev-java/netbeans-ide/Manifest
index 2f31b0a..5d6cfbd 100644
--- a/dev-java/netbeans-ide/Manifest
+++ b/dev-java/netbeans-ide/Manifest
@@ -226,6 +226,7 @@ DIST netbeans-trunk-nightly-201501180001-src.zip 201391445 SHA256 b1bf4373e5b799
 DIST netbeans-trunk-nightly-201501190001-src.zip 201391445 SHA256 ce4ec7706f80732c5c6d5764fb4cb0f2f82341d668e2680ed4d12c382e8541de SHA512 232c8beecd613bafca37af997c3aae0f35caa28a3a3f381553bc3264916f606540bcb5186c8a2a52ca21ce177ed413d6907865b4b42b80c102e7c636df736628 WHIRLPOOL 2176f82b120a7f9360f3b01cb970a8fcc5078e97da90ae0e870b37a53998beca6306b5f58bf9af3a15dc403f1dbb888457a56b0657a2f972b8e01ebe1b725abe
 DIST netbeans-trunk-nightly-201501200001-src.zip 201396862 SHA256 1a9378d8f52c4f617653d096aff287cf62212af8a6f878fe54cc468e4dd4bed7 SHA512 92fd39cda2d11816b9a01e0e5c26b3f527354a69efdc940cb27d5b17ee6493a07225d2698260db2bdc220e01d166ac42b5fb62f809d1e2eb84419c6e6abb3e14 WHIRLPOOL c3ba7155b5d376041d750c42f1ff8f8dec5bdbfedb470dea483a665978ef3982f087cb7a521f7892c264bb38d0876e4e7a08346ae4579338ba698ae7ee4ba456
 DIST netbeans-trunk-nightly-201501210001-src.zip 201405381 SHA256 95369f4a232531feb195f2d41c14b7ec9791bbd86282fc8155bb1828affe6afa SHA512 4e710bc5905ea83167152e3252a4309d6a4f6fe8f0ccd8f50bd6389635cb2c4fa1cda60c9c9df8d70149ef84bba66527a8c94b1822710421aa704d374a0132b5 WHIRLPOOL c6780c694d1acabd53ca2b23ac660d587b02f63f3f8b5a98c7e293af4e099dfc46dcd5dcd939d7133edb5885388150fd28723b6325678519a80f2cd0ea673ac8
+DIST netbeans-trunk-nightly-201501220002-src.zip 201432275 SHA256 1969c39ce22136b5ff98f7959bf96088b7caaf9ea46df54ff0ed01ca857de8df SHA512 dae7c345289746e85ea6bf99a6352fcb53ec02c8828bf447a686aed0cea577de11e75e89451abf76a1dee3b1d91aaa204dbbe3057ca40c58759f16a4d768b7a9 WHIRLPOOL 39163c8ccac8111c9ab2a0787a2bd137a680bd16eccf4a7e526cfe34c74df0efa957b320df52b92fe9f1dbd134e7e2b2e1479c237b78e7a060c3893aac8838f9
 EBUILD netbeans-ide-7.0.1.ebuild 22653 SHA256 4c1b3e46e2a6cb89d902c7f4fe6ad9306cbd0c9463a514e87d4c6ec019dc0356 SHA512 5dd526a85a70720686c612efb3aa5602c395111d507b91ae4db04c5814b27bafd1480ab7e44e1148b7412f768543110ff58abdf676de303cd3be9d87b87bd373 WHIRLPOOL abaedc56df115c6050ad7824929ee959ba1669fc1f3f9d4cd1eb9f9f948a608828621f46aeedd0b6062c85b1ad4481d12f952a504559e52c110ff37b88ae0d72
 EBUILD netbeans-ide-7.1.2-r1.ebuild 26831 SHA256 2643a4435aa093e292a2728583d8ffbf213dac6a13dad8e47029ed13a2478493 SHA512 5ba14c7b820f2daae788588ae2fdebdc8af6bb870d6ed56adcc2d43810e5dbd2ea21ae639e6b864d6d0b1e69c9aa4f86dfb15e99eb4a170434aadf0109ad876a WHIRLPOOL c9367735f073f9fcf6bb992b6d481aaea1ebe8526907cb6366d432a3f47a0c4d76bc9224206e0e512708dfe896b465878a2a1ad68836c7cd9b51a3a4efa2aecc
 EBUILD netbeans-ide-7.1.2.ebuild 26834 SHA256 1e57e60a1a00b4530f917319b5d8eef915b9669b9dd3ab82b5afabe171d8959a SHA512 4242265c0783a87c028f955425c86596038aa477e3256ff8ba244220a573486bb7f2e47b07b3c94fbef07940a3b32c313a1320b58656a67cb15a490e7307b1ca WHIRLPOOL 1e23b1e4370292500f154527ecd7a0e7ca315ee73588806413f630355677ee8fe9318a0e672b5f6ad60f829c0a5579b37eedbd737bc8ec154aba9f59c53bd337
@@ -262,5 +263,6 @@ EBUILD netbeans-ide-9999_p20150118.ebuild 29641 SHA256 a77a1264f3287227866a23958
 EBUILD netbeans-ide-9999_p20150119.ebuild 29641 SHA256 0a9d14dce3396c0b95d2c68f673f236dd330af3aefbeb5522f8ac50e40130ec4 SHA512 20eed88f79c720e02fa3fdf8769e392c32ad8f59ba0de87c7e08b4e3599ed66a340719ab02d4244eef0385be7752e9cee5ecd40b37651b6a84fd4474c1efd52c WHIRLPOOL f9569df13668a99cbf2e071aa36fb91f42a385c542c45edbadecc95ee8e34852e54dc19ae564f2e2375def885d6b1a8a21703b237a0e1c992c9841fd0a1c298d
 EBUILD netbeans-ide-9999_p20150120.ebuild 29641 SHA256 a9396d34246b81c8c8adb762f4c5996d76c9410112b0124dd0830b49a59a7d4c SHA512 3e31cdd4b6a9afd671d904880499184a18476f1ddad5f3afadc06385d0fa589428390c60f5549a8b81e3dca1574afdd9119f6cc621b2648528b56dd8aafcf7c0 WHIRLPOOL 14af3ab7526fc6732b1eac5f80ebdec039dc882bbadd717b849def6cddd281da733971d0697f26c32261277ca359dfea12a2baff89c270c4efcade7991b91eb9
 EBUILD netbeans-ide-9999_p20150121.ebuild 29641 SHA256 90c7a1286982cc0489c8c6d278300be95db50c61a64430d3737cfba04d767739 SHA512 fa04d9ad1e44fb91fca9c9fd772989ff093cbfa14549e50bc2a7fa7da91401e1971cce19f6487a905d5cfc8277352c83813dc7b8fb37ac5714a01cd16a34f0a7 WHIRLPOOL cae73d531ccb7ee9d42ff77f839c4be11a21b62b958d5ada8fdfd3863abc48e09d7d80c0cc3839a6a020c8dc5fd8d2d04c9ef17bd079d990f4724ec3655de5f9
-MISC ChangeLog 142267 SHA256 0bb5c2aaff264c54b056d75d7abe2e0e0f50b32834c332ab1a824dd9e13b8fe3 SHA512 ef3974a5397bc069be83dc95b562719bb02486ea077dd0c44b66533f9a9c5cb827523e924ad444f22418cf752f0d2650c5d0ef03d805791fdfee9c7a84d24b6c WHIRLPOOL 5d4df301b9630a06141d7d1d6a3ef9fca719b57cde499a32d9f5a2ce4f12908a02f5bf239fcf54600786e9d832ccc110480c7e3623a90ad58673962f8d19a8d0
+EBUILD netbeans-ide-9999_p20150122.ebuild 29641 SHA256 d5496c86653b9531cc2932ef81ae4921849f40c110440569e6336992cde9f27d SHA512 3881dac98c15f24da2b4988d06533ee6636d13a3ffde098547b4fa6d71e25060ad6c77b5e73cd0e7860731271fbaa1d483d14e72bc4e605be9d0ded4690ef518 WHIRLPOOL 78fa74da56b5085a45df6584fce7908482666d024d71ea7a8251ba68cc6cf993180f4dc042f40dd1c3175d466a02222990dd78372c1d3d048b1cbef928949ef0
+MISC ChangeLog 142434 SHA256 b9ede3f6f5eb2f1ca9261162a8899087d28b60b9cb48ce9df0827f03aa93dd80 SHA512 30d906fbc7de5cd191c0d35e85463701728f088215603c0263039b00f08653d34ffae2521cc45deda2f3133741e9efb06e70c4a65a16069176f12071172e6e7c WHIRLPOOL 27ef3e9bbf78119b1e3afe86b5bfb74e45cd2f4b6b9b83e2ca84c8cd69b08948a18871a374afe1c2f23c386e2de57452e56f5552ed1e9afa66d363163e8b1af9
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-ide/netbeans-ide-9999_p20150122.ebuild b/dev-java/netbeans-ide/netbeans-ide-9999_p20150122.ebuild
new file mode 100644
index 0000000..c906c53
--- /dev/null
+++ b/dev-java/netbeans-ide/netbeans-ide-9999_p20150122.ebuild
@@ -0,0 +1,373 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans IDE Cluster"
+HOMEPAGE="http://netbeans.org/projects/ide"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2015-01-22_00-02-29/zip/netbeans-trunk-nightly-201501220002-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/4E74C6BE42FE89871A878C7C4D6158F21A6D8010-antlr-runtime-3.4.jar
+	http://hg.netbeans.org/binaries/98308890597ACB64047F7E896638E0D98753AE82-asm-all-4.0.jar
+	http://hg.netbeans.org/binaries/886FAF4B85054DD6E50D9B3438542F432B5F9251-bytelist-0.1.jar
+	http://hg.netbeans.org/binaries/A8762D07E76CFDE2395257A5DA47BA7C1DBD3DCE-commons-io-1.4.jar
+	http://hg.netbeans.org/binaries/CD0D5510908225F76C5FE5A3F1DF4FA44866F81E-commons-net-3.3.jar
+	http://hg.netbeans.org/binaries/901D8F815922C435D985DA3814D20E34CC7622CB-css21-spec.zip
+	http://hg.netbeans.org/binaries/53AFD6CAA1B476204557B0626E7D673FBD5D245C-css3-spec.zip
+	http://hg.netbeans.org/binaries/C9A6304FAA121C97CB2458B93D30B1FD6F0F7691-derbysampledb.zip
+	http://hg.netbeans.org/binaries/C40DFDACDF892D1BA14B540B32C11B6F34659931-exechlp-1.0.zip
+	http://hg.netbeans.org/binaries/5EEAAC41164FEBCB79C73BEBD678A7B6C10C3E80-freemarker-2.3.19.jar
+	http://hg.netbeans.org/binaries/75C30C488AD2A18A82C7FE3829F4A33FC7841643-glassfish-tooling-sdk-0.3-b054-246345.jar
+	http://hg.netbeans.org/binaries/23123BB29025254556B6E573023FCDF0F6715A66-html-4.01.zip
+	http://hg.netbeans.org/binaries/F4A1696661E6233F8C27EE323CAEF9CB052666F1-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/F90E3DA5259DB07F36E6987EFDED647A5231DE76-ispell-enwl-3.1.20.zip
+	http://hg.netbeans.org/binaries/ECEAF316A8FAF0E794296EBE158AE110C7D72A5A-JavaEWAH-0.7.9.jar
+	http://hg.netbeans.org/binaries/71F434378F822B09A57174AF6C75D37408687C57-jaxb-api.jar
+	http://hg.netbeans.org/binaries/27FAE927B5B9AE53A5B0ED825575DD8217CE7042-jaxb-api-doc.zip
+	http://hg.netbeans.org/binaries/387BE740EAEF52B3F6E6EE2F140757E7632584CE-jaxb-impl.jar
+	http://hg.netbeans.org/binaries/C3787DAB0DDFBD9E98086ED2F219859B0CB77EF7-jaxb-xjc.jar
+	http://hg.netbeans.org/binaries/F4DB465F207907A2406B0BF5C8FFEE22A5C3E4E3-jaxb1-impl.jar
+	http://hg.netbeans.org/binaries/5E40984A55F6FFF704F05D511A119CA5B456DDB1-jfxrt.jar
+	http://hg.netbeans.org/binaries/483A61B688B13C62BB201A683D98A6688B5373B6-jing.jar
+	http://hg.netbeans.org/binaries/DA6CE3C2EB334DB61EFA99CD66134619867368FA-js-corestubs.zip
+	http://hg.netbeans.org/binaries/997BF4A93B8A99E37AB51C9016D1D18CF5FF4B60-js-domstubs.zip
+	http://hg.netbeans.org/binaries/291540295937BAC426A5A5BDDB6D86604075F4C0-js-reststubs.zip
+	http://hg.netbeans.org/binaries/036FA0032B44AD06A1F13504D97B3685B1C88961-jsch.agentproxy.core-0.0.7.jar
+	http://hg.netbeans.org/binaries/9F31964104D71855DF6B73F0C761CDEB3FA3C49C-jsch.agentproxy.sshagent-0.0.7.jar
+	http://hg.netbeans.org/binaries/3FA59A536F3DC2197826DC7F224C0823C1534203-jsch.agentproxy.pageant-0.0.7.jar
+	http://hg.netbeans.org/binaries/F759114E5A9F9AE907EADB59DBF65189AA399B45-jsch.agentproxy.usocket-jna-0.0.7.jar
+	http://hg.netbeans.org/binaries/2E07375E5CA3A452472F0E87FB33F243F7A5C08C-libpam4j-1.1.jar
+	http://hg.netbeans.org/binaries/76E901A1F432323E7E90FC86FDB2534A28952293-nashorn-02f810c26ff9-patched.jar
+	http://hg.netbeans.org/binaries/010FC8BD229B7F68C8C4D5BDE399475373096601-non-schema.jar
+	http://hg.netbeans.org/binaries/7052E115041D04410A4519A61307502FB7C138E6-org.eclipse.core.contenttype_3.4.100.v20110423-0524.jar
+	http://hg.netbeans.org/binaries/B19A4D998C76FE7A30830C96B9E3A47682F320FC-org.eclipse.core.jobs-3.5.101.jar
+	http://hg.netbeans.org/binaries/E64EF6A3FC5DB01AD95632B843706CCE56614C90-org.eclipse.core.net_1.2.100.I20110511-0800.jar
+	http://hg.netbeans.org/binaries/6658C235056134F7E86295E751129508802D71F2-org.eclipse.core.runtime-3.7.0.jar
+	http://hg.netbeans.org/binaries/0CA9B9DF8A8E4C6805C60A5761C470FCE8AE828F-org.eclipse.core.runtime.compatibility.auth_3.2.200.v20110110.jar
+	http://hg.netbeans.org/binaries/9C74D245214DB08E7EB9BC07A951B41CFE3E3648-org.eclipse.equinox.app-1.3.100.jar
+	http://hg.netbeans.org/binaries/78E5D0B8516B042495660DA36CE5114650F8F156-org.eclipse.equinox.common_3.6.0.v20110523.jar
+	http://hg.netbeans.org/binaries/FD94003A1BCE42008753522BFED68E5A84B92644-org.eclipse.equinox.preferences-3.4.2.jar
+	http://hg.netbeans.org/binaries/54AE046B40C9095C2637F8D21664C5CD76E34485-org.eclipse.equinox.registry_3.5.200.v20120522-1841.jar
+	http://hg.netbeans.org/binaries/0FFB9B1D7CD992CE6C8AAEEC2F6F98DFBB1D2F91-org.eclipse.equinox.security-1.1.1.jar
+	http://hg.netbeans.org/binaries/B005B69D9F5B4DBA636A95403D5CB62BAD5C486D-org.eclipse.jgit-3.6.0.201412230720-r.jar
+	http://hg.netbeans.org/binaries/0F81EBAFB75BE1C3A972B7563078897958724E1A-org.eclipse.jgit.java7-3.6.0.201412230720-r.jar
+	http://hg.netbeans.org/binaries/A94F8F805202B28236FFBC03C1CA149129DAEA1C-org.eclipse.mylyn.bugzilla.core_3.10.0.20131024-1218.jar
+	http://hg.netbeans.org/binaries/19D64C17A692D2023E22B16AD515118DF6427790-org.eclipse.mylyn.commons.core_3.10.0.20130926-1710.jar
+	http://hg.netbeans.org/binaries/A1BF01D1DD09274446738C3F83360314B8881CD5-org.eclipse.mylyn.commons.net_3.10.0.20131018-1210.jar
+	http://hg.netbeans.org/binaries/136A7EB3BB9B2559C5F9184B438F108C959B3C03-org.eclipse.mylyn.commons.repositories.core_1.2.0.20130704-2116.jar
+	http://hg.netbeans.org/binaries/531746EBE57071AB7F8CCC7ACB0E806F25893916-org.eclipse.mylyn.commons.xmlrpc_3.10.0.20130704-2116.jar
+	http://hg.netbeans.org/binaries/D3ED088A49DE9E5163457E9279181DD4185BFBE6-org.eclipse.mylyn.tasks.core_3.10.0.20131010-2023.jar
+	http://hg.netbeans.org/binaries/8D4278A9F47D17A104182E59CF06D682B3DE0B3E-org.eclipse.mylyn.wikitext.confluence.core_1.9.0.20131007-2055.jar
+	http://hg.netbeans.org/binaries/1FC011B8A350B70950B3F1D722D7F2890C6E76D8-org.eclipse.mylyn.wikitext.core_1.9.0.20131007-2055.jar
+	http://hg.netbeans.org/binaries/6E914CA3075C8FDF7652F04A02868CF32F2EDCE3-org.eclipse.mylyn.wikitext.textile.core_1.9.0.20131007-2055.jar
+	http://hg.netbeans.org/binaries/8A2F6232978E0330A5D36F19BA0686F96FB980B5-org.tmatesoft.svnkit_1.8.4.r10218_v20140302_1242.jar
+	http://hg.netbeans.org/binaries/820FD32B3FB7F885996B15474F220BDCCACD6D27-processtreekiller-1.0.2.jar
+	http://hg.netbeans.org/binaries/B0D0FCBAC68826D2AFA3C7C89FC4D57B95A000C3-resolver-1.2.jar
+	http://hg.netbeans.org/binaries/D08E473A4D0510FB329D64E4CC4F2963D000699C-svnClientAdapter-javahl-1.10.3.jar
+	http://hg.netbeans.org/binaries/2CD487DCDE4C4FC38D1C9EBCD45418A1B5EF188D-svnClientAdapter-main-1.10.3.jar
+	http://hg.netbeans.org/binaries/5D37A7FE167A1D44731192748C79B2D7905D474F-svnClientAdapter-svnkit-1.10.3.jar
+	http://hg.netbeans.org/binaries/24CEAE4A9A2AAAA0BD78FF001914BA06B59CEDF2-svnjavahl-1.8.4.jar
+	http://hg.netbeans.org/binaries/4F94E5B4F14B4571A1D8E37885A3037C91F7C02C-svnkit_1.7.8.r9538_v20130107_2001.jar
+	http://hg.netbeans.org/binaries/C0D8A3265D194CC886BAFD585117B6465FD97DCE-swingx-all-1.6.4.jar
+	http://hg.netbeans.org/binaries/EDE7FBABD4C96D34E48FDA0E8FECED24C98CEDCA-sqljet-1.1.10.jar
+	http://hg.netbeans.org/binaries/CD5B5996B46CB8D96C8F0F89A7A734B3C01F3DF7-tomcat-webserver-3.2.jar
+	http://hg.netbeans.org/binaries/CE9A1C96875443F2FDD5127B750DA39CF4CE818B-com.trilead.ssh2_1.0.0.build217_r155_v20130603_1628.jar
+	http://hg.netbeans.org/binaries/89BC047153217F5254506F4C622A771A78883CBC-ValidationAPI.jar
+	http://hg.netbeans.org/binaries/6FC6098C230D7CBA5730106D379CBBB42F6EC48A-validator.jar
+	http://hg.netbeans.org/binaries/C9757EFB2CFBA523A7375A78FA9ECFAF0D0AC505-winp-1.14-patched.jar
+	http://hg.netbeans.org/binaries/64F5BEEADD2A239C4BC354B8DFDB97CF7FDD9983-xmlrpc-client-3.0.jar
+	http://hg.netbeans.org/binaries/8FA16AD28B5E79A7CD52B8B72985B0AE8CCD6ADF-xmlrpc-common-3.0.jar
+	http://hg.netbeans.org/binaries/D6917BF718583002CBE44E773EE21E2DF08ADC71-xmlrpc-server-3.0.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/commons-httpclient:3
+	dev-java/commons-lang:2.1
+	dev-java/commons-logging:0
+	dev-java/icu4j:4.4
+	dev-java/iso-relax:0
+	dev-java/jdbc-mysql:0
+	dev-java/jdbc-postgresql:0
+	>=dev-java/json-simple-1.1:0
+	dev-java/jsr173:0
+	dev-java/jvyamlb:0
+	dev-java/log4j:0
+	dev-java/lucene:3.5
+	dev-java/rhino:1.6
+	dev-java/saxon:9
+	dev-java/smack:2.2
+	dev-java/sun-jaf:0
+	dev-java/tomcat-servlet-api:2.2
+	dev-java/ws-commons-util:0
+	dev-java/xerces:2"
+#	dev-vcs/subversion>=1.8.4:0[java] missing from the tree
+#	app-text/jing:0 our version is probably too old
+#	dev-java/commons-io:1 fails with "Missing manifest tag OpenIDE-Module"
+#	dev-java/freemarker:2.3
+#	dev-java/ini4j:0 our version is too old
+#	dev-java/jaxb:2 upstream version contains more stuff so websvccommon does not compile with ours
+#	dev-java/trilead-ssh2:0 in overlay
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	dev-java/commons-codec:0
+	>=dev-java/jsch-0.1.46:0
+	dev-java/jzlib:0
+	${CDEPEND}
+	dev-java/javacc:0
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.7
+	${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 -Djava.awt.headless=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+JAVA_PKG_WANT_SOURCE="1.7"
+JAVA_PKG_WANT_TARGET="1.7"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/4E74C6BE42FE89871A878C7C4D6158F21A6D8010-antlr-runtime-3.4.jar libs.antlr3.runtime/external/antlr-runtime-3.4.jar || die
+	ln -s "${DISTDIR}"/98308890597ACB64047F7E896638E0D98753AE82-asm-all-4.0.jar libs.nashorn/external/asm-all-4.0.jar || die
+	ln -s "${DISTDIR}"/886FAF4B85054DD6E50D9B3438542F432B5F9251-bytelist-0.1.jar libs.bytelist/external/bytelist-0.1.jar || die
+	ln -s "${DISTDIR}"/A8762D07E76CFDE2395257A5DA47BA7C1DBD3DCE-commons-io-1.4.jar o.apache.commons.io/external/commons-io-1.4.jar || die
+	ln -s "${DISTDIR}"/CD0D5510908225F76C5FE5A3F1DF4FA44866F81E-commons-net-3.3.jar libs.commons_net/external/commons-net-3.3.jar || die
+	ln -s "${DISTDIR}"/901D8F815922C435D985DA3814D20E34CC7622CB-css21-spec.zip css.editor/external/css21-spec.zip || die
+	ln -s "${DISTDIR}"/53AFD6CAA1B476204557B0626E7D673FBD5D245C-css3-spec.zip css.editor/external/css3-spec.zip || die
+	ln -s "${DISTDIR}"/C9A6304FAA121C97CB2458B93D30B1FD6F0F7691-derbysampledb.zip derby/external/derbysampledb.zip || die
+	ln -s "${DISTDIR}"/C40DFDACDF892D1BA14B540B32C11B6F34659931-exechlp-1.0.zip dlight.nativeexecution/external/exechlp-1.0.zip || die
+	ln -s "${DISTDIR}"/5EEAAC41164FEBCB79C73BEBD678A7B6C10C3E80-freemarker-2.3.19.jar libs.freemarker/external/freemarker-2.3.19.jar || die
+	ln -s "${DISTDIR}"/75C30C488AD2A18A82C7FE3829F4A33FC7841643-glassfish-tooling-sdk-0.3-b054-246345.jar libs.glassfish.sdk/external/glassfish-tooling-sdk-0.3-b054-246345.jar || die
+	ln -s "${DISTDIR}"/23123BB29025254556B6E573023FCDF0F6715A66-html-4.01.zip html.editor/external/html-4.01.zip || die
+	ln -s "${DISTDIR}"/F4A1696661E6233F8C27EE323CAEF9CB052666F1-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}"/F90E3DA5259DB07F36E6987EFDED647A5231DE76-ispell-enwl-3.1.20.zip spellchecker.dictionary_en/external/ispell-enwl-3.1.20.zip || die
+	ln -s "${DISTDIR}"/ECEAF316A8FAF0E794296EBE158AE110C7D72A5A-JavaEWAH-0.7.9.jar c.googlecode.javaewah.JavaEWAH/external/JavaEWAH-0.7.9.jar || die
+	ln -s "${DISTDIR}"/71F434378F822B09A57174AF6C75D37408687C57-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}"/387BE740EAEF52B3F6E6EE2F140757E7632584CE-jaxb-impl.jar libs.jaxb/external/jaxb-impl.jar || die
+	ln -s "${DISTDIR}"/C3787DAB0DDFBD9E98086ED2F219859B0CB77EF7-jaxb-xjc.jar libs.jaxb/external/jaxb-xjc.jar || die
+	ln -s "${DISTDIR}"/F4DB465F207907A2406B0BF5C8FFEE22A5C3E4E3-jaxb1-impl.jar libs.jaxb/external/jaxb1-impl.jar || die
+	ln -s "${DISTDIR}"/5E40984A55F6FFF704F05D511A119CA5B456DDB1-jfxrt.jar libs.javafx/external/jfxrt.jar || die
+	ln -s "${DISTDIR}"/483A61B688B13C62BB201A683D98A6688B5373B6-jing.jar html.validation/external/jing.jar || die
+	ln -s "${DISTDIR}"/DA6CE3C2EB334DB61EFA99CD66134619867368FA-js-corestubs.zip javascript2.editor/external/js-corestubs.zip || die
+	ln -s "${DISTDIR}"/997BF4A93B8A99E37AB51C9016D1D18CF5FF4B60-js-domstubs.zip javascript2.editor/external/js-domstubs.zip || die
+	ln -s "${DISTDIR}"/291540295937BAC426A5A5BDDB6D86604075F4C0-js-reststubs.zip javascript2.editor/external/js-reststubs.zip || die
+	ln -s "${DISTDIR}"/036FA0032B44AD06A1F13504D97B3685B1C88961-jsch.agentproxy.core-0.0.7.jar libs.jsch.agentproxy/external/jsch.agentproxy.core-0.0.7.jar || die
+	ln -s "${DISTDIR}"/9F31964104D71855DF6B73F0C761CDEB3FA3C49C-jsch.agentproxy.sshagent-0.0.7.jar libs.jsch.agentproxy/external/jsch.agentproxy.sshagent-0.0.7.jar || die
+	ln -s "${DISTDIR}"/3FA59A536F3DC2197826DC7F224C0823C1534203-jsch.agentproxy.pageant-0.0.7.jar libs.jsch.agentproxy/external/jsch.agentproxy.pageant-0.0.7.jar || die
+	ln -s "${DISTDIR}"/F759114E5A9F9AE907EADB59DBF65189AA399B45-jsch.agentproxy.usocket-jna-0.0.7.jar libs.jsch.agentproxy/external/jsch.agentproxy.usocket-jna-0.0.7.jar || die
+	ln -s "${DISTDIR}"/2E07375E5CA3A452472F0E87FB33F243F7A5C08C-libpam4j-1.1.jar extexecution.process/external/libpam4j-1.1.jar || die
+	ln -s "${DISTDIR}"/76E901A1F432323E7E90FC86FDB2534A28952293-nashorn-02f810c26ff9-patched.jar libs.nashorn/external/nashorn-02f810c26ff9-patched.jar || die
+	ln -s "${DISTDIR}"/010FC8BD229B7F68C8C4D5BDE399475373096601-non-schema.jar html.validation/external/non-schema.jar || die
+	ln -s "${DISTDIR}"/7052E115041D04410A4519A61307502FB7C138E6-org.eclipse.core.contenttype_3.4.100.v20110423-0524.jar o.eclipse.core.contenttype/external/org.eclipse.core.contenttype_3.4.100.v20110423-0524.jar || die
+	ln -s "${DISTDIR}"/B19A4D998C76FE7A30830C96B9E3A47682F320FC-org.eclipse.core.jobs-3.5.101.jar o.eclipse.core.jobs/external/org.eclipse.core.jobs-3.5.101.jar || die
+	ln -s "${DISTDIR}"/E64EF6A3FC5DB01AD95632B843706CCE56614C90-org.eclipse.core.net_1.2.100.I20110511-0800.jar o.eclipse.core.net/external/org.eclipse.core.net_1.2.100.I20110511-0800.jar || die
+	ln -s "${DISTDIR}"/6658C235056134F7E86295E751129508802D71F2-org.eclipse.core.runtime-3.7.0.jar o.eclipse.core.runtime/external/org.eclipse.core.runtime-3.7.0.jar || die
+	ln -s "${DISTDIR}"/0CA9B9DF8A8E4C6805C60A5761C470FCE8AE828F-org.eclipse.core.runtime.compatibility.auth_3.2.200.v20110110.jar o.eclipse.core.runtime.compatibility.auth/external/org.eclipse.core.runtime.compatibility.auth_3.2.200.v20110110.jar || die
+	ln -s "${DISTDIR}"/9C74D245214DB08E7EB9BC07A951B41CFE3E3648-org.eclipse.equinox.app-1.3.100.jar o.eclipse.equinox.app/external/org.eclipse.equinox.app-1.3.100.jar || die
+	ln -s "${DISTDIR}"/78E5D0B8516B042495660DA36CE5114650F8F156-org.eclipse.equinox.common_3.6.0.v20110523.jar o.eclipse.equinox.common/external/org.eclipse.equinox.common_3.6.0.v20110523.jar || die
+	ln -s "${DISTDIR}"/FD94003A1BCE42008753522BFED68E5A84B92644-org.eclipse.equinox.preferences-3.4.2.jar o.eclipse.equinox.preferences/external/org.eclipse.equinox.preferences-3.4.2.jar || die
+	ln -s "${DISTDIR}"/54AE046B40C9095C2637F8D21664C5CD76E34485-org.eclipse.equinox.registry_3.5.200.v20120522-1841.jar o.eclipse.equinox.registry/external/org.eclipse.equinox.registry_3.5.200.v20120522-1841.jar || die
+	ln -s "${DISTDIR}"/0FFB9B1D7CD992CE6C8AAEEC2F6F98DFBB1D2F91-org.eclipse.equinox.security-1.1.1.jar o.eclipse.equinox.security/external/org.eclipse.equinox.security-1.1.1.jar || die
+	ln -s "${DISTDIR}"/B005B69D9F5B4DBA636A95403D5CB62BAD5C486D-org.eclipse.jgit-3.6.0.201412230720-r.jar o.eclipse.jgit/external/org.eclipse.jgit-3.6.0.201412230720-r.jar || die
+	ln -s "${DISTDIR}"/0F81EBAFB75BE1C3A972B7563078897958724E1A-org.eclipse.jgit.java7-3.6.0.201412230720-r.jar o.eclipse.jgit.java7/external/org.eclipse.jgit.java7-3.6.0.201412230720-r.jar || die
+	ln -s "${DISTDIR}"/A94F8F805202B28236FFBC03C1CA149129DAEA1C-org.eclipse.mylyn.bugzilla.core_3.10.0.20131024-1218.jar o.eclipse.mylyn.bugzilla.core/external/org.eclipse.mylyn.bugzilla.core_3.10.0.20131024-1218.jar || die
+	ln -s "${DISTDIR}"/19D64C17A692D2023E22B16AD515118DF6427790-org.eclipse.mylyn.commons.core_3.10.0.20130926-1710.jar o.eclipse.mylyn.commons.core/external/org.eclipse.mylyn.commons.core_3.10.0.20130926-1710.jar || die
+	ln -s "${DISTDIR}"/A1BF01D1DD09274446738C3F83360314B8881CD5-org.eclipse.mylyn.commons.net_3.10.0.20131018-1210.jar o.eclipse.mylyn.commons.net/external/org.eclipse.mylyn.commons.net_3.10.0.20131018-1210.jar || die
+	ln -s "${DISTDIR}"/136A7EB3BB9B2559C5F9184B438F108C959B3C03-org.eclipse.mylyn.commons.repositories.core_1.2.0.20130704-2116.jar o.eclipse.mylyn.commons.repositories.core/external/org.eclipse.mylyn.commons.repositories.core_1.2.0.20130704-2116.jar || die
+	ln -s "${DISTDIR}"/531746EBE57071AB7F8CCC7ACB0E806F25893916-org.eclipse.mylyn.commons.xmlrpc_3.10.0.20130704-2116.jar o.eclipse.mylyn.commons.xmlrpc/external/org.eclipse.mylyn.commons.xmlrpc_3.10.0.20130704-2116.jar || die
+	ln -s "${DISTDIR}"/D3ED088A49DE9E5163457E9279181DD4185BFBE6-org.eclipse.mylyn.tasks.core_3.10.0.20131010-2023.jar o.eclipse.mylyn.tasks.core/external/org.eclipse.mylyn.tasks.core_3.10.0.20131010-2023.jar || die
+	ln -s "${DISTDIR}"/8D4278A9F47D17A104182E59CF06D682B3DE0B3E-org.eclipse.mylyn.wikitext.confluence.core_1.9.0.20131007-2055.jar o.eclipse.mylyn.wikitext.confluence.core/external/org.eclipse.mylyn.wikitext.confluence.core_1.9.0.20131007-2055.jar || die
+	ln -s "${DISTDIR}"/1FC011B8A350B70950B3F1D722D7F2890C6E76D8-org.eclipse.mylyn.wikitext.core_1.9.0.20131007-2055.jar o.eclipse.mylyn.wikitext.core/external/org.eclipse.mylyn.wikitext.core_1.9.0.20131007-2055.jar || die
+	ln -s "${DISTDIR}"/6E914CA3075C8FDF7652F04A02868CF32F2EDCE3-org.eclipse.mylyn.wikitext.textile.core_1.9.0.20131007-2055.jar o.eclipse.mylyn.wikitext.textile.core/external/org.eclipse.mylyn.wikitext.textile.core_1.9.0.20131007-2055.jar  || die
+	ln -s "${DISTDIR}"/8A2F6232978E0330A5D36F19BA0686F96FB980B5-org.tmatesoft.svnkit_1.8.4.r10218_v20140302_1242.jar libs.svnClientAdapter.svnkit/external/org.tmatesoft.svnkit_1.8.4.r10218_v20140302_1242.jar || die
+	ln -s "${DISTDIR}"/820FD32B3FB7F885996B15474F220BDCCACD6D27-processtreekiller-1.0.2.jar extexecution.process/external/processtreekiller-1.0.2.jar || die
+	ln -s "${DISTDIR}"/4F94E5B4F14B4571A1D8E37885A3037C91F7C02C-svnkit_1.7.8.r9538_v20130107_2001.jar libs.svnClientAdapter.svnkit/external/svnkit_1.7.8.r9538_v20130107_2001.jar || die
+	ln -s "${DISTDIR}"/B0D0FCBAC68826D2AFA3C7C89FC4D57B95A000C3-resolver-1.2.jar o.apache.xml.resolver/external/resolver-1.2.jar || die
+	ln -s "${DISTDIR}"/EDE7FBABD4C96D34E48FDA0E8FECED24C98CEDCA-sqljet-1.1.10.jar libs.svnClientAdapter.svnkit/external/sqljet-1.1.10.jar || die
+	ln -s "${DISTDIR}"/D08E473A4D0510FB329D64E4CC4F2963D000699C-svnClientAdapter-javahl-1.10.3.jar libs.svnClientAdapter.javahl/external/svnClientAdapter-javahl-1.10.3.jar || die
+	ln -s "${DISTDIR}"/2CD487DCDE4C4FC38D1C9EBCD45418A1B5EF188D-svnClientAdapter-main-1.10.3.jar libs.svnClientAdapter/external/svnClientAdapter-main-1.10.3.jar || die
+	ln -s "${DISTDIR}"/5D37A7FE167A1D44731192748C79B2D7905D474F-svnClientAdapter-svnkit-1.10.3.jar libs.svnClientAdapter.svnkit/external/svnClientAdapter-svnkit-1.10.3.jar || die
+	ln -s "${DISTDIR}"/24CEAE4A9A2AAAA0BD78FF001914BA06B59CEDF2-svnjavahl-1.8.4.jar libs.svnClientAdapter.javahl/external/svnjavahl-1.8.4.jar || die
+	ln -s "${DISTDIR}"/3B91269E9055504778F57744D24F505856698602-svnkit-1.7.0-beta4-20120316.233307-1.jar libs.svnClientAdapter.svnkit/external/svnkit-1.7.0-beta4-20120316.233307-1.jar || die
+	ln -s "${DISTDIR}"/015525209A02BD74254930FF844C7C13498B7FB9-svnkit-javahl16-1.7.0-beta4-20120316.233536-1.jar libs.svnClientAdapter.svnkit/external/svnkit-javahl16-1.7.0-beta4-20120316.233536-1.jar || die
+	ln -s "${DISTDIR}"/C0D8A3265D194CC886BAFD585117B6465FD97DCE-swingx-all-1.6.4.jar libs.swingx/external/swingx-all-1.6.4.jar || die
+	ln -s "${DISTDIR}"/CD5B5996B46CB8D96C8F0F89A7A734B3C01F3DF7-tomcat-webserver-3.2.jar httpserver/external/tomcat-webserver-3.2.jar || die
+	ln -s "${DISTDIR}"/CE9A1C96875443F2FDD5127B750DA39CF4CE818B-com.trilead.ssh2_1.0.0.build217_r155_v20130603_1628.jar libs.svnClientAdapter.svnkit/external/com.trilead.ssh2_1.0.0.build217_r155_v20130603_1628.jar || die
+	ln -s "${DISTDIR}"/89BC047153217F5254506F4C622A771A78883CBC-ValidationAPI.jar swing.validation/external/ValidationAPI.jar || die
+	ln -s "${DISTDIR}"/6FC6098C230D7CBA5730106D379CBBB42F6EC48A-validator.jar html.validation/external/validator.jar || die
+	ln -s "${DISTDIR}"/C9757EFB2CFBA523A7375A78FA9ECFAF0D0AC505-winp-1.14-patched.jar extexecution.process/external/winp-1.14-patched.jar || die
+	ln -s "${DISTDIR}"/64F5BEEADD2A239C4BC354B8DFDB97CF7FDD9983-xmlrpc-client-3.0.jar o.apache.xmlrpc/external/xmlrpc-client-3.0.jar || die
+	ln -s "${DISTDIR}"/8FA16AD28B5E79A7CD52B8B72985B0AE8CCD6ADF-xmlrpc-common-3.0.jar o.apache.xmlrpc/external/xmlrpc-common-3.0.jar || die
+	ln -s "${DISTDIR}"/D6917BF718583002CBE44E773EE21E2DF08ADC71-xmlrpc-server-3.0.jar o.apache.xmlrpc/external/xmlrpc-server-3.0.jar || die
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	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.json_simple/external json-simple json-simple.jar json-simple-1.1.1.jar
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+	cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.platform.built
+
+	ln -s /usr/share/netbeans-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 --build-only --into c.jcraft.jsch/external jsch jsch.jar jsch-0.1.49.jar
+	java-pkg_jar-from --build-only --into c.jcraft.jzlib/external jzlib jzlib.jar jzlib-1.0.7.jar
+	java-pkg_jar-from --into db.drivers/external jdbc-mysql jdbc-mysql.jar mysql-connector-java-5.1.23-bin.jar
+	java-pkg_jar-from --into db.drivers/external jdbc-postgresql jdbc-postgresql.jar postgresql-9.2-1002.jdbc4.jar
+	java-pkg_jar-from --build-only --into db.sql.visualeditor/external javacc javacc.jar javacc-3.2.jar
+	java-pkg_jar-from --into html.parser/external icu4j-4.4 icu4j.jar icu4j-4_4_2.jar
+	java-pkg_jar-from --into html.validation/external iso-relax isorelax.jar isorelax.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.freemarker/external freemarker-2.3 freemarker.jar freemarker-2.3.19.jar
+	java-pkg_jar-from --into libs.jvyamlb/external jvyamlb jvyamlb.jar jvyamlb-0.2.3.jar
+	java-pkg_jar-from --into libs.lucene/external lucene-3.5 lucene-core.jar lucene-core-3.5.0.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.8.4.jar
+	java-pkg_jar-from --into libs.xerces/external xerces-2 xercesImpl.jar xerces-2.8.0.jar
+	java-pkg_jar-from --build-only --into o.apache.commons.codec/external commons-codec commons-codec.jar apache-commons-codec-1.3.jar
+	java-pkg_jar-from --into o.apache.commons.httpclient/external commons-httpclient-3 commons-httpclient.jar commons-httpclient-3.1.jar
+	java-pkg_jar-from --into o.apache.commons.lang/external commons-lang-2.1 commons-lang.jar commons-lang-2.4.jar
+	java-pkg_jar-from --into o.apache.commons.logging/external commons-logging commons-logging.jar commons-logging-1.1.1.jar
+	java-pkg_jar-from --into o.apache.ws.commons.util/external ws-commons-util ws-commons-util.jar ws-commons-util-1.0.1.jar
+	java-pkg_jar-from --into servletapi/external tomcat-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 jsr173 jsr173.jar jsr173_1.0_api.jar
+
+	java-pkg-2_src_prepare
+}
+
+src_compile() {
+	unset DISPLAY
+	eant -f ${EANT_BUILD_XML} ${EANT_EXTRA_ARGS} ${EANT_BUILD_TARGET} || die "Compilation failed"
+}
+
+src_install() {
+	pushd nbbuild/netbeans/ide >/dev/null || die
+
+	insinto ${INSTALL_DIR}
+
+	grep -E "/ide$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+	rm -fr "${D}"/${INSTALL_DIR}/bin/nativeexecution || die
+	rm -fr "${D}"/${INSTALL_DIR}/modules/lib || die
+
+	insinto ${INSTALL_DIR}/bin/nativeexecution
+	doins bin/nativeexecution/*
+
+	pushd "${D}"/${INSTALL_DIR}/bin/nativeexecution >/dev/null || die
+	for file in *.sh ; do
+		fperms 755 ${file}
+	done
+	popd >/dev/null || die
+
+	if use x86 ; then
+		doins -r bin/nativeexecution/Linux-x86
+		pushd "${D}"/${INSTALL_DIR}/bin/nativeexecution/Linux-x86 >/dev/null || die
+		for file in * ; do
+			fperms 755 ${file}
+		done
+		popd >/dev/null || die
+	elif use amd64 ; then
+		doins -r bin/nativeexecution/Linux-x86_64
+		pushd "${D}"/${INSTALL_DIR}/bin/nativeexecution/Linux-x86_64 >/dev/null || die
+		for file in * ; do
+			fperms 755 ${file}
+		done
+		popd >/dev/null || die
+	fi
+
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext
+	pushd "${D}"/${instdir} >/dev/null || die
+	# rm freemarker-2.3.19.jar && dosym /usr/share/freemarker-2.3/lib/freemarker.jar ${instdir}/freemarker-2.3.19.jar || die
+	rm icu4j-4_4_2.jar && dosym /usr/share/icu4j-4.4/lib/icu4j.jar ${instdir}/icu4j-4_4_2.jar || die
+	rm isorelax.jar && dosym /usr/share/iso-relax/lib/isorelax.jar ${instdir}/isorelax.jar || die
+	rm json-simple-1.1.1.jar && dosym /usr/share/json-simple/lib/json-simple.jar ${instdir}/json-simple-1.1.1.jar || die
+	rm jvyamlb-0.2.3.jar && dosym /usr/share/jvyamlb/lib/jvyamlb.jar ${instdir}/jvyamlb-0.2.3.jar || die
+	rm log4j-1.2.15.jar && dosym /usr/share/log4j/lib/log4j.jar ${instdir}/log4j-1.2.15.jar || die
+	rm lucene-core-3.5.0.jar && dosym /usr/share/lucene-3.5/lib/lucene-core.jar ${instdir}/lucene-core-3.5.0.jar || die
+	rm mysql-connector-java-5.1.23-bin.jar && dosym /usr/share/jdbc-mysql/lib/jdbc-mysql.jar ${instdir}/mysql-connector-java-5.1.23-bin.jar || die
+	rm postgresql-9.2-1002.jdbc4.jar && dosym /usr/share/jdbc-postgresql/lib/jdbc-postgresql.jar ${instdir}/postgresql-9.2-1002.jdbc4.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
+	# rm svnjavahl.jar && dosym /usr/share/subversion/lib/svn-javahl.jar ${instdir}/svnjavahl.jar || die
+	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
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext/jaxb/api
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm jsr173_1.0_api.jar && dosym /usr/share/jsr173/lib/jsr173.jar ${instdir}/jsr173_1.0_api.jar || die
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/ide
+}

diff --git a/dev-java/netbeans-java/ChangeLog b/dev-java/netbeans-java/ChangeLog
index 37c930a..d1801e6 100644
--- a/dev-java/netbeans-java/ChangeLog
+++ b/dev-java/netbeans-java/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-java-9999_p20150122 (22 Jan 2015)
+
+  22 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-java-9999_p20150122.ebuild:
+  bumped to the latest sources
+
 *netbeans-java-9999_p20150121 (21 Jan 2015)
 
   21 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-java/Manifest b/dev-java/netbeans-java/Manifest
index 6a5dc62..3ed672c 100644
--- a/dev-java/netbeans-java/Manifest
+++ b/dev-java/netbeans-java/Manifest
@@ -118,6 +118,7 @@ DIST netbeans-trunk-nightly-201501180001-src.zip 201391445 SHA256 b1bf4373e5b799
 DIST netbeans-trunk-nightly-201501190001-src.zip 201391445 SHA256 ce4ec7706f80732c5c6d5764fb4cb0f2f82341d668e2680ed4d12c382e8541de SHA512 232c8beecd613bafca37af997c3aae0f35caa28a3a3f381553bc3264916f606540bcb5186c8a2a52ca21ce177ed413d6907865b4b42b80c102e7c636df736628 WHIRLPOOL 2176f82b120a7f9360f3b01cb970a8fcc5078e97da90ae0e870b37a53998beca6306b5f58bf9af3a15dc403f1dbb888457a56b0657a2f972b8e01ebe1b725abe
 DIST netbeans-trunk-nightly-201501200001-src.zip 201396862 SHA256 1a9378d8f52c4f617653d096aff287cf62212af8a6f878fe54cc468e4dd4bed7 SHA512 92fd39cda2d11816b9a01e0e5c26b3f527354a69efdc940cb27d5b17ee6493a07225d2698260db2bdc220e01d166ac42b5fb62f809d1e2eb84419c6e6abb3e14 WHIRLPOOL c3ba7155b5d376041d750c42f1ff8f8dec5bdbfedb470dea483a665978ef3982f087cb7a521f7892c264bb38d0876e4e7a08346ae4579338ba698ae7ee4ba456
 DIST netbeans-trunk-nightly-201501210001-src.zip 201405381 SHA256 95369f4a232531feb195f2d41c14b7ec9791bbd86282fc8155bb1828affe6afa SHA512 4e710bc5905ea83167152e3252a4309d6a4f6fe8f0ccd8f50bd6389635cb2c4fa1cda60c9c9df8d70149ef84bba66527a8c94b1822710421aa704d374a0132b5 WHIRLPOOL c6780c694d1acabd53ca2b23ac660d587b02f63f3f8b5a98c7e293af4e099dfc46dcd5dcd939d7133edb5885388150fd28723b6325678519a80f2cd0ea673ac8
+DIST netbeans-trunk-nightly-201501220002-src.zip 201432275 SHA256 1969c39ce22136b5ff98f7959bf96088b7caaf9ea46df54ff0ed01ca857de8df SHA512 dae7c345289746e85ea6bf99a6352fcb53ec02c8828bf447a686aed0cea577de11e75e89451abf76a1dee3b1d91aaa204dbbe3057ca40c58759f16a4d768b7a9 WHIRLPOOL 39163c8ccac8111c9ab2a0787a2bd137a680bd16eccf4a7e526cfe34c74df0efa957b320df52b92fe9f1dbd134e7e2b2e1479c237b78e7a060c3893aac8838f9
 EBUILD netbeans-java-7.0.1-r2.ebuild 14932 SHA256 3d8eeb5c3aea368c5064e83e9519b2982a3d0f999db11344ba33605f46f865b0 SHA512 0c99037f44aa968f357724650189fe0f6fc89496fbf73f6c5a9bcd589afa5af4974f058a8eea2b6a97e1884f4cabba8b5ecf0214b7e840870358f0e55abbc595 WHIRLPOOL 4c1ccada62d0c8883033500ead9586e5bfcd360e6030b3d8368b0b16b9ed01cc03d3c3d5888de437a16d5382b5fe9ec7c02f3e200c3c19bc9a43f011f32d3a68
 EBUILD netbeans-java-7.1.2-r1.ebuild 14936 SHA256 6082d8d5022e011e7aa9d4ff92bf9a144a4f733b879127552c0ca55566b0f18c SHA512 c03a674b6d93a4261bff40ad9aaad6fa9bc0451d6017aeb51f14c42113cc2ff12f84ff5a6cc01c01b43c7ce1b4d885da5c9cb4c0e13601c8ff780eb140060ac6 WHIRLPOOL d32f06a7bd7d4924f14fcb2ed67fd2f5a1766087e4f46ed77d12d472c4c133eef5431d75a709da1abcf8b8cff5afef303dd57e82e4022651a7278076502300d6
 EBUILD netbeans-java-7.2.ebuild 12206 SHA256 da05f74f2c02e4aac745dcf1be75069cc7070f241d063c19c40465e139ac135f SHA512 62be228321e175ad03c2a7d9270065445ba9e1ca08a1a51927027ddbc78aa43a0c57c6b4193add993764235068c7128655f2f12e00fcd17fbac807334f2483c6 WHIRLPOOL 5f518535df8a5f1e1e4f0bc5c845ca063317221c619c3e8928c89a4f2bb30be5a03838f5a610bcda58959d535e4fb152f92f4edd780bcd423918b448d7ddf2e1
@@ -152,5 +153,6 @@ EBUILD netbeans-java-9999_p20150118.ebuild 13429 SHA256 611c6d83f5c8f23fea3bfe94
 EBUILD netbeans-java-9999_p20150119.ebuild 13429 SHA256 788f98dfe95c056ce18b8cd3e602024abc97234002fb91aed378e2d76dffb11f SHA512 184b61fe9793acff5d09a8c418973fbe1db1d934602c599f05c4a182afa67222e6624fa9c00ce5ab61561c1eb288f0354b51d19081ab47cac0328abbd742ddba WHIRLPOOL a4bfd31bfe33109f67d873f5e9280e454899b6b00453b5e496adf0524ec25c3873b1d7b76c0fd506ef25db98e6f2f97236971a73365646f0ce9b1cf2b5fdc78c
 EBUILD netbeans-java-9999_p20150120.ebuild 13429 SHA256 00caf2f373335e27e1ee6500b0867470513b12371fe3cfeb4fe54e7a496f8e11 SHA512 472d37d03a452d5ac7f425698a316c740a820ad350961fcbe858d23a2e78c41a2112924a0054fabc65e50d35607d526c992a470a6f3f134826d8b735fb61ad2b WHIRLPOOL 473278af7473167b3d2473c1d706f4fef09dae0f148a76e376d714d67426ada68f41f5265de11a505b3123ab8fd6ff97c1d7c21a011017bfcdec4190da3215f6
 EBUILD netbeans-java-9999_p20150121.ebuild 13429 SHA256 d943258194d15092c0046ef9ca400f31d75126cc941a3f3518e3ce0fabc3e2ba SHA512 8446db89765e6a4d4f961eafbcc7a507989bd5a2a171ca0501266464700049909a23527826e479488a266cdb3235b848b406800b1a1e53f730be52ee2266dbb9 WHIRLPOOL 49e7746d64aba0a6678238cfc9d4c08580ccd79129e7ac33b2c945e3f05e9ffd2afdd7c4512adc431490239fd09448194b560ab38c9880d904d1c460f356cca3
-MISC ChangeLog 144914 SHA256 d3ce86f1cc9cc1f13cb8dda113b1daf8e897642eb659574d0b86735d50331816 SHA512 dca3c366af2218120720be37bbd4a71111b52e4f4433e95750f950399b52528ce74df4efde8e3aa27345a11a3b36a8ab8a3de2196dff7f239f2c7c6b20af01a5 WHIRLPOOL 5ef8c2827e73ec6ae84af936fe241796e9a401b8b5d1d964fd512e9c84b1afd3efd1736d90328843ac11b6805f9851e9c67b985de49ddc9a414c011114948501
+EBUILD netbeans-java-9999_p20150122.ebuild 13429 SHA256 c11cbd34f4d82908aecbe6b3229d718fd6ab4d98465064c2ea5e029b5b4cd9ea SHA512 e79b59df90469ee68a592954b9078d7b486dc0fce5ac61634e8000f9cc704f7a4be8026941e8e5b159ea11ec8ba727a466e694e720acef5fa61350c2c0310c2b WHIRLPOOL 5788a948cae007f467bae3b9e5c6e7af1bb630287cd0363e4fab40601712de35194d741ee120c5c30a0177802127c0d69089722bf20e69b049931a2bef59ca6b
+MISC ChangeLog 145083 SHA256 16bbe896c26fff4ccb26eea70dbf1ee0470d84fea527a11f5f362886fdb30d06 SHA512 ca096bd965e30738d426aea04d881fb74c92657ceb19038a62a0fae9af2c00d3da4aff68868ef22330ddf001efc482901daa0a7f0d7e67c3cb438a16216c78a2 WHIRLPOOL 4eba86461c6018a57785955986bec1a85185d3bf73dd70c8c2bef7c5ea36c87b49bf1e3999c28e4897c85a7b48cd472d605df1f73e2772c60fca9b51de7ea739
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-java/netbeans-java-9999_p20150122.ebuild b/dev-java/netbeans-java/netbeans-java-9999_p20150122.ebuild
new file mode 100644
index 0000000..e52f9cf
--- /dev/null
+++ b/dev-java/netbeans-java/netbeans-java-9999_p20150122.ebuild
@@ -0,0 +1,253 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+# Maven cannot be unbundled because it depends on exact maven version and exact content of maven directory
+
+DESCRIPTION="Netbeans Java Cluster"
+HOMEPAGE="http://netbeans.org/projects/java"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2015-01-22_00-02-29/zip/netbeans-trunk-nightly-201501220002-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/694F57282D92C434800F79218E64704E5947008A-apache-maven-3.0.5-bin.zip
+	http://hg.netbeans.org/binaries/F7BD95641780C2AAE8CB9BED1686441A1CE5E749-beansbinding-1.2.1-doc.zip
+	http://hg.netbeans.org/binaries/CD2211635F3011E300CA8FEDC1CE0E1CF61C175B-eclipselink.jar
+	http://hg.netbeans.org/binaries/A9A0648BD7D9FD2CDFBD22C25366E71DA72438DA-hibernate-release-4.3.1-lib.zip
+	http://hg.netbeans.org/binaries/562F0CFA47F0636EBB5A544968EE7A692FC5D26D-indexer-artifact-5.1.1.jar
+	http://hg.netbeans.org/binaries/E775F5BEB07F8303A9AD3DDC12E3128DD48AB03A-indexer-core-5.1.1-patched.jar
+	http://hg.netbeans.org/binaries/D87F53C99E4CD88F5416EDD5ABB77F2A1CCFB050-jarjar-1.4.jar
+	http://hg.netbeans.org/binaries/5BAB675816DBE0F64BB86004B108BF2A00292358-javax.persistence_2.1.0.v201304241213.jar
+	http://hg.netbeans.org/binaries/84E2020E5499015E9F40D1212C86918264B89EB1-jaxws-2.2.6.zip
+	http://hg.netbeans.org/binaries/D64C40E770C95C2A6994081C00CCD489C0AA20C9-jaxws-2.2.6-api.zip
+	http://hg.netbeans.org/binaries/8ECD169E9E308C258287E4F28B03B6D6F1E55F47-jaxws-api-doc.zip
+	http://hg.netbeans.org/binaries/A8BD39C5B88571B4D4697E78DD1A56566E44B1DD-JPAjavadocs04032013.zip
+	http://hg.netbeans.org/binaries/9EC77E2507F9CC01756964C71D91EFD8154A8C47-lucene-core-3.6.2.jar
+	http://hg.netbeans.org/binaries/A90682C6BC0B9E105BD260C9A041FEFEA9579E46-lucene-highlighter-3.6.2.jar
+	http://hg.netbeans.org/binaries/BF206C4AA93C74A739FBAF1F1C78E3AD5F167245-maven-dependency-tree-2.0.jar
+	http://hg.netbeans.org/binaries/E5579EF3B0C1EF2F43562DD0C3B32F8E1F603B49-nb-javac-api.jar
+	http://hg.netbeans.org/binaries/38F9F426B1CE20EDC709424F51EDA1C87F13F420-nb-javac-impl.jar
+	http://hg.netbeans.org/binaries/29AF1D338CBB76290D1A96F5A6610F1E8C319AE5-org.eclipse.persistence.jpa.jpql_2.5.2.v20140319-9ad6abd.jar
+	http://hg.netbeans.org/binaries/3CE04BDB48FE315736B1DCE407362C57DFAE286D-org.eclipse.persistence.jpa.modelgen_2.5.2.v20140319-9ad6abd.jar
+	http://hg.netbeans.org/binaries/7666B94C1004AFFFE88E5328BD70EBA6F60125F4-spring-framework-3.2.7.RELEASE.zip
+	http://hg.netbeans.org/binaries/91B55CDAC59BC4DDDF0AF9A54EAAE4304EDEF266-spring-framework-4.0.1.RELEASE.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-platform-${PV}
+	~dev-java/netbeans-extide-${PV}
+	~dev-java/netbeans-harness-${PV}
+	~dev-java/netbeans-ide-${PV}
+	~dev-java/netbeans-websvccommon-${PV}
+	dev-java/beansbinding:0
+	dev-java/cglib:2.2
+	dev-java/jdom:1.0"
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0
+	dev-java/json-simple:0
+	dev-java/junit:4"
+RDEPEND=">=virtual/jdk-1.7
+	${CDEPEND}
+	dev-java/absolutelayout:0
+	dev-java/antlr:0[java]
+	dev-java/c3p0:0
+	dev-java/cglib:2.1
+	dev-java/commons-collections:0
+	dev-java/dom4j:1
+	dev-java/fastinfoset:0
+	dev-java/glassfish-transaction-api:0
+	dev-java/javassist:3
+	dev-java/jboss-logging:0
+	dev-java/jsr67:0
+	dev-java/jsr181:0
+	dev-java/jtidy:0
+	dev-java/log4j:0
+	dev-java/mimepull: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 -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+pkg_pretend() {
+	local die_now=""
+
+	if [ -d /usr/share/netbeans-java-${SLOT}/ant ]; then
+		if [ -n "$(find /usr/share/netbeans-java-${SLOT}/ant -type l)" ]; then
+			eerror "Please remove following symlinks and run emerge again:"
+			find /usr/share/netbeans-java-${SLOT}/ant -type l
+			die_now="1"
+		fi
+	fi
+
+	if [ -L /usr/share/netbeans-java-${SLOT}/maven ]; then
+		if [ -z "${die_now}" ]; then
+			eerror "Please remove following symlinks and run emerge again:"
+		fi
+
+		echo "/usr/share/netbeans-java-${SLOT}/maven"
+		die_now="1"
+	fi
+
+	if [ -n "${die_now}" ]; then
+		die "Symlinks exist"
+	fi
+}
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/694F57282D92C434800F79218E64704E5947008A-apache-maven-3.0.5-bin.zip maven.embedder/external/apache-maven-3.0.5-bin.zip || die
+	ln -s "${DISTDIR}"/F7BD95641780C2AAE8CB9BED1686441A1CE5E749-beansbinding-1.2.1-doc.zip o.jdesktop.beansbinding/external/beansbinding-1.2.1-doc.zip || die
+	ln -s "${DISTDIR}"/CD2211635F3011E300CA8FEDC1CE0E1CF61C175B-eclipselink.jar j2ee.eclipselink/external/eclipselink.jar || die
+	ln -s "${DISTDIR}"/A9A0648BD7D9FD2CDFBD22C25366E71DA72438DA-hibernate-release-4.3.1-lib.zip hibernate4lib/external/hibernate-release-4.3.1-lib.zip || die
+	ln -s "${DISTDIR}"/562F0CFA47F0636EBB5A544968EE7A692FC5D26D-indexer-artifact-5.1.1.jar maven.indexer/external/indexer-artifact-5.1.1.jar || die
+	ln -s "${DISTDIR}"/E775F5BEB07F8303A9AD3DDC12E3128DD48AB03A-indexer-core-5.1.1-patched.jar maven.indexer/external/indexer-core-5.1.1-patched.jar || die
+	ln -s "${DISTDIR}"/D87F53C99E4CD88F5416EDD5ABB77F2A1CCFB050-jarjar-1.4.jar maven/external/jarjar-1.4.jar || die
+	ln -s "${DISTDIR}"/5BAB675816DBE0F64BB86004B108BF2A00292358-javax.persistence_2.1.0.v201304241213.jar j2ee.eclipselink/external/javax.persistence_2.1.0.v201304241213.jar || die
+	ln -s "${DISTDIR}"/84E2020E5499015E9F40D1212C86918264B89EB1-jaxws-2.2.6.zip websvc.jaxws21/external/jaxws-2.2.6.zip || die
+	ln -s "${DISTDIR}"/D64C40E770C95C2A6994081C00CCD489C0AA20C9-jaxws-2.2.6-api.zip websvc.jaxws21api/external/jaxws-2.2.6-api.zip || die
+	ln -s "${DISTDIR}"/8ECD169E9E308C258287E4F28B03B6D6F1E55F47-jaxws-api-doc.zip websvc.jaxws21/external/jaxws-api-doc.zip || die
+	ln -s "${DISTDIR}"/A8BD39C5B88571B4D4697E78DD1A56566E44B1DD-JPAjavadocs04032013.zip j2ee.eclipselink/external/JPAjavadocs04032013.zip || die
+	ln -s "${DISTDIR}"/9EC77E2507F9CC01756964C71D91EFD8154A8C47-lucene-core-3.6.2.jar maven.indexer/external/lucene-core-3.6.2.jar || die
+	ln -s "${DISTDIR}"/A90682C6BC0B9E105BD260C9A041FEFEA9579E46-lucene-highlighter-3.6.2.jar maven.indexer/external/lucene-highlighter-3.6.2.jar || die
+	ln -s "${DISTDIR}"/BF206C4AA93C74A739FBAF1F1C78E3AD5F167245-maven-dependency-tree-2.0.jar maven.embedder/external/maven-dependency-tree-2.0.jar || die
+	ln -s "${DISTDIR}"/E5579EF3B0C1EF2F43562DD0C3B32F8E1F603B49-nb-javac-api.jar libs.javacapi/external/nb-javac-api.jar || die
+	ln -s "${DISTDIR}"/38F9F426B1CE20EDC709424F51EDA1C87F13F420-nb-javac-impl.jar libs.javacimpl/external/nb-javac-impl.jar || die
+	ln -s "${DISTDIR}"/29AF1D338CBB76290D1A96F5A6610F1E8C319AE5-org.eclipse.persistence.jpa.jpql_2.5.2.v20140319-9ad6abd.jar j2ee.eclipselink/external/org.eclipse.persistence.jpa.jpql_2.5.2.v20140319-9ad6abd.jar || die
+	ln -s "${DISTDIR}"/3CE04BDB48FE315736B1DCE407362C57DFAE286D-org.eclipse.persistence.jpa.modelgen_2.5.2.v20140319-9ad6abd.jar j2ee.eclipselinkmodelgen/external/org.eclipse.persistence.jpa.modelgen_2.5.2.v20140319-9ad6abd.jar || die
+	ln -s "${DISTDIR}"/7666B94C1004AFFFE88E5328BD70EBA6F60125F4-spring-framework-3.2.7.RELEASE.zip libs.springframework/external/spring-framework-3.2.7.RELEASE.zip || die
+	ln -s "${DISTDIR}"/91B55CDAC59BC4DDDF0AF9A54EAAE4304EDEF266-spring-framework-4.0.1.RELEASE.zip libs.springframework/external/spring-framework-4.0.1.RELEASE.zip || die
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+	java-pkg_jar-from --into libs.cglib/external cglib-2.2 cglib.jar cglib-2.2.jar
+	java-pkg_jar-from --build-only --into libs.json_simple/external json-simple json-simple.jar json-simple-1.1.1.jar
+	java-pkg_jar-from --build-only --into libs.junit4/external junit-4 junit.jar junit-4.10.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
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+	cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.platform.built
+
+	ln -s /usr/share/netbeans-extide-${SLOT} extide || die
+	cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.extide.built
+
+	ln -s /usr/share/netbeans-harness-${SLOT} harness || die
+	cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.harness.built
+
+	ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+	cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.ide.built
+
+	ln -s /usr/share/netbeans-websvccommon-${SLOT} websvccommon || die
+	cat /usr/share/netbeans-websvccommon-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.websvccommon.built
+
+	popd >/dev/null || die
+
+	java-pkg-2_src_prepare
+}
+
+src_install() {
+	pushd nbbuild/netbeans/java >/dev/null || die
+
+	insinto ${INSTALL_DIR}
+	grep -E "/java$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+	chmod 755 "${D}"/${INSTALL_DIR}/maven/bin/mvn* || die
+	rm -fr "${D}"/${INSTALL_DIR}/maven/bin/*.bat || die
+
+	popd >/dev/null || die
+
+	local instdir=/${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 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
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext/hibernate4
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm antlr-2.7.7.jar && dosym /usr/share/antlr/lib/antlr.jar ${instdir}/antlr-2.7.7.jar || die
+	rm c3p0-0.9.2.1.jar && dosym /usr/share/c3p0/lib/c3p0.jar ${instdir}/c3p0-0.9.2.1.jar || die
+	rm cglib-2.2.jar && dosym /usr/share/cglib-2.1/lib/cglib.jar ${instdir}/cglib-2.2.jar || die
+	rm commons-collections-3.2.1.jar && dosym /usr/share/commons-collections/lib/commons-collections.jar ${instdir}/commons-collections-3.2.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 javassist-3.18.1-GA.jar && dosym /usr/share/javassist-3/lib/javassist.jar ${instdir}/javassist-3.18.1-GA.jar || die
+	rm jboss-logging-3.1.3.GA.jar && dosym /usr/share/jboss-logging/lib/jboss-logging.jar ${instdir}/jboss-logging-3.1.3.GA.jar || die
+	rm jboss-transaction-api_1.2_spec-1.0.0.Final.jar && dosym /usr/share/glassfish-transaction-api/lib/jta.jar ${instdir}/jboss-transaction-api_1.2_spec-1.0.0.Final.jar || die
+	rm jtidy-r8-20060801.jar && dosym /usr/share/jtidy/lib/Tidy.jar ${instdir}/jtidy-r8-20060801.jar || die
+	rm log4j-1.2.12.jar && dosym /usr/share/log4j/lib/log4j.jar ${instdir}/log4j-1.2.12.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
+	rm mimepull.jar && dosym /usr/share/mimepull/lib/mimepull.jar ${instdir}/mimepull.jar || die
+	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
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext/jaxws22/api
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm jsr181-api.jar && dosym /usr/share/jsr181/lib/jsr181.jar ${instdir}/jsr181-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
+	rm jdom-1.0.jar && dosym /usr/share/jdom-1.0/lib/jdom.jar ${instdir}/jdom-1.0.jar || die
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/java
+}

diff --git a/dev-java/netbeans-javacard/ChangeLog b/dev-java/netbeans-javacard/ChangeLog
index 973358b..5255d4f 100644
--- a/dev-java/netbeans-javacard/ChangeLog
+++ b/dev-java/netbeans-javacard/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-javacard-9999_p20150122 (22 Jan 2015)
+
+  22 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-javacard-9999_p20150122.ebuild:
+  bumped to the latest sources
+
 *netbeans-javacard-9999_p20150121 (21 Jan 2015)
 
   21 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-javacard/Manifest b/dev-java/netbeans-javacard/Manifest
index b78580a..65877a3 100644
--- a/dev-java/netbeans-javacard/Manifest
+++ b/dev-java/netbeans-javacard/Manifest
@@ -43,6 +43,7 @@ DIST netbeans-trunk-nightly-201501180001-src.zip 201391445 SHA256 b1bf4373e5b799
 DIST netbeans-trunk-nightly-201501190001-src.zip 201391445 SHA256 ce4ec7706f80732c5c6d5764fb4cb0f2f82341d668e2680ed4d12c382e8541de SHA512 232c8beecd613bafca37af997c3aae0f35caa28a3a3f381553bc3264916f606540bcb5186c8a2a52ca21ce177ed413d6907865b4b42b80c102e7c636df736628 WHIRLPOOL 2176f82b120a7f9360f3b01cb970a8fcc5078e97da90ae0e870b37a53998beca6306b5f58bf9af3a15dc403f1dbb888457a56b0657a2f972b8e01ebe1b725abe
 DIST netbeans-trunk-nightly-201501200001-src.zip 201396862 SHA256 1a9378d8f52c4f617653d096aff287cf62212af8a6f878fe54cc468e4dd4bed7 SHA512 92fd39cda2d11816b9a01e0e5c26b3f527354a69efdc940cb27d5b17ee6493a07225d2698260db2bdc220e01d166ac42b5fb62f809d1e2eb84419c6e6abb3e14 WHIRLPOOL c3ba7155b5d376041d750c42f1ff8f8dec5bdbfedb470dea483a665978ef3982f087cb7a521f7892c264bb38d0876e4e7a08346ae4579338ba698ae7ee4ba456
 DIST netbeans-trunk-nightly-201501210001-src.zip 201405381 SHA256 95369f4a232531feb195f2d41c14b7ec9791bbd86282fc8155bb1828affe6afa SHA512 4e710bc5905ea83167152e3252a4309d6a4f6fe8f0ccd8f50bd6389635cb2c4fa1cda60c9c9df8d70149ef84bba66527a8c94b1822710421aa704d374a0132b5 WHIRLPOOL c6780c694d1acabd53ca2b23ac660d587b02f63f3f8b5a98c7e293af4e099dfc46dcd5dcd939d7133edb5885388150fd28723b6325678519a80f2cd0ea673ac8
+DIST netbeans-trunk-nightly-201501220002-src.zip 201432275 SHA256 1969c39ce22136b5ff98f7959bf96088b7caaf9ea46df54ff0ed01ca857de8df SHA512 dae7c345289746e85ea6bf99a6352fcb53ec02c8828bf447a686aed0cea577de11e75e89451abf76a1dee3b1d91aaa204dbbe3057ca40c58759f16a4d768b7a9 WHIRLPOOL 39163c8ccac8111c9ab2a0787a2bd137a680bd16eccf4a7e526cfe34c74df0efa957b320df52b92fe9f1dbd134e7e2b2e1479c237b78e7a060c3893aac8838f9
 EBUILD netbeans-javacard-7.0.1.ebuild 4961 SHA256 566bc7e3275c97d0fe3d68c843b53aee641548ec39a8143aebd56d248da3c32c SHA512 5973c8d4254943473209b0881c0fbe40ac6b61563d508e58adc248dd40c8c2d6b742bd6c1667ee11fb404f9d2e62f08a8e4d822a2a3db9fccab254f73828c3b0 WHIRLPOOL fd1e08943ce754a2abfe8c8b83954399287500ce574a46fe0d76f94b300fd2a5978957f94a3ac1d85781330248a46fefacfbae25db95669c3de910145ef96424
 EBUILD netbeans-javacard-7.1.2.ebuild 4970 SHA256 15ff13152b140edaa549ea6515949d99cdb2a4656918566179836ab2277f01b8 SHA512 b7e52b477f6ba645084034eb27e848fb48361351937fc45455bf4b7d74acbdd257427ec589286f0edc71cc98c8cdb114e55988b6d3dc92143e13f407e3b45a52 WHIRLPOOL 85ab6dc2c230ea89fd19d7602ac24e3d2b0f226590998e6a6e277c24ef60a7e86874f7e95e90921d255e84f05e04ad1998ee7361b4d26c6f14828076792a933c
 EBUILD netbeans-javacard-7.2.ebuild 4718 SHA256 d173c848e825b342a52073ba16b7784016f92124d4bc3b5ad8beebb7a7dda772 SHA512 019183c236c59ec2b961445c49643c6da0b376048f1be1d58677a753890bcb03db126f6441221c7572a74fe45c4c27aeee4acb38db620f9203ad04ae8ff2c426 WHIRLPOOL f2a10183045edd22ef4419b630cedafc093b326eb593178a0f50e8d82ebb25ab732fb8c561d49969073d9fce551c5b9150fb1900b49458ed53f0234baa29a78e
@@ -77,5 +78,6 @@ EBUILD netbeans-javacard-9999_p20150118.ebuild 4982 SHA256 c95b66b489d8c45a5a26d
 EBUILD netbeans-javacard-9999_p20150119.ebuild 4982 SHA256 ecc54fac44a7b853c48d2d0b8c3cd0a9afe860c66cf1b93380ab096197137ff6 SHA512 807fbd475c4e51e6cf9909ce784c89cf747d62d7513b35e4aa1aca1584a8017ea1bc79deba6f633b9fc0c6ed2837695c0d8b1af7370383a324309ea617330d36 WHIRLPOOL cf1512c6d3a90956beef7bc8c5ac148c37451f0906a028b3bf5cedd0c9517a0628b4f4d3373c7937d2961f1b4a227ddbce7b878b56547b967e5c14033e40901c
 EBUILD netbeans-javacard-9999_p20150120.ebuild 4982 SHA256 067b3d60cc3fe809568b6bf77ffe1a8b86cf2eed9aa6121561dbaa78d2c5b96a SHA512 d4eedd7c3b68bf50a4fd02aa39bcb086b76f075f178851fadce4df85ede87e216e68ffbd55c08c481ae20bf19ec4a05501572671d7bb7dbb65bb96ade220f09e WHIRLPOOL 1120dbbf4d66ee8b9ce78a79cca2b89c69f7ac4a044297ce938a67df803db71b192b4677e3daa6c59ecff898f0a19c65dcfa309199999174818ed44d84423253
 EBUILD netbeans-javacard-9999_p20150121.ebuild 4982 SHA256 7378d9e476d00150cd9d59cf8a6707fe305fb1119796b594a4152f537f2819ae SHA512 7f87991f6029d6476f40d964f6f23a294bec98a81e374b406dee654b0872957079377ae1c5b7ed9a465c85fc41ca2ae9005f95460d0918100a7c6fddcfee85ed WHIRLPOOL d3df1c85f70e1df5ef6e3d7876b45e507ad3135185ddb3efb8b47821331507c761883ffeb3ebfb0c8e02bb4c984164a4d562b91cd534ef1052254a84af598ae4
-MISC ChangeLog 151114 SHA256 6382eba357115d0d326ba49707ee9a574269cff9898b28181197731b0dee55b3 SHA512 5b3038ddf13856112a5f6905c467769a2f5ef1a2d9dc2007552f59f5289e541d4301db676c166405a81c996125129bbaea584feb2d1d837eb62644951ed8092e WHIRLPOOL e2dba3253f67801e40cf83e8838fc0fea5fa555a9ccab991c7625ebaa862cf8070af03b7bbe5f4a2e333aca1862377b5496efafaf0f0ba231fed341237b0b73f
+EBUILD netbeans-javacard-9999_p20150122.ebuild 4982 SHA256 79ee7a2d79b978de0c0b75f60907dd99bd91b19733116e7737ec3dafea6f588f SHA512 fc4cbeff946658fe44636bef3d9b2a755e0f0cb21796c398c5f7355a1e2941947cee5853cd76b2e80d51e0936242f9eece288aacbbdbb20edb617a8e60c6fb4c WHIRLPOOL 8a75bfe7e24bbbceb80047a6ba9767d4fa2dfdd768a1dce67e852fa7c9cf1e72281b06d259016d62fcd451e0449e03f688e6d7894b63e1778f1f97fafa5a9be6
+MISC ChangeLog 151291 SHA256 a8f31cc08c7083fc719024f495a571d46f1aa887ad7d84af721a5912f5082b9c SHA512 d8896188cbc28eff600cd905257a71746cae79089b34b203bbda61b177f62b5f5d4ea350c8ab88c176ec06e469736d9bebf36e95c6ad41c908c5e3e78a1b47c1 WHIRLPOOL fd775b9e2239d63e4feae9ea83a93974af022cf43ff18ed191bc185c8cdb8a6851e924b1b64524be62bedf72da7d86a42d10e88e82f81635ea7e67c245a7f627
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-javacard/netbeans-javacard-9999_p20150122.ebuild b/dev-java/netbeans-javacard/netbeans-javacard-9999_p20150122.ebuild
new file mode 100644
index 0000000..1d79448
--- /dev/null
+++ b/dev-java/netbeans-javacard/netbeans-javacard-9999_p20150122.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans JavaCard Cluster"
+HOMEPAGE="http://netbeans.org/projects/javacard"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2015-01-22_00-02-29/zip/netbeans-trunk-nightly-201501220002-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-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-extide-${PV}
+	~dev-java/netbeans-ide-${PV}
+	~dev-java/netbeans-java-${PV}
+	~dev-java/netbeans-platform-${PV}"
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.7
+	${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 -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-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-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	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-extide-${SLOT} extide || die
+	cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.extide.built
+
+	ln -s /usr/share/netbeans-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}
+
+	grep -E "/javacard$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+	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
+	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
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/javacard
+}

diff --git a/dev-java/netbeans-javadoc/ChangeLog b/dev-java/netbeans-javadoc/ChangeLog
index 8eb23b9..86a80ce 100644
--- a/dev-java/netbeans-javadoc/ChangeLog
+++ b/dev-java/netbeans-javadoc/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-javadoc-9999_p20150122 (22 Jan 2015)
+
+  22 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-javadoc-9999_p20150122.ebuild:
+  bumped to the latest sources
+
 *netbeans-javadoc-9999_p20150121 (21 Jan 2015)
 
   21 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-javadoc/Manifest b/dev-java/netbeans-javadoc/Manifest
index 95077f8..ef94ac4 100644
--- a/dev-java/netbeans-javadoc/Manifest
+++ b/dev-java/netbeans-javadoc/Manifest
@@ -46,6 +46,7 @@ DIST netbeans-trunk-nightly-201501180001-src.zip 201391445 SHA256 b1bf4373e5b799
 DIST netbeans-trunk-nightly-201501190001-src.zip 201391445 SHA256 ce4ec7706f80732c5c6d5764fb4cb0f2f82341d668e2680ed4d12c382e8541de SHA512 232c8beecd613bafca37af997c3aae0f35caa28a3a3f381553bc3264916f606540bcb5186c8a2a52ca21ce177ed413d6907865b4b42b80c102e7c636df736628 WHIRLPOOL 2176f82b120a7f9360f3b01cb970a8fcc5078e97da90ae0e870b37a53998beca6306b5f58bf9af3a15dc403f1dbb888457a56b0657a2f972b8e01ebe1b725abe
 DIST netbeans-trunk-nightly-201501200001-src.zip 201396862 SHA256 1a9378d8f52c4f617653d096aff287cf62212af8a6f878fe54cc468e4dd4bed7 SHA512 92fd39cda2d11816b9a01e0e5c26b3f527354a69efdc940cb27d5b17ee6493a07225d2698260db2bdc220e01d166ac42b5fb62f809d1e2eb84419c6e6abb3e14 WHIRLPOOL c3ba7155b5d376041d750c42f1ff8f8dec5bdbfedb470dea483a665978ef3982f087cb7a521f7892c264bb38d0876e4e7a08346ae4579338ba698ae7ee4ba456
 DIST netbeans-trunk-nightly-201501210001-src.zip 201405381 SHA256 95369f4a232531feb195f2d41c14b7ec9791bbd86282fc8155bb1828affe6afa SHA512 4e710bc5905ea83167152e3252a4309d6a4f6fe8f0ccd8f50bd6389635cb2c4fa1cda60c9c9df8d70149ef84bba66527a8c94b1822710421aa704d374a0132b5 WHIRLPOOL c6780c694d1acabd53ca2b23ac660d587b02f63f3f8b5a98c7e293af4e099dfc46dcd5dcd939d7133edb5885388150fd28723b6325678519a80f2cd0ea673ac8
+DIST netbeans-trunk-nightly-201501220002-src.zip 201432275 SHA256 1969c39ce22136b5ff98f7959bf96088b7caaf9ea46df54ff0ed01ca857de8df SHA512 dae7c345289746e85ea6bf99a6352fcb53ec02c8828bf447a686aed0cea577de11e75e89451abf76a1dee3b1d91aaa204dbbe3057ca40c58759f16a4d768b7a9 WHIRLPOOL 39163c8ccac8111c9ab2a0787a2bd137a680bd16eccf4a7e526cfe34c74df0efa957b320df52b92fe9f1dbd134e7e2b2e1479c237b78e7a060c3893aac8838f9
 EBUILD netbeans-javadoc-7.0.1.ebuild 5814 SHA256 68531c51838c95012830f5ae09e2386ea3179c2b31bfd5191f67993e3b3dbe2f SHA512 3bfe0ecc46f371d2553b031a5699229fb874dad1e94415635558b7d46b6764c31337d03444753e687b19a7c0976c68cb72007ccc82df7d1e5848a81f241f80c3 WHIRLPOOL 6571f7a73c262b3b67407840523b79eecc14bad9678cff05fb32a2811049158400870de51bbcef97ecb3f18f8ff59f965bdca8e788918d53822b92e2f20f75f5
 EBUILD netbeans-javadoc-7.1.2.ebuild 5855 SHA256 af28efb956ac3b7147e254ca3083dfaab11b84ea42e20677ebdd18aa29ff87e0 SHA512 ee06c552782170b51cfe70d603792b4240aef6064ba0a5074f394701a43285ed1e4030f539622c616be3175dab013e791c1a3a1193ad379193f5fa3e92eefa40 WHIRLPOOL dfcc63d6c9fcf094e2998ce1c08e29b4d4acbefbe9bea6498c2e28f84576f628da50164a1e0ab3ff5528720fe54cae71f2f5e6f84aedca5b639f13053464e6c1
 EBUILD netbeans-javadoc-7.2.ebuild 5805 SHA256 20d01deae745a7e8d84ffe55ca63ad74342bd8528c0dd15a20aac6570a1a83e3 SHA512 3947f1ab3efc236b8faa14736406ee3e537bbdbe377ea1bbd4f1eafa06a36d2863f8700dc7c84e6c8501abdf130a78e87ad6a0f52c5172bf0ab52f288617bc86 WHIRLPOOL 8301cce0679ed5f68a09e2e968ab2ba0955547f438758b042a04744539324fd79d83d853dfb8b48421f6dac616362cf1a9dd2a0e0ff8763dc2e12a470d16b95f
@@ -80,5 +81,6 @@ EBUILD netbeans-javadoc-9999_p20150118.ebuild 6234 SHA256 521289b829609fe6098b51
 EBUILD netbeans-javadoc-9999_p20150119.ebuild 6234 SHA256 40617063c7a7f13db25570471d7d12a70d6e1ebf6414627b6a9fd3400139cbcc SHA512 577c1e2b2f0f4705ebf7cf375467d4d05e44a126a1876da5814ae790fc34230b5311fc5f8493b18e88f2335f2d19279e96196a50785f6cc31fb5312002c91b3e WHIRLPOOL 0e05e81f0041499f4f080da08bd0a76e6405ef6b8ba913e9d8a5d3e3ed30b59b91d70699b5582e6c28c579e3e9a06e81a11b91602bb21a0dec2446974e4f968c
 EBUILD netbeans-javadoc-9999_p20150120.ebuild 6234 SHA256 009a7ca34a96307c78d9c83dce750649810d56d10d093e21b1709064886ac8d5 SHA512 f1b2f4ceef3880c9f79936db788a8422306d0f00c5f2c7a809cb1ed0403798b1948197ad6fb19f97a75f7f67cc5840b3cd3c1e4d7fa414f5ad58bb6af1248d32 WHIRLPOOL 3c1bfbf9cbfd4273bd5f029d448027aa04b6696b3ce39c571407b6010367072dc4c2e58f3355ac363b272eb45629d4606cca6fdca6be83cfdb1053b41dd7555e
 EBUILD netbeans-javadoc-9999_p20150121.ebuild 6234 SHA256 2f89082bb4b83fb84bccdeca819cec5a23bdfe467b179edb6e26572b1a6ee2aa SHA512 64b0b5eead7f83d070670a3cf7713cbeb7ee1a3c13e73b0bc641d1e62cbc1ce7949c751147bbfab47bbcf3d07900390a55b71b1da54b16bd354f505282154ac6 WHIRLPOOL c5c40239923f4892adcf691f972a46d465b22e19d7b5d75724ad83a104f3eb198b6c2f2ea297a5a19fdfea824f88c286f8e9551d4787fde72cd0ea4ea8e54fe7
-MISC ChangeLog 149067 SHA256 2ef507802748712572ebe172ba59b71dccb8b43076a414224f1b5233576f22f8 SHA512 680641e95048c0df630987c738a128a5ae30396101bd963934dd0d516b4ceba535ef5c41871c6ee2ce2190c40db1cf81efbad274833ee0061a9c4632139e0454 WHIRLPOOL ddfa83697dc069102404c240a2bcdc81346da787c57ca375f4304f3b5b39c8525d37737a2f5aee91309742d85b4c787324d7c6ddba05080725769a29c6b47d0d
+EBUILD netbeans-javadoc-9999_p20150122.ebuild 6234 SHA256 87f2afa788403c632d8fc21073c2138057cb33d87c59d98a77b3ef36581056ec SHA512 75d563dec1c84e172cb95e4e51d9cf4629c5437dd8aca19a1284f03305790335607c987882d0878dff5c1df0beeebe1da5a27cd931b16fdd583ab977394fa1e0 WHIRLPOOL 8f28c849ca5f08630bc7740248eedbb95d19d80e7117ad82c7675e8c2861100eac64d03c7d474bc7058f6eeafd9e7b844624ff15057645d95a438734c37d0455
+MISC ChangeLog 149242 SHA256 c713cfdb2512432bebd0c4f935dc483af5237f5c2a5e490c5aff8487becc000f SHA512 b1f32b7174541436e5a76bdf088a6b672e6c3c2e577a0be3d29b474e0914f8425d851560a5c53dd162602f262096b3987f7c44685b00cc3bd98350f3fa2589fb WHIRLPOOL 7ff77d8f4ac0e1f7fc78359d6a05f54ce4d4484dbf072478901d5f5b1a01050fc09e93268012da017d6e79a88085cb51930b741e5d7f1cc773d5de1318080d34
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20150122.ebuild b/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20150122.ebuild
new file mode 100644
index 0000000..1449dd4
--- /dev/null
+++ b/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20150122.ebuild
@@ -0,0 +1,168 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans JavaDocs"
+HOMEPAGE="http://netbeans.org/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2015-01-22_00-02-29/zip/netbeans-trunk-nightly-201501220002-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/22CB933E3A1450B092C45785C187837E97523F5C-ant-libs-1.9.4.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+# oracle-jdk-bin is needed because other jdks do not contain jre/lib/ext/jfxrt.jar
+DEPEND="dev-java/oracle-jdk-bin:1.7
+	app-arch/unzip
+	dev-java/javahelp:0
+	dev-java/junit:4
+	~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-extide-${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"
+JAVA_PKG_WANT_BUILD_VM="oracle-jdk-bin-1.7"
+JAVA_PKG_WANT_SOURCE="1.7"
+JAVA_PKG_WANT_TARGET="1.7"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/22CB933E3A1450B092C45785C187837E97523F5C-ant-libs-1.9.4.zip o.apache.tools.ant.module/external/ant-libs-1.9.4.zip || die
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	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.junit4/external junit-4 junit.jar junit-4.10.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-extide-${SLOT} extide || die
+	cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.extide.built
+
+	ln -s /usr/share/netbeans-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}/nb/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-javafx/ChangeLog b/dev-java/netbeans-javafx/ChangeLog
index 72213c8..7695d04 100644
--- a/dev-java/netbeans-javafx/ChangeLog
+++ b/dev-java/netbeans-javafx/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-javafx-9999_p20150122 (22 Jan 2015)
+
+  22 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-javafx-9999_p20150122.ebuild:
+  bumped to the latest sources
+
 *netbeans-javafx-9999_p20150121 (21 Jan 2015)
 
   21 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-javafx/Manifest b/dev-java/netbeans-javafx/Manifest
index f3a3ddb..db06875 100644
--- a/dev-java/netbeans-javafx/Manifest
+++ b/dev-java/netbeans-javafx/Manifest
@@ -45,6 +45,7 @@ DIST netbeans-trunk-nightly-201501180001-src.zip 201391445 SHA256 b1bf4373e5b799
 DIST netbeans-trunk-nightly-201501190001-src.zip 201391445 SHA256 ce4ec7706f80732c5c6d5764fb4cb0f2f82341d668e2680ed4d12c382e8541de SHA512 232c8beecd613bafca37af997c3aae0f35caa28a3a3f381553bc3264916f606540bcb5186c8a2a52ca21ce177ed413d6907865b4b42b80c102e7c636df736628 WHIRLPOOL 2176f82b120a7f9360f3b01cb970a8fcc5078e97da90ae0e870b37a53998beca6306b5f58bf9af3a15dc403f1dbb888457a56b0657a2f972b8e01ebe1b725abe
 DIST netbeans-trunk-nightly-201501200001-src.zip 201396862 SHA256 1a9378d8f52c4f617653d096aff287cf62212af8a6f878fe54cc468e4dd4bed7 SHA512 92fd39cda2d11816b9a01e0e5c26b3f527354a69efdc940cb27d5b17ee6493a07225d2698260db2bdc220e01d166ac42b5fb62f809d1e2eb84419c6e6abb3e14 WHIRLPOOL c3ba7155b5d376041d750c42f1ff8f8dec5bdbfedb470dea483a665978ef3982f087cb7a521f7892c264bb38d0876e4e7a08346ae4579338ba698ae7ee4ba456
 DIST netbeans-trunk-nightly-201501210001-src.zip 201405381 SHA256 95369f4a232531feb195f2d41c14b7ec9791bbd86282fc8155bb1828affe6afa SHA512 4e710bc5905ea83167152e3252a4309d6a4f6fe8f0ccd8f50bd6389635cb2c4fa1cda60c9c9df8d70149ef84bba66527a8c94b1822710421aa704d374a0132b5 WHIRLPOOL c6780c694d1acabd53ca2b23ac660d587b02f63f3f8b5a98c7e293af4e099dfc46dcd5dcd939d7133edb5885388150fd28723b6325678519a80f2cd0ea673ac8
+DIST netbeans-trunk-nightly-201501220002-src.zip 201432275 SHA256 1969c39ce22136b5ff98f7959bf96088b7caaf9ea46df54ff0ed01ca857de8df SHA512 dae7c345289746e85ea6bf99a6352fcb53ec02c8828bf447a686aed0cea577de11e75e89451abf76a1dee3b1d91aaa204dbbe3057ca40c58759f16a4d768b7a9 WHIRLPOOL 39163c8ccac8111c9ab2a0787a2bd137a680bd16eccf4a7e526cfe34c74df0efa957b320df52b92fe9f1dbd134e7e2b2e1479c237b78e7a060c3893aac8838f9
 EBUILD netbeans-javafx-7.1.2.ebuild 3593 SHA256 76a29b37765000745794e6ae20c6b8528d8637507a257ffef3bef2ce648f05cc SHA512 a04618bda036e6652c7208f90a4dd91e07e75b85243580263f6ec846425ab907a87c318117990d4e8d9044bcd7a0ca8b63bc32bdd0d84e5373a10e67a77b79c0 WHIRLPOOL 11acad585f7315ae6b4edd53c764167567a948cb0e2037d95f2f4de34765909b71d095540c054f4cef3ba70224d294b42720536566e445cbdd06ebf2ad903841
 EBUILD netbeans-javafx-7.2.ebuild 3576 SHA256 3441b901a5074013351bc6c7ba6c424455e2affe52e448f2cfac0058c82345e2 SHA512 ee384d6e4ac767ade82b5d337d7a1c5d2b463c15a7596d91e1a850b37349f88d7867a0ffa11a118c48e2ed463f38dcfa791ec42b3fe85ea1e6bf7c4b27f9b073 WHIRLPOOL 15c7d20f2caa39c6cfcba2f846736754b049483f135ac90ced399672932a6a73467f0b4016550c3b2d8583be20d1467486f5652111893ec16111095a3e9c941c
 EBUILD netbeans-javafx-7.3.ebuild 4476 SHA256 9f268a852d45f37f9d22c3bb58d36be17f438e4b4cb5105d88ac4404731facb3 SHA512 3fa0e48e949d0df0a4404c04379623529f73ff15259f4164fddd10afb9faa046ceed16aac1a7b14728af89bf3a4ed7037638fb7e7e932a64cc71e84f7ecaa44a WHIRLPOOL 0395ca679fa41610c61dceb6ac018d7a76b62c08ca740de2fa2d98523f8e5f840a2d0a8c357b674d171841f93d980b536a671a1f12b5261d402c03b691ac6504
@@ -78,5 +79,6 @@ EBUILD netbeans-javafx-9999_p20150118.ebuild 4723 SHA256 2efdf04bd6892ec153f459e
 EBUILD netbeans-javafx-9999_p20150119.ebuild 4723 SHA256 0b3275a0b4924eb68e19e8efcfdcbb13bf2d748ab9db2d006ef02e155a39d725 SHA512 3836a7185a537c3e5143de031fc1ecb0f3e3f312e485c2b209e7533c3ba909db50cb0d4cb0ff58a029761f2c2e6953d7f4b9b705b004dc2cd2ad7625060d69a4 WHIRLPOOL 60b88361fdb8596d9c152b61c7be7ab89dd1da59a3f20b70b29fb9e78f421be0d931c56e25e2213f2fc80623e59544ea2385d58a6f033d8d039e1f306b313625
 EBUILD netbeans-javafx-9999_p20150120.ebuild 4723 SHA256 9b12fe42fa5a2c05cfc2dbfeac85b493538584b49e9318e1e4d0bb5fe71ffbf3 SHA512 fc73b0fc4dade61e2bde4c8164ef42e2bc0b1e36d5985e6b2f0a6c58a6ba2229411d26e7772a05801eccf3c5e7506f9f166b7e13a2761335beba4a21a381c0f5 WHIRLPOOL 41100bda521a11267f2aa51e95ac97e4c905c790153c904b7db85cb1abb52ba054d297f94112cd0e46276c74cd5a8bde4c5de99bba9f8c5b482e6ff0902adec6
 EBUILD netbeans-javafx-9999_p20150121.ebuild 4723 SHA256 45c88d9c7fe3bc3497e87af7b928351df50d66a4e9c319c7f95dc1a2671c48f6 SHA512 6cbbe2bec75956c408e615a5510efb66c9e22c7d1bae41e9b1d5e74052915b3e480a046365106e86f0195e7ceeaac7c9c9b43125b4b2b7105d1f05b30d9900c0 WHIRLPOOL c5a3565514949ba0720f9330f31a0efeba030c2c8b470093fd5afc1c4f63865802ac0db098e9be8808328b67eddeb9cebbe85fbec8bb5cd153ea3b1f5f28a717
-MISC ChangeLog 133887 SHA256 ca915845a6d65c3fcb1593cd3c373e56b88cbad463ce7b2988f4eb2b00d7ea15 SHA512 46b7dfa46a0ad148005ccac7e59356dd059cc7ba462247f5033c8eb2fa5115d50cd90a2689b39ee8c66c45d81ff78148bfa953b0b8582e24a2d35defc694f5f2 WHIRLPOOL fdb2b8b16d03c3b1a46b261ace2b6c7d17476be3ff285d918f9bb42345beda37e9d9a8c652b3caf9c2c11723d07827490467d5296c9fe1c4ea1bb93e5098d351
+EBUILD netbeans-javafx-9999_p20150122.ebuild 4723 SHA256 425378abfebce0514b5737cc0093fd0f9ed3e0442b8e3f15bdfd112b0f191468 SHA512 a34fa87ede2eaa54e340f168ae73e169c74141c2843f04b19dbb4467064502b56ef27a002de058b6e91e2fb25267d9aaeed7eac62c8a78b78d0356de3ac4570c WHIRLPOOL ce9a1e5487bdc4e43e67234b12add377bc5f821bcceabb5b60ae9fdd58359cb9ab52be8d8fc2e3be7922a43885221eb6256e8343e17d72aadb6ec7a5c741e060
+MISC ChangeLog 134060 SHA256 ebd371955df5dca2e8ef126f8da4aca6c7258820512756d919863d87371afa35 SHA512 f812dbf5ab87d440109e7d6e9c1fd1ceab6455f79e75c0aacaedf50660796325dc55b12259317b2dd862669f0defe0979cff4b7a26ec9414e441b9d342b749f7 WHIRLPOOL a9fe83e30b3973ce2280d64e007fb4b578173acc6736fc5f832d3ed36f4319192c1bef7839f4a82edf35d256285caafd8b233cd7ede578ebd89581cc70ae3413
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-javafx/netbeans-javafx-9999_p20150122.ebuild b/dev-java/netbeans-javafx/netbeans-javafx-9999_p20150122.ebuild
new file mode 100644
index 0000000..844b9db
--- /dev/null
+++ b/dev-java/netbeans-javafx/netbeans-javafx-9999_p20150122.ebuild
@@ -0,0 +1,124 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans JavaFX Cluster"
+HOMEPAGE="http://netbeans.org/projects/javafx"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2015-01-22_00-02-29/zip/netbeans-trunk-nightly-201501220002-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/A806D99716C5E9441BFD8B401176FDDEFC673022-bindex-2.2.jar
+	http://hg.netbeans.org/binaries/D325D3913CBC0F9A8D73A466FABB98EDEEC014AB-jemmy-2.3.1.1.jar
+	http://hg.netbeans.org/binaries/D06C8980C9025183C044202419EA29E69FBD4B99-jemmy-2.3.1.1-doc.zip
+	http://hg.netbeans.org/binaries/49197106637CCA8C337AF16CC01BB5D9DEC7E179-jemmy-2.3.1.1-src.zip
+	http://hg.netbeans.org/binaries/20D826CC819A5A969CF3F7204E2E26CB6263EC43-jnlp-servlet.jar
+	http://hg.netbeans.org/binaries/0F7FC8D69950B86D5F67529B5C551DB84C5BCF87-nb-javac-api.jar"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-extide-${PV}
+	~dev-java/netbeans-ide-${PV}
+	~dev-java/netbeans-java-${PV}
+	~dev-java/netbeans-platform-${PV}"
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0
+	dev-java/junit:4"
+RDEPEND=">=virtual/jdk-1.7
+	${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.javafx -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-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}"/20D826CC819A5A969CF3F7204E2E26CB6263EC43-jnlp-servlet.jar apisupport.harness/external/jnlp-servlet.jar || die
+	ln -s "${DISTDIR}"/D325D3913CBC0F9A8D73A466FABB98EDEEC014AB-jemmy-2.3.1.1.jar jemmy/external/jemmy-2.3.1.1.jar || die
+	ln -s "${DISTDIR}"/D06C8980C9025183C044202419EA29E69FBD4B99-jemmy-2.3.1.1-doc.zip jemmy/external/jemmy-2.3.1.1-doc.zip || die
+	ln -s "${DISTDIR}"/49197106637CCA8C337AF16CC01BB5D9DEC7E179-jemmy-2.3.1.1-src.zip jemmy/external/jemmy-2.3.1.1-src.zip || die
+	ln -s "${DISTDIR}"/0F7FC8D69950B86D5F67529B5C551DB84C5BCF87-nb-javac-api.jar libs.javacapi/external/nb-javac-api.jar || die
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --build-only --into apisupport.harness/external javahelp jsearch.jar jsearch-2.0_05.jar
+	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.junit4/external junit-4 junit.jar junit-4.10.jar
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-extide-${SLOT} extide || die
+	cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.extide.built
+
+	ln -s /usr/share/netbeans-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/javafx >/dev/null || die
+
+	insinto ${INSTALL_DIR}
+
+	grep -E "/javafx$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/javafx
+}

diff --git a/dev-java/netbeans-mobility/ChangeLog b/dev-java/netbeans-mobility/ChangeLog
index d5ae3f8..f74cd34 100644
--- a/dev-java/netbeans-mobility/ChangeLog
+++ b/dev-java/netbeans-mobility/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-mobility-9999_p20150122 (22 Jan 2015)
+
+  22 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-mobility-9999_p20150122.ebuild:
+  bumped to the latest sources
+
 *netbeans-mobility-9999_p20150121 (21 Jan 2015)
 
   21 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-mobility/Manifest b/dev-java/netbeans-mobility/Manifest
index 44857ae..86f076a 100644
--- a/dev-java/netbeans-mobility/Manifest
+++ b/dev-java/netbeans-mobility/Manifest
@@ -49,6 +49,7 @@ DIST netbeans-trunk-nightly-201501180001-src.zip 201391445 SHA256 b1bf4373e5b799
 DIST netbeans-trunk-nightly-201501190001-src.zip 201391445 SHA256 ce4ec7706f80732c5c6d5764fb4cb0f2f82341d668e2680ed4d12c382e8541de SHA512 232c8beecd613bafca37af997c3aae0f35caa28a3a3f381553bc3264916f606540bcb5186c8a2a52ca21ce177ed413d6907865b4b42b80c102e7c636df736628 WHIRLPOOL 2176f82b120a7f9360f3b01cb970a8fcc5078e97da90ae0e870b37a53998beca6306b5f58bf9af3a15dc403f1dbb888457a56b0657a2f972b8e01ebe1b725abe
 DIST netbeans-trunk-nightly-201501200001-src.zip 201396862 SHA256 1a9378d8f52c4f617653d096aff287cf62212af8a6f878fe54cc468e4dd4bed7 SHA512 92fd39cda2d11816b9a01e0e5c26b3f527354a69efdc940cb27d5b17ee6493a07225d2698260db2bdc220e01d166ac42b5fb62f809d1e2eb84419c6e6abb3e14 WHIRLPOOL c3ba7155b5d376041d750c42f1ff8f8dec5bdbfedb470dea483a665978ef3982f087cb7a521f7892c264bb38d0876e4e7a08346ae4579338ba698ae7ee4ba456
 DIST netbeans-trunk-nightly-201501210001-src.zip 201405381 SHA256 95369f4a232531feb195f2d41c14b7ec9791bbd86282fc8155bb1828affe6afa SHA512 4e710bc5905ea83167152e3252a4309d6a4f6fe8f0ccd8f50bd6389635cb2c4fa1cda60c9c9df8d70149ef84bba66527a8c94b1822710421aa704d374a0132b5 WHIRLPOOL c6780c694d1acabd53ca2b23ac660d587b02f63f3f8b5a98c7e293af4e099dfc46dcd5dcd939d7133edb5885388150fd28723b6325678519a80f2cd0ea673ac8
+DIST netbeans-trunk-nightly-201501220002-src.zip 201432275 SHA256 1969c39ce22136b5ff98f7959bf96088b7caaf9ea46df54ff0ed01ca857de8df SHA512 dae7c345289746e85ea6bf99a6352fcb53ec02c8828bf447a686aed0cea577de11e75e89451abf76a1dee3b1d91aaa204dbbe3057ca40c58759f16a4d768b7a9 WHIRLPOOL 39163c8ccac8111c9ab2a0787a2bd137a680bd16eccf4a7e526cfe34c74df0efa957b320df52b92fe9f1dbd134e7e2b2e1479c237b78e7a060c3893aac8838f9
 EBUILD netbeans-mobility-7.0.1.ebuild 8655 SHA256 992e214ff2926e2f0db623d96b717bf8f8e4ceb47e96e69b3c6b8f67d6a8d130 SHA512 d51bc003f4b637cfe71c9f49a96427e535596542ac195a9621bc4f92c04a6f720a87fac6eb267732f869ba105f263d9d36f848b54a89c734b6a68a78ed323808 WHIRLPOOL 515da7153b12c3b5779cfad16e3800b4d26ba4b174027d9a7b06a26754fad065751c7eda137ba6199315d024a322d59e7ea39a1b2f4244ea75b30770ac505791
 EBUILD netbeans-mobility-7.1.2.ebuild 7543 SHA256 bb3f1245ad68133798fa507f06dd1ffbc1d55f6ba38f4cccc29ff0240e5b5f22 SHA512 41f663977a0716c5449db597d5f90054717ff3579a9137a910d1943d3e0b39379c34c0d9aa9c98d231037a042074c8ecf5fc62c018cd7cd5e8680734ff854c51 WHIRLPOOL c3c6feb41ce3df356f617ca80530673ac653cdf50da0aead00518854d0850d6420333529aa6591e15ddd4053249191fcb47100c5f39a804352722e54f802bae4
 EBUILD netbeans-mobility-7.2.ebuild 6571 SHA256 58af97ca9a6adc56fa6abe91777a1ac35a3a9b7d68af1e73c23a45dc5631abb2 SHA512 ac42c3a3daa7d55c9c13d1c99dd6880d5d99741f80cfceb683da27e30c70d6228d9434571f2405d0dbbf27d2203e3f877da6347794b07b98331edd1631d3a69d WHIRLPOOL 5a6af3cbcd08180dcdf708a038f3119faacb9c78532b4bb1945c7260fb0a8232af57745e41a73311fafffe185c969e0c88ac34970caab7708313f53417695374
@@ -83,5 +84,6 @@ EBUILD netbeans-mobility-9999_p20150118.ebuild 4418 SHA256 c3dd3881bfebe3a690152
 EBUILD netbeans-mobility-9999_p20150119.ebuild 4418 SHA256 625352f3e597b36221b0adbc916b8968734a0b8e468e48853eaa85531ffab295 SHA512 80d3f3c0f19627aa593c93945d922d9077fa49d05367a435fa14d4c6ba5d73c5377f305c25e3d3f1608ea4207d50fe474cc46ea6e1f7d686ccb4e7430b98dd54 WHIRLPOOL cf018c85e9ab7df36aab59782562d7984b62a1cc4c0ae5795d3e48756e78bf542abfc9fdfa98c70ea3f054429ca05129f9a7c0d4bb6e138f9d2bd87db691356b
 EBUILD netbeans-mobility-9999_p20150120.ebuild 4418 SHA256 b66c5873d21fd6d8d27606551b2e2b03468962d17109b86abed22c283c71e810 SHA512 6e9c52b42b28f5893f6083ad1892909fc4c74c90ba748f4e3667456af350d79d785958ee6745225a36efa8ded5c5efe2e37b329cf943b165de414639a523311e WHIRLPOOL 1f682d1e7a4a50c45e90d362de05e9c6450d6a7d8406d9afc056cea7e2e0793be431bd0775038f81ddd043d50cd1399f61599415c7a3d54cc9ce0f43211ad75a
 EBUILD netbeans-mobility-9999_p20150121.ebuild 4418 SHA256 9797b56d0c37de8f3a91a9ccd03f726cc3e37b753f002d82f2664baee1ea1d4f SHA512 553d477529a552f585b752ce6ba0eebe6c95dc83d6feb34c0adb40c785c4f17304e78a0bd98657d2e391d880fb1a1bfd925f77ab4c0c6a593ce4c869060e56a3 WHIRLPOOL f2847a9a863b2b0c237454b33596395e28fb2e286064487ce6d824fb733383fdb513502c2aa47a9c9e6fa15a39b3f77a2eed1862a9af99604afbb24c5624ab20
-MISC ChangeLog 151255 SHA256 6472a6434e0497980ab8af69b2460c2dab7778872caa0f50bad594355c378327 SHA512 1d4239dd896f75c9b672c4f60620ac8151d2befc3d664f4b793f36f3c1d1faafa34c5d12a957d257f079183a29e996f9e34aba7e739ddbb3c6fb7d824acbdb9d WHIRLPOOL 5c840eba5af8585ef803bf6ae0b3cb6db14adcfe06df25b852b806cc66d2c8251ae6213e812f0f599a1189d76b6db75f3fe08a970c19db9a858ae8838c5990a5
+EBUILD netbeans-mobility-9999_p20150122.ebuild 4418 SHA256 d2d3917c5cce91f80c85f11b07eb14e14cb9f774e26c0ce4f7293fc5aedbe8d3 SHA512 983e8ece99df63b0c8c805c66b30b39eb5a015ed7b721a49d25c6db6a19462c2a00e8ccd20d25f4d599fa5c8c7d8993dd69b0f44be75a4c9a908c9e7a340579d WHIRLPOOL bd7184c68b88efd3c3ba5e6afae26d166fd36ae0cd79f831b636990641f339c3351bbf712992c6c550322ad1b8e61c7286e64b54d019ab8c3d5ef3e21555a70b
+MISC ChangeLog 151432 SHA256 3aeef19227edd9f6967e06ddfaeba010a8d6d126bd6cd19afb10418d277e6126 SHA512 c7a062525f09671ea910cc0acc077be35d9ead27e43cff440fad70ae534190f3e91c7e59ba1e71005b38bc107f68aafe49b4f862487c793462a9fb3d8350ef7c WHIRLPOOL 8eda56629747c7bc917f8f72cd44036e055d815342ec712cdba73d2f245a115fe9204692040644b1c9ee0d0e5ed370a79d02935c13ef13ba53c5aaf69856ad17
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-mobility/netbeans-mobility-9999_p20150122.ebuild b/dev-java/netbeans-mobility/netbeans-mobility-9999_p20150122.ebuild
new file mode 100644
index 0000000..6a47936
--- /dev/null
+++ b/dev-java/netbeans-mobility/netbeans-mobility-9999_p20150122.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Mobility Cluster"
+HOMEPAGE="http://netbeans.org/features/platform/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2015-01-22_00-02-29/zip/netbeans-trunk-nightly-201501220002-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2"
+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-extide-${PV}
+	~dev-java/netbeans-ide-${PV}
+	~dev-java/netbeans-java-${PV}
+	~dev-java/netbeans-platform-${PV}
+	~dev-java/netbeans-websvccommon-${PV}"
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.7
+	${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 -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+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-9999-r14-build.xml.patch.bz2
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	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-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-extide-${SLOT} extide || die
+	cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.extide.built
+
+	ln -s /usr/share/netbeans-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}
+
+	grep -E "/mobility$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+	rm -rf "${D}"/${INSTALL_DIR}/modules/lib || die
+
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/mobility
+}

diff --git a/dev-java/netbeans-nb/ChangeLog b/dev-java/netbeans-nb/ChangeLog
index 903d3ca..a2d40be 100644
--- a/dev-java/netbeans-nb/ChangeLog
+++ b/dev-java/netbeans-nb/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-nb-9999_p20150122 (22 Jan 2015)
+
+  22 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-nb-9999_p20150122.ebuild:
+  bumped to the latest sources
+
 *netbeans-nb-9999_p20150121 (21 Jan 2015)
 
   21 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-nb/Manifest b/dev-java/netbeans-nb/Manifest
index d09754c..fa90301 100644
--- a/dev-java/netbeans-nb/Manifest
+++ b/dev-java/netbeans-nb/Manifest
@@ -48,6 +48,7 @@ DIST netbeans-trunk-nightly-201501180001-src.zip 201391445 SHA256 b1bf4373e5b799
 DIST netbeans-trunk-nightly-201501190001-src.zip 201391445 SHA256 ce4ec7706f80732c5c6d5764fb4cb0f2f82341d668e2680ed4d12c382e8541de SHA512 232c8beecd613bafca37af997c3aae0f35caa28a3a3f381553bc3264916f606540bcb5186c8a2a52ca21ce177ed413d6907865b4b42b80c102e7c636df736628 WHIRLPOOL 2176f82b120a7f9360f3b01cb970a8fcc5078e97da90ae0e870b37a53998beca6306b5f58bf9af3a15dc403f1dbb888457a56b0657a2f972b8e01ebe1b725abe
 DIST netbeans-trunk-nightly-201501200001-src.zip 201396862 SHA256 1a9378d8f52c4f617653d096aff287cf62212af8a6f878fe54cc468e4dd4bed7 SHA512 92fd39cda2d11816b9a01e0e5c26b3f527354a69efdc940cb27d5b17ee6493a07225d2698260db2bdc220e01d166ac42b5fb62f809d1e2eb84419c6e6abb3e14 WHIRLPOOL c3ba7155b5d376041d750c42f1ff8f8dec5bdbfedb470dea483a665978ef3982f087cb7a521f7892c264bb38d0876e4e7a08346ae4579338ba698ae7ee4ba456
 DIST netbeans-trunk-nightly-201501210001-src.zip 201405381 SHA256 95369f4a232531feb195f2d41c14b7ec9791bbd86282fc8155bb1828affe6afa SHA512 4e710bc5905ea83167152e3252a4309d6a4f6fe8f0ccd8f50bd6389635cb2c4fa1cda60c9c9df8d70149ef84bba66527a8c94b1822710421aa704d374a0132b5 WHIRLPOOL c6780c694d1acabd53ca2b23ac660d587b02f63f3f8b5a98c7e293af4e099dfc46dcd5dcd939d7133edb5885388150fd28723b6325678519a80f2cd0ea673ac8
+DIST netbeans-trunk-nightly-201501220002-src.zip 201432275 SHA256 1969c39ce22136b5ff98f7959bf96088b7caaf9ea46df54ff0ed01ca857de8df SHA512 dae7c345289746e85ea6bf99a6352fcb53ec02c8828bf447a686aed0cea577de11e75e89451abf76a1dee3b1d91aaa204dbbe3057ca40c58759f16a4d768b7a9 WHIRLPOOL 39163c8ccac8111c9ab2a0787a2bd137a680bd16eccf4a7e526cfe34c74df0efa957b320df52b92fe9f1dbd134e7e2b2e1479c237b78e7a060c3893aac8838f9
 EBUILD netbeans-nb-7.0.1.ebuild 5116 SHA256 17ac4a9aa7931d052a899ad8649bed42d5c37a06d913e0dc8ded118d7ef01c47 SHA512 932964fcc4d8d614a2ad8531eecd9298b89f06ac97db68e140e77bceb5d9c08c35524ae4766c18f5467bb01391a9c9f29cd4c5e45c29664b91340a33b0804d7e WHIRLPOOL 0e935fc1c63b61a97e60941111cd30fe4f7b740743013074f7722f3556473ccdba8bcd70ac6f544c67e2a60dd2d7c96abc9bf6bfc51aa6e9ff3135d041ebf3a1
 EBUILD netbeans-nb-7.1.2.ebuild 4987 SHA256 075ef11ab57b236061e4df3e905524ecfba2966c5d735d113b878a03219a9cc1 SHA512 321182e1780acfdbff56c1c84748897cf8c4dcf9fc94d0a6db71a018968e8f96e479a2dbb2f97655d50ee836ac1a81fdd62f6f04ba1b2d54157158e577c2b986 WHIRLPOOL 3d3742c6e90f0231ecabf5200446d00900204f51b9fb2be92954668dae86584d8ef477be11cad462a9721a04a1bc97673b8d8d808ef49f0345d979022471d919
 EBUILD netbeans-nb-7.2.ebuild 4970 SHA256 79d73ca57dd63e25afccd44816dd248e79f6974dd7e9ebbf4b3b11eb659092d9 SHA512 083317f6944c5fe38507fbca18804888e25c23070420a3080bb68bf00be95e520541c381482a6c55ff60656b36f8dd3fac60f2c605e4e3ee0ae92427faa468da WHIRLPOOL 7f02ab258612c5035b26326f25aaa08bf60fc0ff3108a2bf61dbcde9fe845e647f91319938206742a5f131fe905678833f3ad2449f68efef7e6ed4203f7538f3
@@ -82,5 +83,6 @@ EBUILD netbeans-nb-9999_p20150118.ebuild 5013 SHA256 8f83adc6636fb2ce02f54e7c6e6
 EBUILD netbeans-nb-9999_p20150119.ebuild 5013 SHA256 b9008bbdb6f1c0131b1372cae804b2cc07774b3c89905883c58238d3b1f45595 SHA512 de9e39a10c058a8cd89f628cc37bd04079d24b6f0845864461ac30c2fabad74cfe90e43a49e2f50723e0c02ec0366baa584b3a136925fc5238210f656c92fb81 WHIRLPOOL dbe8f401dbb7ba9522dd62c0186b3ff86024b927621300f8d117d1c2c4b2abe10993b255ba21fbba74ca2b6ff5e81c36a3e8701cb0e0da657f0deae5434f11e9
 EBUILD netbeans-nb-9999_p20150120.ebuild 5013 SHA256 1981eb380d880576444bb00c7547670c2df74e1d5a7fbd9a48a300ef99572e30 SHA512 bd6891d40f3c5b328d017d5671d0e5a97c4b9e085b502145c9f6833b1a7cc461b790a4a296270db6a3458cf0f73ff95dea3dc56cab238192e05a5ee09de3a761 WHIRLPOOL 62de3cc3328d8611cdc9f6b7d1516184f318b69f64fd880ceea4cba01d222de2da7bbe06fb137390e498b094fcf6c237370f6335918bb5b7d156b4f7a4713fa1
 EBUILD netbeans-nb-9999_p20150121.ebuild 5013 SHA256 e7182890b33feb0285a6a401f65dfa65a2ee4c7ffe939cbad8dc91e8b0afc722 SHA512 6c262d5e25512bd1aff4341bf4565c4e1b6a8a115b4e62fa29bb8297ddde8c58e2addbdbb4be051877e31f505787ad78a8338211f324164d7a88fe3a7404334f WHIRLPOOL ddfa023af0ac7aff9894ab5b1fce882544f09832994a7dda01948271ae892a6f8a36b3a75848c5221f2e3ceac1bae63f3b3e88c4803cdf9dfafda998682c3f12
-MISC ChangeLog 140258 SHA256 acf6d5620af0e1dca50aa669a21c9a4da6f178404c78430ee7025d2eb1d5a52d SHA512 abe4dbee6770d5322ad39dd52e3c9b0776f46decfb96726b364e79d35b1f044eebb309b104d05441726b147a2a4b256543bc64d430c94b32fa19dcdf374e6c9a WHIRLPOOL 11ce69592b4dae9691f61b36f67e4ebb93412eb85006291a484e996bd4202c5b34b781d1fd8f9b1b28b7804ad7c227849566f22fdad56b9b458bacab47b1c011
+EBUILD netbeans-nb-9999_p20150122.ebuild 5013 SHA256 2866bf3beb5bdc1043d25e7cc44c2aec27d0338052b0f6990a27b433eb57697f SHA512 5eeba7d48d4313430c302c9568453f7993b63e69fa448299a5ca311bcdd4b91097812e0901c944c81a8fb81a7cfa6f6b48dfc8e301b6d57a7198c9a1bc980c59 WHIRLPOOL 1782ead61af7fad59f73dd7cf1d0cd28b1b61743c348febac93174f6173fe7183d2987942d25f87f45f3dad1d5642d9523e9236fa718f63906a1763e307de8be
+MISC ChangeLog 140423 SHA256 c41a70ceff3279ad06b23e50918ba4d906ea41fd5ef35d0c40850ebc34477a5d SHA512 55facf8b132bc6dfdfeed7b51566b45cfa18add6439fe1944458529940c8beeb7aac365d67f02d063d7a30a978330d10305b5a8bdcdeb9604f2e4dae958bed3b WHIRLPOOL da8ef34487ecb594c79c36a95c13146e7d5bb2dee926747095e689b16d192fe090cc8ae00c481956ba97d94591726402743eb29a75290b2acd54f20fbcd3fe1c
 MISC metadata.xml 396 SHA256 5083064ed2246a84e2aedbc326d56cc8bf571fd8e7c24af0e4bc14c50f1ebb49 SHA512 a0b2171264f1ea6ba33b184ef802589d679eaba5c4a1753e149d7cd93c2c31aace934eddf5dffed6be341d9e4061c843c849e464afb7b4417c6c2dff3e9ff1c7 WHIRLPOOL 1be3a1a3c2b64d8818108de191db834395ee4ab3cf7994914c9331d6e42ca9015dd2493b9516db20990cb30b4dea385a3dde08b75df956ca39ad65e3fa721cb7

diff --git a/dev-java/netbeans-nb/netbeans-nb-9999_p20150122.ebuild b/dev-java/netbeans-nb/netbeans-nb-9999_p20150122.ebuild
new file mode 100644
index 0000000..b61c6ab
--- /dev/null
+++ b/dev-java/netbeans-nb/netbeans-nb-9999_p20150122.ebuild
@@ -0,0 +1,148 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans IDE Branding"
+HOMEPAGE="http://netbeans.org/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2015-01-22_00-02-29/zip/netbeans-trunk-nightly-201501220002-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-7.0.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.7
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.7
+	${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 -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+	use keychain && epatch "${FILESDIR}"/${SLOT}/keychain-support.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	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
+
+	grep -E "/nb$" moduleCluster.properties > "${D}"/${INSTALL_DIR}/nb/moduleCluster.properties || die
+
+	insinto ${INSTALL_DIR}
+	doins -r nb
+	dodoc *.txt
+	dohtml *.html *.css
+
+	insinto ${INSTALL_DIR}/bin
+	doins bin/netbeans
+	dosym ${INSTALL_DIR}/bin/netbeans /usr/bin/netbeans-${SLOT}
+	fperms 755 ${INSTALL_DIR}/bin/netbeans
+
+	insinto /etc/netbeans-${SLOT}
+	doins etc/*
+	dosym /etc/netbeans-${SLOT} ${INSTALL_DIR}/etc
+
+	# fix paths per bug# 163483
+	if [[ -e "${D}"/${INSTALL_DIR}/bin/netbeans ]]; then
+		sed -i -e "s:\"\$progdir\"/../etc/:/etc/netbeans-${SLOT}/:" "${D}"/${INSTALL_DIR}/bin/netbeans
+		sed -i -e "s:\"\${userdir}\"/etc/:/etc/netbeans-${SLOT}/:" "${D}"/${INSTALL_DIR}/bin/netbeans
+	fi
+
+	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-7.0.png "${D}"/usr/share/icons/hicolor/128x128/apps/netbeans-${SLOT}.png || die
+	dosym /usr/share/icons/hicolor/128x128/apps/netbeans-${SLOT}.png /usr/share/pixmaps/netbeans-${SLOT}.png
+
+	popd >/dev/null || die
+
+	make_desktop_entry netbeans-${SLOT} "Netbeans ${PV}" netbeans-${SLOT} Development
+
+	mkdir -p  "${D}"/${INSTALL_DIR}/nb/config || die
+	echo "NBGNT" > "${D}"/${INSTALL_DIR}/nb/config/productid || die
+}
+
+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/ChangeLog b/dev-java/netbeans-php/ChangeLog
index 37211c3..2aec56a 100644
--- a/dev-java/netbeans-php/ChangeLog
+++ b/dev-java/netbeans-php/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-php-9999_p20150122 (22 Jan 2015)
+
+  22 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-php-9999_p20150122.ebuild:
+  bumped to the latest sources
+
 *netbeans-php-9999_p20150121 (21 Jan 2015)
 
   21 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-php/Manifest b/dev-java/netbeans-php/Manifest
index efb6404..05c3f26 100644
--- a/dev-java/netbeans-php/Manifest
+++ b/dev-java/netbeans-php/Manifest
@@ -51,6 +51,7 @@ DIST netbeans-trunk-nightly-201501180001-src.zip 201391445 SHA256 b1bf4373e5b799
 DIST netbeans-trunk-nightly-201501190001-src.zip 201391445 SHA256 ce4ec7706f80732c5c6d5764fb4cb0f2f82341d668e2680ed4d12c382e8541de SHA512 232c8beecd613bafca37af997c3aae0f35caa28a3a3f381553bc3264916f606540bcb5186c8a2a52ca21ce177ed413d6907865b4b42b80c102e7c636df736628 WHIRLPOOL 2176f82b120a7f9360f3b01cb970a8fcc5078e97da90ae0e870b37a53998beca6306b5f58bf9af3a15dc403f1dbb888457a56b0657a2f972b8e01ebe1b725abe
 DIST netbeans-trunk-nightly-201501200001-src.zip 201396862 SHA256 1a9378d8f52c4f617653d096aff287cf62212af8a6f878fe54cc468e4dd4bed7 SHA512 92fd39cda2d11816b9a01e0e5c26b3f527354a69efdc940cb27d5b17ee6493a07225d2698260db2bdc220e01d166ac42b5fb62f809d1e2eb84419c6e6abb3e14 WHIRLPOOL c3ba7155b5d376041d750c42f1ff8f8dec5bdbfedb470dea483a665978ef3982f087cb7a521f7892c264bb38d0876e4e7a08346ae4579338ba698ae7ee4ba456
 DIST netbeans-trunk-nightly-201501210001-src.zip 201405381 SHA256 95369f4a232531feb195f2d41c14b7ec9791bbd86282fc8155bb1828affe6afa SHA512 4e710bc5905ea83167152e3252a4309d6a4f6fe8f0ccd8f50bd6389635cb2c4fa1cda60c9c9df8d70149ef84bba66527a8c94b1822710421aa704d374a0132b5 WHIRLPOOL c6780c694d1acabd53ca2b23ac660d587b02f63f3f8b5a98c7e293af4e099dfc46dcd5dcd939d7133edb5885388150fd28723b6325678519a80f2cd0ea673ac8
+DIST netbeans-trunk-nightly-201501220002-src.zip 201432275 SHA256 1969c39ce22136b5ff98f7959bf96088b7caaf9ea46df54ff0ed01ca857de8df SHA512 dae7c345289746e85ea6bf99a6352fcb53ec02c8828bf447a686aed0cea577de11e75e89451abf76a1dee3b1d91aaa204dbbe3057ca40c58759f16a4d768b7a9 WHIRLPOOL 39163c8ccac8111c9ab2a0787a2bd137a680bd16eccf4a7e526cfe34c74df0efa957b320df52b92fe9f1dbd134e7e2b2e1479c237b78e7a060c3893aac8838f9
 EBUILD netbeans-php-7.0.1.ebuild 4151 SHA256 3aee393fe89aa4788ccd17af46f1df43a5681c28af6d580724d8db0f5e804ff0 SHA512 60106805595338b83e17d906c199c54dc4cc5d979f964a41f9938a508e8514670f4e5538eeecd91f8cd06dd2b4376119674f9a7a9f2fac6c1255e14929f2bc19 WHIRLPOOL 1a09962a5bd67a4fd4eed48af3f185146d2de6f506952f626756aabf6a157678fe71e0752ed5988ff414803b83150d9b8b4de956895667e331659bb59f94e09c
 EBUILD netbeans-php-7.1.2.ebuild 3940 SHA256 779f3bceb2b5a49e923fff28c36c653e31e2d11e186fabab1e656c3314b48d28 SHA512 1296c8ccbec945e66588c2a1a490d3ea93a28672e77751e16c3dff1f1aa6e3a00b454345f0b888c684a0d31fe05aad4f44310998eb72bf1febba85da1bcdd08b WHIRLPOOL b0238f8c5aa4a8c0a5cff82b0daa29860fe39712e96110916cd8a26938ca07b8e05c308e1387c84e7d693026590846392227e95668d150bbc7f1cbc660676eec
 EBUILD netbeans-php-7.2.ebuild 4159 SHA256 bb5c66ed19c9341332e1e42efb29a4ab5d19a22c995bae93efc952ec105ad493 SHA512 c919b120bdc51b56f58b390e9a017f9e059c6b5709220e80138caf7ca3e58d432f53c9ed28f899dc9537851a4cb8cafa9e7067eaefc5d5798b05fb0be9d5bd5f WHIRLPOOL 9857d2e6ac50c4daf5c8afc0a5b65b068b6010ecf2ef04f063bc184810c18b50feda683d2d80c84c0e621909bb05b19731135f2a69f1e56db927c42e8057a658
@@ -85,5 +86,6 @@ EBUILD netbeans-php-9999_p20150118.ebuild 4423 SHA256 8f63409287fe2fc821fb23a73d
 EBUILD netbeans-php-9999_p20150119.ebuild 4423 SHA256 7bec48e383dae477d40987f7cc0f880ed3d7f5f19e896085a0e40636ecf75948 SHA512 ebf4abbfa0757a1d214e97fb2d6b1d51cd1545003cc9f5e18792b686cd3aeeb25ddb4d69d15d77d44d37819f4a4d4926f877cf8ade4959723f7eb4237d6a371d WHIRLPOOL 8e38e558c7dcef7d51f6bd8878aefe36abbef4a5f191f2baf95a5cab6a09b757286358cdae91b8add3d3788d671b044c7f386d65c5ddb2a1e3971f289417dbcc
 EBUILD netbeans-php-9999_p20150120.ebuild 4423 SHA256 5d84459ce0b1f2f9f20b1f7bddf28edda6e06452dbb1e9e394c3c54b1fa9aae6 SHA512 d1341e3e29574bcd95a2ded7f4b7887ebfc3e88eec31f9adfd8b4a92a13dd1bc794c0b4826cf054fe2f5d44aeb42e9b766fc267b32a8adb2b984d038abd77a4c WHIRLPOOL 9aa2845d37b87419ea26af49cdd3c35ef40b2b280a9c1b6fa582c966f4bce8ddf52d24a294bcac1d60556b7b88cf79c06c2d4f32eb2b294c87d61a4bb151e7f9
 EBUILD netbeans-php-9999_p20150121.ebuild 4423 SHA256 4ac38ae07b1eee9060dd933352e5cb52ba6e2191203827ac19f527912d54f56f SHA512 e49164cfb5865900f8c8fbd1436a6da0e2b341289a5fe91614fe9caf77da12b6ba4b7837b18e5bd1a9b857e1818d7b76d63434891211ba05660c1c3ba6cf635f WHIRLPOOL 3ac05e374dc91047f8d5e66cf74055f434dc8dd8342d77a1e06bac3a78a423583c4f33b5834a0fec7c68ade2f4354ef2707762794185bcdfef9352ecdf4b489a
-MISC ChangeLog 141096 SHA256 5360835480bae7b199be3cedff9f384212f6300a43f7eb96dcdc6dfaac02de4f SHA512 2e03f3cce1e74062e563751e3f037c00e742af43c3920c83ddbf31a34809eb7875038543cc3f8e1b41fdfc509dbac75643dbfe641ddfa603ee67c50d198bb556 WHIRLPOOL 11d220e7a2023e133a34a24f9cca4146e16845aa9bc684014443b8260a500fd7ad43906dd5b7749c50b23ba212fd52ca1c51d8affbedd105850dab921e8789ee
+EBUILD netbeans-php-9999_p20150122.ebuild 4423 SHA256 bf7798e230059f1345dc60b8bf5a8905b2210f5f53e0fe204070fdb3e0f04064 SHA512 ae57d65b3288c7dbfe3cc8a6132fa2138160aa9ba9cf30b5b66e5f6282eaa9458f9557abeb785c51307e34a362ae55a11af7f388a94cf6533f3c1e4912c25780 WHIRLPOOL 19cc5b17a8f647fa59be2da22923f241e5d2b3edb9ebc75c0ba5a3371180cb62a373b93f011d9a6e1cdf0494bbe24c76bbbdf9e68a9de11394463712b7f4d847
+MISC ChangeLog 141263 SHA256 acc7d6ee890d3cf0ca3d97abce3cdad5b0bb0e62517850c3780a21e8c75166bf SHA512 69ce5a43fae7f9374d7e3dc6985123952c0e1bbada57423c3dbb4286760bf13d85dab202a9f9a1b519872f5d4ab201e4e41a8778db789aff59c5015a61230986 WHIRLPOOL 91a24dc83b561a50b2ccae2b833ec0d3a91ff7a1121e2b7c15539d2de3c0932033f50a38d07f5eadbf5426a51233072caec09dc947d61153783dc188067d1e26
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-php/netbeans-php-9999_p20150122.ebuild b/dev-java/netbeans-php/netbeans-php-9999_p20150122.ebuild
new file mode 100644
index 0000000..7226b26
--- /dev/null
+++ b/dev-java/netbeans-php/netbeans-php-9999_p20150122.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans PHP Cluster"
+HOMEPAGE="http://netbeans.org/projects/php"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2015-01-22_00-02-29/zip/netbeans-trunk-nightly-201501220002-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/0702230EB3354A1687E4496D73A94F33A1E343BD-phpdocdesc.zip
+	http://hg.netbeans.org/binaries/BFB982F9B33E2F1A1766C212C8208793F9B7E77C-phpsigfiles.zip
+	http://hg.netbeans.org/binaries/3D6AF75EA20D715887DAF47A3F063864EF0814C1-predefined_vars.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-extide-${PV}
+	~dev-java/netbeans-ide-${PV}
+	~dev-java/netbeans-platform-${PV}
+	~dev-java/netbeans-webcommon-${PV}
+	~dev-java/netbeans-websvccommon-${PV}
+	dev-java/javacup:0"
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.7
+	${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 -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-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}"/BFB982F9B33E2F1A1766C212C8208793F9B7E77C-phpsigfiles.zip php.project/external/phpsigfiles.zip || die
+	ln -s "${DISTDIR}"/3D6AF75EA20D715887DAF47A3F063864EF0814C1-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-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	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-extide-${SLOT} extide || die
+	cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.extide.built
+
+	ln -s /usr/share/netbeans-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-webcommon-${SLOT} webcommon || die
+	cat /usr/share/netbeans-webcommon-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.webcommon.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}
+
+	grep -E "/php$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+
+	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
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/php
+}

diff --git a/dev-java/netbeans-platform/ChangeLog b/dev-java/netbeans-platform/ChangeLog
index 691a1fe..d1214ee 100644
--- a/dev-java/netbeans-platform/ChangeLog
+++ b/dev-java/netbeans-platform/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-platform-9999_p20150122 (22 Jan 2015)
+
+  22 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-platform-9999_p20150122.ebuild:
+  bumped to the latest sources
+
 *netbeans-platform-9999_p20150121 (21 Jan 2015)
 
   21 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-platform/Manifest b/dev-java/netbeans-platform/Manifest
index 03107f1..612db5a 100644
--- a/dev-java/netbeans-platform/Manifest
+++ b/dev-java/netbeans-platform/Manifest
@@ -74,6 +74,7 @@ DIST netbeans-trunk-nightly-201501180001-src.zip 201391445 SHA256 b1bf4373e5b799
 DIST netbeans-trunk-nightly-201501190001-src.zip 201391445 SHA256 ce4ec7706f80732c5c6d5764fb4cb0f2f82341d668e2680ed4d12c382e8541de SHA512 232c8beecd613bafca37af997c3aae0f35caa28a3a3f381553bc3264916f606540bcb5186c8a2a52ca21ce177ed413d6907865b4b42b80c102e7c636df736628 WHIRLPOOL 2176f82b120a7f9360f3b01cb970a8fcc5078e97da90ae0e870b37a53998beca6306b5f58bf9af3a15dc403f1dbb888457a56b0657a2f972b8e01ebe1b725abe
 DIST netbeans-trunk-nightly-201501200001-src.zip 201396862 SHA256 1a9378d8f52c4f617653d096aff287cf62212af8a6f878fe54cc468e4dd4bed7 SHA512 92fd39cda2d11816b9a01e0e5c26b3f527354a69efdc940cb27d5b17ee6493a07225d2698260db2bdc220e01d166ac42b5fb62f809d1e2eb84419c6e6abb3e14 WHIRLPOOL c3ba7155b5d376041d750c42f1ff8f8dec5bdbfedb470dea483a665978ef3982f087cb7a521f7892c264bb38d0876e4e7a08346ae4579338ba698ae7ee4ba456
 DIST netbeans-trunk-nightly-201501210001-src.zip 201405381 SHA256 95369f4a232531feb195f2d41c14b7ec9791bbd86282fc8155bb1828affe6afa SHA512 4e710bc5905ea83167152e3252a4309d6a4f6fe8f0ccd8f50bd6389635cb2c4fa1cda60c9c9df8d70149ef84bba66527a8c94b1822710421aa704d374a0132b5 WHIRLPOOL c6780c694d1acabd53ca2b23ac660d587b02f63f3f8b5a98c7e293af4e099dfc46dcd5dcd939d7133edb5885388150fd28723b6325678519a80f2cd0ea673ac8
+DIST netbeans-trunk-nightly-201501220002-src.zip 201432275 SHA256 1969c39ce22136b5ff98f7959bf96088b7caaf9ea46df54ff0ed01ca857de8df SHA512 dae7c345289746e85ea6bf99a6352fcb53ec02c8828bf447a686aed0cea577de11e75e89451abf76a1dee3b1d91aaa204dbbe3057ca40c58759f16a4d768b7a9 WHIRLPOOL 39163c8ccac8111c9ab2a0787a2bd137a680bd16eccf4a7e526cfe34c74df0efa957b320df52b92fe9f1dbd134e7e2b2e1479c237b78e7a060c3893aac8838f9
 EBUILD netbeans-platform-7.0.1.ebuild 5049 SHA256 b67cf0867358fea808614c02b8b6ea2ab88223f8642175ac3f91dc8c610aca4e SHA512 611b8e831a95d1b4e1c3a1f5e4904c84f9606298a94eb0900ac06cc88670849d218a3a03cce07b2463e206da01ce2931cdb6677948d20d8326908a36851589e6 WHIRLPOOL 01769eca4eb20c2702a432a6180eed16a9a50687016e307e585ab5de5cab8b3b664e456d489ff15d9f5af349f791b161eecb9fef7bfaba09a70e1eaab5d545a0
 EBUILD netbeans-platform-7.1.2.ebuild 5034 SHA256 a069e7e45f768e590e5b30fdda26185d8fde492355e4c530ce44169def991cc6 SHA512 31cfb0d9f13eacfcafd49be995bc456d17a689776e032f68ed4585e068a49f6e992c37c57f23c5e27176fb060996bcfc86b0446ae26efbc488909102fc10c979 WHIRLPOOL 1bd35ac39366fd13192e4a6a177280727bceb2f5f12ff684a288725954a29a240f2d264c3ef2ca38fa3e133063cdd943cce1d0f493f0f8ea9a621833c8f0031b
 EBUILD netbeans-platform-7.2.ebuild 5432 SHA256 227add7f41117667d8487f2bf8eb846c21529e7b2c49dac46e4b3b33062f69b0 SHA512 e49958f21358fe9689336d5cd5edbe435d0a2fd12c315174dcb408bf6ed4e6515d39d458554fb576c342a43f0af50c327bada8fa0b2eb485e14c01ddcdb6248d WHIRLPOOL 4f9101a2d5495fb6002b7791822f85091309c04d6c475060c116725f8da32f9ed270f0c27a9f6a2bd2aa0bd7417b18e9165d1feff7e98f6205bdafff3223e5a3
@@ -108,5 +109,6 @@ EBUILD netbeans-platform-9999_p20150118.ebuild 8293 SHA256 75733e9bfb7d75c24dc7f
 EBUILD netbeans-platform-9999_p20150119.ebuild 8293 SHA256 7b1c39cfd122cb6e3cdc9ad67a8b5c1f7931040a8528384ff5e4374579067268 SHA512 ce600c1f45ed49187a2f30b62343ddb2b4ff1201ca22bca20dd52068fe79778db7177cf460f99296a2ef5c53f8312404f1625f93c1577fd216c5536e084749e6 WHIRLPOOL 5b368b3b5db10c9be6aff9134a602606869778199b112473ddc0198d40efa476a2b3a1a5f7096a92380598cadc730f56aff867e46d89c36ef9b65e742a6196b3
 EBUILD netbeans-platform-9999_p20150120.ebuild 8293 SHA256 e4a66347d02b09c2ac8593265ea5382ea05051060ceb2c48d05b92d0c7cb347d SHA512 edfed7980d33ca696ac3a082015410d4ce8b4624502d9b107b5161015c7d20cc113d14d99b4c20884dd74f47bb3a9ccac88f527c74f841dd3aefbae18b6680ce WHIRLPOOL 568c2a705de3ce4ab78bca8abb3e13ef9ad897e9112db78b80317c55d7816a30bae91e2a74f4cee9f974d14105814301e0bc32b4f8c40903839be68fbdf8c5f0
 EBUILD netbeans-platform-9999_p20150121.ebuild 8293 SHA256 016a9e7afa5068f4fd5226fa98c435f98f518c452dd308c42d9f7585edf40603 SHA512 d54c1cbdc89a1bf533818065cfc2f879c6b6eaffba68f8c8fb56ca453dffc8c8a350647577379ffb25a4a59d4e41534501ee88cabf63177cfa0d3f787762096f WHIRLPOOL 632eb7d507f817f7fae472dc00c367c7e861df505f70aea79e3d4eb6fc2c69e8de52b08e3c2ff5ce0f615703b0a72f2a523f94a82ea5b3a4f8851dec866b1f9e
-MISC ChangeLog 151851 SHA256 7481bbe39a04ecf49c3c337bc28b9828be7ee38ffac7e30dfe0934dc3fbe96e8 SHA512 6937e108b32bff3c0476840112db7415871cfd34c2f3426fab717459493b76aaf9db176325f19934934672dc2ce6592c5c8ebcb50829c8ccecac042b2aba70f6 WHIRLPOOL b664c9869284c9ebf2391123ab33fa1dfa75e79295c73d159743c1eaf842dc6096ae517c1ac21372615db4b3d6d6a2f6084446781320e76dc626e82545fa7e72
+EBUILD netbeans-platform-9999_p20150122.ebuild 8293 SHA256 d9205d91b20f007fdda9addd00a6accb5e2792ea8fecb7f46bdb10984e5034f2 SHA512 40a6d2916b1eea06f4dea1ffbb0098d8d8af05a9963916d3cc375ff6bb245b1dea7c3b28cd096df3549c4f92891496d0a1b6132fddc362af251376bf2be32454 WHIRLPOOL 5d325ac6bd79062ea825d7f8b53360dfcc718686ea3f2e77c676a5d4dd8d265eee2fa7e7a354b46d1499e4f5dbb5c30f415f2ea8035bb02749bba786ca6b456c
+MISC ChangeLog 152028 SHA256 254d0ea573b99a8434aebab6d252bfa102b192ea3131cac05f36c8132512171e SHA512 0658ed06bbdc448bdb4f194c9fe99a45da3590e2f2f6f0302689cd15ed2a4a990ab6d23c3b77e2bb80d2e0fdfce3ce0401dabb0a29411b39f3af1764882bbbed WHIRLPOOL 89d87692f461339a1de0546d6a018fc1e88f72a10622440d16e46e8f58a1718d42f6ba3e842c9677a22b90fd58daa638588b7facd65396fdd6320c95591ee3b4
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-platform/netbeans-platform-9999_p20150122.ebuild b/dev-java/netbeans-platform/netbeans-platform-9999_p20150122.ebuild
new file mode 100644
index 0000000..3c1e63a
--- /dev/null
+++ b/dev-java/netbeans-platform/netbeans-platform-9999_p20150122.ebuild
@@ -0,0 +1,153 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Platform"
+HOMEPAGE="http://netbeans.org/features/platform/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2015-01-22_00-02-29/zip/netbeans-trunk-nightly-201501220002-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/2F7553F50B0D14ED811B849C282DA8C1FFC32AAE-asm-all-5.0.1.jar
+	http://hg.netbeans.org/binaries/1BA97A9FFD4A1DFF3E75B76CD3AE3D0EFF8493B7-felix-4.2.1.jar
+	http://hg.netbeans.org/binaries/B250509C67194E89C3A27F96933DB7EB0E027E56-ko4j.jar
+	http://hg.netbeans.org/binaries/E556F74DF0942B304F94D9F82CAA8102FED6356E-net-java-html.jar
+	http://hg.netbeans.org/binaries/C74AC1ED160379872826FDC4A3C0CA924A3A0A83-net-java-html-boot.jar
+	http://hg.netbeans.org/binaries/03FE10857B0689B1F98B8D96DE87E80DF5D87A69-net-java-html-boot-fx.jar
+	http://hg.netbeans.org/binaries/31C9329E78A222E38CB86716ACFCEF81EF0BA1FD-net-java-html-boot-script.jar
+	http://hg.netbeans.org/binaries/24ED356FF3C72665CB5FB972B428824FABBC1987-net-java-html-geo.jar
+	http://hg.netbeans.org/binaries/432EDFB05C0F44E6ADAC4B1F3E08C67D1F52FB4B-net-java-html-json.jar
+	http://hg.netbeans.org/binaries/A7B6C3470DB8821A3587CE04844FF504A7C62354-net-java-html-sound.jar
+	http://hg.netbeans.org/binaries/B27F1304F18FEDE876F940AEFA6C9EB5632619D7-org.eclipse.osgi_3.9.1.v20140110-1610.jar
+	http://hg.netbeans.org/binaries/972E6455724DC6ADB1C1912F53B5E3D7DF20C5FD-osgi.cmpn-4.2.jar
+	http://hg.netbeans.org/binaries/1C7FE319052EF49126CF07D0DB6953CB7007229E-swing-layout-1.0.4-doc.zip
+	http://hg.netbeans.org/binaries/AC97B566699146713B3CF0ABC226B5C08EF7CF33-testng-6.8.1-dist.jar
+	http://hg.netbeans.org/binaries/AF022CBCACD8CBFCF946816441D1E7568D817745-testng-6.8.1-javadoc.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="dev-java/javahelp:0
+	>=dev-java/jna-3.4:0
+	>=dev-java/osgi-core-api-5:0
+	dev-java/swing-layout:1[source]"
+# oracle-jdk-bin is needed because other jdks do not contain file jre/lib/ext/jfxrt.jar
+# the error:
+#  [parseprojectxml] Distilling /var/tmp/portage/dev-java/netbeans-platform-9999_p20140922/work/nbbuild/build/public-package-jars/org-netbeans-libs-javafx.jar from [/var/tmp/portage/dev-java/netbeans-platform-9999_p20140922/work/nbbuild/netbeans/platform/modules/org-netbeans-libs-javafx.jar, /opt/icedtea-bin-7.2.4.7/jre/lib/ext/jfxrt.jar]
+#  [parseprojectxml] Classpath entry /opt/icedtea-bin-7.2.4.7/jre/lib/ext/jfxrt.jar does not exist; skipping
+#  [nbmerge] Failed to build target: all-api.html4j
+
+DEPEND="dev-java/oracle-jdk-bin:1.7
+	app-arch/unzip
+	${CDEPEND}"
+RDEPEND=">=virtual/jdk-1.7
+	${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 -Djava.awt.headless=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+JAVA_PKG_WANT_BUILD_VM="oracle-jdk-bin-1.7"
+JAVA_PKG_WANT_SOURCE="1.7"
+JAVA_PKG_WANT_TARGET="1.7"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/2F7553F50B0D14ED811B849C282DA8C1FFC32AAE-asm-all-5.0.1.jar libs.asm/external/asm-all-5.0.1.jar || die
+	ln -s "${DISTDIR}"/1BA97A9FFD4A1DFF3E75B76CD3AE3D0EFF8493B7-felix-4.2.1.jar libs.felix/external/felix-4.2.1.jar || die
+	ln -s "${DISTDIR}"/B250509C67194E89C3A27F96933DB7EB0E027E56-ko4j.jar o.n.html.ko4j/external/ko4j.jar || die
+	ln -s "${DISTDIR}"/E556F74DF0942B304F94D9F82CAA8102FED6356E-net-java-html.jar net.java.html/external/net-java-html.jar || die
+	ln -s "${DISTDIR}"/C74AC1ED160379872826FDC4A3C0CA924A3A0A83-net-java-html-boot.jar net.java.html.boot/external/net-java-html-boot.jar || die
+	ln -s "${DISTDIR}"/03FE10857B0689B1F98B8D96DE87E80DF5D87A69-net-java-html-boot-fx.jar net.java.html.boot.fx/external/net-java-html-boot-fx.jar || die
+	ln -s "${DISTDIR}"/31C9329E78A222E38CB86716ACFCEF81EF0BA1FD-net-java-html-boot-script.jar net.java.html.boot.script/external/net-java-html-boot-script.jar || die
+	ln -s "${DISTDIR}"/24ED356FF3C72665CB5FB972B428824FABBC1987-net-java-html-geo.jar net.java.html.geo/external/net-java-html-geo.jar || die
+	ln -s "${DISTDIR}"/432EDFB05C0F44E6ADAC4B1F3E08C67D1F52FB4B-net-java-html-json.jar net.java.html.json/external/net-java-html-json.jar || die
+	ln -s "${DISTDIR}"/A7B6C3470DB8821A3587CE04844FF504A7C62354-net-java-html-sound.jar net.java.html.sound/external/net-java-html-sound.jar || die
+	ln -s "${DISTDIR}"/B27F1304F18FEDE876F940AEFA6C9EB5632619D7-org.eclipse.osgi_3.9.1.v20140110-1610.jar netbinox/external/org.eclipse.osgi_3.9.1.v20140110-1610.jar || die
+	ln -s "${DISTDIR}"/972E6455724DC6ADB1C1912F53B5E3D7DF20C5FD-osgi.cmpn-4.2.jar libs.osgi/external/osgi.cmpn-4.2.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
+	ln -s "${DISTDIR}"/AC97B566699146713B3CF0ABC226B5C08EF7CF33-testng-6.8.1-dist.jar libs.testng/external/testng-6.8.1-dist.jar || die
+	ln -s "${DISTDIR}"/AF022CBCACD8CBFCF946816441D1E7568D817745-testng-6.8.1-javadoc.zip libs.testng/external/testng-6.8.1-javadoc.zip || die
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	# upstream jna jar contains bundled binary libraries so we disable that feature
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --into libs.jna.platform/external jna platform.jar jna-platform-4.1.0.jar
+	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-4.1.0.jar
+	java-pkg_jar-from --into libs.osgi/external osgi-core-api osgi-core-api.jar osgi.core-5.0.0.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_compile() {
+	unset DISPLAY
+	eant -f ${EANT_BUILD_XML} ${EANT_EXTRA_ARGS} ${EANT_BUILD_TARGET} || die "Compilation failed"
+}
+
+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}
+	doins -r *
+	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
+	find "${D}"/${INSTALL_DIR} -name "*.exe" -delete
+	find "${D}"/${INSTALL_DIR} -name "*.dll" -delete
+	rm -fr "${D}"/modules/lib || die
+
+	popd >/dev/null || die
+
+	fperms 775 ${INSTALL_DIR}/lib/nbexec
+	dosym ${INSTALL_DIR}/lib/nbexec /usr/bin/nbexec-${SLOT}
+
+	local instdir=${INSTALL_DIR}/modules/ext
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm jhall-2.0_05.jar && dosym /usr/share/javahelp/lib/jhall.jar ${instdir}/jhall-2.0_05.jar || die
+	rm jna-4.1.0.jar && dosym /usr/share/jna/lib/jna.jar ${instdir}/jna-4.1.0.jar || die
+	rm jna-platform-4.1.0.jar && dosym /usr/share/jna/lib/platform.jar ${instdir}/jna-platform-4.1.0.jar || die
+	rm osgi.core-5.0.0.jar && dosym /usr/share/osgi-core-api/lib/osgi-core-api.jar ${instdir}/osgi.core-5.0.0.jar || die
+	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
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/platform
+}

diff --git a/dev-java/netbeans-profiler/ChangeLog b/dev-java/netbeans-profiler/ChangeLog
index ecc07c4..96b8fea 100644
--- a/dev-java/netbeans-profiler/ChangeLog
+++ b/dev-java/netbeans-profiler/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-profiler-9999_p20150122 (22 Jan 2015)
+
+  22 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-profiler-9999_p20150122.ebuild:
+  bumped to the latest sources
+
 *netbeans-profiler-9999_p20150121 (21 Jan 2015)
 
   21 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-profiler/Manifest b/dev-java/netbeans-profiler/Manifest
index f3efe04..8377f12 100644
--- a/dev-java/netbeans-profiler/Manifest
+++ b/dev-java/netbeans-profiler/Manifest
@@ -40,6 +40,7 @@ DIST netbeans-trunk-nightly-201501180001-src.zip 201391445 SHA256 b1bf4373e5b799
 DIST netbeans-trunk-nightly-201501190001-src.zip 201391445 SHA256 ce4ec7706f80732c5c6d5764fb4cb0f2f82341d668e2680ed4d12c382e8541de SHA512 232c8beecd613bafca37af997c3aae0f35caa28a3a3f381553bc3264916f606540bcb5186c8a2a52ca21ce177ed413d6907865b4b42b80c102e7c636df736628 WHIRLPOOL 2176f82b120a7f9360f3b01cb970a8fcc5078e97da90ae0e870b37a53998beca6306b5f58bf9af3a15dc403f1dbb888457a56b0657a2f972b8e01ebe1b725abe
 DIST netbeans-trunk-nightly-201501200001-src.zip 201396862 SHA256 1a9378d8f52c4f617653d096aff287cf62212af8a6f878fe54cc468e4dd4bed7 SHA512 92fd39cda2d11816b9a01e0e5c26b3f527354a69efdc940cb27d5b17ee6493a07225d2698260db2bdc220e01d166ac42b5fb62f809d1e2eb84419c6e6abb3e14 WHIRLPOOL c3ba7155b5d376041d750c42f1ff8f8dec5bdbfedb470dea483a665978ef3982f087cb7a521f7892c264bb38d0876e4e7a08346ae4579338ba698ae7ee4ba456
 DIST netbeans-trunk-nightly-201501210001-src.zip 201405381 SHA256 95369f4a232531feb195f2d41c14b7ec9791bbd86282fc8155bb1828affe6afa SHA512 4e710bc5905ea83167152e3252a4309d6a4f6fe8f0ccd8f50bd6389635cb2c4fa1cda60c9c9df8d70149ef84bba66527a8c94b1822710421aa704d374a0132b5 WHIRLPOOL c6780c694d1acabd53ca2b23ac660d587b02f63f3f8b5a98c7e293af4e099dfc46dcd5dcd939d7133edb5885388150fd28723b6325678519a80f2cd0ea673ac8
+DIST netbeans-trunk-nightly-201501220002-src.zip 201432275 SHA256 1969c39ce22136b5ff98f7959bf96088b7caaf9ea46df54ff0ed01ca857de8df SHA512 dae7c345289746e85ea6bf99a6352fcb53ec02c8828bf447a686aed0cea577de11e75e89451abf76a1dee3b1d91aaa204dbbe3057ca40c58759f16a4d768b7a9 WHIRLPOOL 39163c8ccac8111c9ab2a0787a2bd137a680bd16eccf4a7e526cfe34c74df0efa957b320df52b92fe9f1dbd134e7e2b2e1479c237b78e7a060c3893aac8838f9
 EBUILD netbeans-profiler-7.0.1.ebuild 3222 SHA256 b1bab800a27c30aaea26b8ff5ab21abdd1bec16b9890133429eca9ea77c018fe SHA512 d6198f44a06561b7e2598fdd6a37f8a3dc13c38f63dfbf6a86a083adbf71e9c62af87cb4e1b5b8dd2dc99feeeb99a7afcbb8f7747c378ad92c71263cc91a6c54 WHIRLPOOL c62613f511636b1f0393ac32c6b50641cdf7df9f9fdc95fd5acbe1a602ffe42fdabb556f989552b05b0607a5ad9d324a2019440c3ae66c50995ef3fc8775f385
 EBUILD netbeans-profiler-7.1.2.ebuild 3231 SHA256 94d87bf6f86add3bdc27f9f20084f35fe584fc2bd697acafa8c23cce16a0d1ee SHA512 dcc8da918a6b6e07ccae513fb4296d16891e205b49098fb8269d16beb9b1367b1920797cc78053b83f4321c1b69faa393365265c72213bb2abfb9d3f84f66319 WHIRLPOOL 18325a1df836e7242838920483c41d43f37b9dae8322d36a2a562b414baa0dc76971f581204ce76a6d64196dd60643089e8704da69617590cda61ce54ce82e8d
 EBUILD netbeans-profiler-7.2.ebuild 3214 SHA256 ddcba9ba672ad566ef256538fc8631ae691aa7c6574269199f26df5382c37f4b SHA512 1bb7eb95381861b8265ab366fe3c7a9b99971d1c4600eb6c7bffb521f4cebb32bcf3d662f82c811d47fe95e77cd39e48f3665f0fcabf9145eb171c2746d89684 WHIRLPOOL 7f74c2be9ec4e7ff419086f1da3b1a12b1c187102def004316ef89ed28f30da62542ed3409a51473a8d9d68d18a30de36b1d0307cd8eeb7e580668fe896c5aa5
@@ -74,5 +75,6 @@ EBUILD netbeans-profiler-9999_p20150118.ebuild 3478 SHA256 1a8a41944225f8fc0ece1
 EBUILD netbeans-profiler-9999_p20150119.ebuild 3478 SHA256 53c24023b661cd64e8efda3f4e1da5e6db515520fb1238b3c4dfb6d64e034cff SHA512 ce8dbd30bb3adb061a804a4ea0d517fdd04439335093b8033c6ed0e4927c57eac8d033de27da5e87c6e73977100b56e0a867e80acea3622d9f402f44289bf8a2 WHIRLPOOL 7a507483885dee703d698c8ce3b2078758580e757ad0ed432e86185e8bad10178461248fcc22b85d0242f7d037cd10760eed3a52a45a3fef39e3f37d98ed8476
 EBUILD netbeans-profiler-9999_p20150120.ebuild 3478 SHA256 979d9ced9f2bf0446673a337b3fcba84b41cbe8c8fd2931992aadbac0aa418f0 SHA512 d2127fdd30a4908a2f71bef0f39d879e9e2f4a0caee72a063f62fb7ec4c269d742f13dae2adef9be04dd1d9165f8e523958d3b1d4e6948b5e3c9587cad943413 WHIRLPOOL 0d13dc72c5867fd533f2d91766594bc4529833ab90eb5092523b69c3715a6a8b9c8930c1740b6c71b00626f2c89603e8c1c1e686d2d60860826475c923913c63
 EBUILD netbeans-profiler-9999_p20150121.ebuild 3478 SHA256 3981848791a9eeb1e99636790d688d3a9f7a9bcdc1c251bea9b8f1444af0495a SHA512 2dd8c9c13aff3ced69eb6556352d9adc2e979ac2032f5c598221844abe4b3a1954fb1f84b0bc69521e106fa2c594225ccb7e122b5cf928b67c3d6e280e8ab0c8 WHIRLPOOL fcb556be8e6ce60e1625938ba35c0048f94513082790975270597dec286b3955f466f5a9a80cbb1d32964234039f4a087ce8157eba008ea508098de5c18f7375
-MISC ChangeLog 151312 SHA256 8c001048d8c703042e4a6337530e4ae13b3b75eee0ff769898a421a1ca20c8d5 SHA512 56337abdb5c4d04fc648dabd38756416f7e7340554cd96f0ae5d8650e25f8cfe02a459b8fe2deda2dbefcd0463b8c553d45ac85fb706d26ba8a1f275d9c740dc WHIRLPOOL 6c25e8ab48ab2863a60c756cd2fd4000f9b3cea7fb153b208a0f3099b9f556badc7effffd123efacfe469952552089c40797272921707efa9feb116908e25687
+EBUILD netbeans-profiler-9999_p20150122.ebuild 3478 SHA256 02f5abdac1aa688199a68802bb94deba20499c854406dab6d4d2bcae06cac962 SHA512 7a31fedf4755915bf22e0ca095fea89a1f123dbeefad874531b4c06374e1c1c73a109210a7a4d481f63097de46ee45513a7042ae228e08099d29d73a290b172a WHIRLPOOL 168d63c5a425f5fd15678542f4e6659ce90c1db2cbe948ea10d4ca3f31741e6bb6b2e3f06ed37f0d6d490220b721821eff11d5e3306fa0cb18d32b2c93847b2e
+MISC ChangeLog 151489 SHA256 c9f304979453e38dca8c2e27c3a2a0ca3011915d9f7c9e97415466443ae41987 SHA512 f6417671193dccf72507f769c131ea0fa45816e99aea6a783ba5d5e479f1a91ef8193458076514842ac70b5a4a849398feb92e321c2bfce6eb3ca9905755a4f7 WHIRLPOOL bceaf1fdb95c42f117b24c762e10a0640e33fa6190084c70c367471ac51d5e3e7212aa119c5959ff7e487351925e3102a6004388e354aa347f4704830eb4d6af
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-profiler/netbeans-profiler-9999_p20150122.ebuild b/dev-java/netbeans-profiler/netbeans-profiler-9999_p20150122.ebuild
new file mode 100644
index 0000000..533bf28
--- /dev/null
+++ b/dev-java/netbeans-profiler/netbeans-profiler-9999_p20150122.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Profiler Cluster"
+HOMEPAGE="http://netbeans.org/projects/profiler"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2015-01-22_00-02-29/zip/netbeans-trunk-nightly-201501220002-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+# Binary files needed for remote profiling
+QA_PREBUILT="usr/share/netbeans-profiler-${SLOT}/lib/deployed/*"
+
+CDEPEND="~dev-java/netbeans-extide-${PV}
+	~dev-java/netbeans-ide-${PV}
+	~dev-java/netbeans-java-${PV}
+	~dev-java/netbeans-platform-${PV}"
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.7
+	${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 -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	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-extide-${SLOT} extide || die
+	cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.extide.built
+
+	ln -s /usr/share/netbeans-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}
+
+	grep -E "/profiler$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+
+	for file in lib/deployed/cvm/linux/*.so ; do
+		fperms 755 ${file}
+	done
+
+	for file in lib/deployed/jdk*/linux*/*.so ; do
+		fperms 755 ${file}
+	done
+
+	for file in remote-pack-defs/*.sh ; do
+		fperms 755 ${file}
+	done
+
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/profiler
+}

diff --git a/dev-java/netbeans-webcommon/ChangeLog b/dev-java/netbeans-webcommon/ChangeLog
index 6fc92b4..3b18989 100644
--- a/dev-java/netbeans-webcommon/ChangeLog
+++ b/dev-java/netbeans-webcommon/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-webcommon-9999_p20150122 (22 Jan 2015)
+
+  22 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-webcommon-9999_p20150122.ebuild:
+  bumped to the latest sources
+
 *netbeans-webcommon-9999_p20150121 (21 Jan 2015)
 
   21 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-webcommon/Manifest b/dev-java/netbeans-webcommon/Manifest
index dbd4db7..a8b1109 100644
--- a/dev-java/netbeans-webcommon/Manifest
+++ b/dev-java/netbeans-webcommon/Manifest
@@ -46,6 +46,7 @@ DIST netbeans-trunk-nightly-201501180001-src.zip 201391445 SHA256 b1bf4373e5b799
 DIST netbeans-trunk-nightly-201501190001-src.zip 201391445 SHA256 ce4ec7706f80732c5c6d5764fb4cb0f2f82341d668e2680ed4d12c382e8541de SHA512 232c8beecd613bafca37af997c3aae0f35caa28a3a3f381553bc3264916f606540bcb5186c8a2a52ca21ce177ed413d6907865b4b42b80c102e7c636df736628 WHIRLPOOL 2176f82b120a7f9360f3b01cb970a8fcc5078e97da90ae0e870b37a53998beca6306b5f58bf9af3a15dc403f1dbb888457a56b0657a2f972b8e01ebe1b725abe
 DIST netbeans-trunk-nightly-201501200001-src.zip 201396862 SHA256 1a9378d8f52c4f617653d096aff287cf62212af8a6f878fe54cc468e4dd4bed7 SHA512 92fd39cda2d11816b9a01e0e5c26b3f527354a69efdc940cb27d5b17ee6493a07225d2698260db2bdc220e01d166ac42b5fb62f809d1e2eb84419c6e6abb3e14 WHIRLPOOL c3ba7155b5d376041d750c42f1ff8f8dec5bdbfedb470dea483a665978ef3982f087cb7a521f7892c264bb38d0876e4e7a08346ae4579338ba698ae7ee4ba456
 DIST netbeans-trunk-nightly-201501210001-src.zip 201405381 SHA256 95369f4a232531feb195f2d41c14b7ec9791bbd86282fc8155bb1828affe6afa SHA512 4e710bc5905ea83167152e3252a4309d6a4f6fe8f0ccd8f50bd6389635cb2c4fa1cda60c9c9df8d70149ef84bba66527a8c94b1822710421aa704d374a0132b5 WHIRLPOOL c6780c694d1acabd53ca2b23ac660d587b02f63f3f8b5a98c7e293af4e099dfc46dcd5dcd939d7133edb5885388150fd28723b6325678519a80f2cd0ea673ac8
+DIST netbeans-trunk-nightly-201501220002-src.zip 201432275 SHA256 1969c39ce22136b5ff98f7959bf96088b7caaf9ea46df54ff0ed01ca857de8df SHA512 dae7c345289746e85ea6bf99a6352fcb53ec02c8828bf447a686aed0cea577de11e75e89451abf76a1dee3b1d91aaa204dbbe3057ca40c58759f16a4d768b7a9 WHIRLPOOL 39163c8ccac8111c9ab2a0787a2bd137a680bd16eccf4a7e526cfe34c74df0efa957b320df52b92fe9f1dbd134e7e2b2e1479c237b78e7a060c3893aac8838f9
 EBUILD netbeans-webcommon-7.2.ebuild 2665 SHA256 9328ea550dfeca5be5c2b03aa5f512d451f1673e49a40994155fca0b2fb2f79d SHA512 d8b80b79e78769a70d01605a79a8a91f7e839d4138b4cbf28cafca6f56ae3d7003c2f5f40aff77bbe3f2882f43a7d7dca3f0428f0f2723a42ae5b49e4c71ffff WHIRLPOOL 31254cbd2fc6cfb2d1bed4d22958595dbbf73032439f19e684463efbe466ee80c144f77ab00ced7a07815b1cdc1d45a87ceda83e7a2fd20ac2ce65e45d30a093
 EBUILD netbeans-webcommon-7.3.ebuild 2986 SHA256 327c0a73fb20778d9fbe4a12024fa065e4102a7aff3fcbda7448874656a46420 SHA512 3d270e940424b3bcdc8c7f8ff2016d33eb55420ac4037f4e406b688c2acea1b07a04625772265ac293d80c0d1afe3bbe6f865051ed9234b700619bd0781d8b39 WHIRLPOOL 5bc288949ed3aa9c3c4cd4cd33b817fe317754229ad30e80da8cfea817bfb77e988a1d6d3280aaef90619968e0309fad212deff0f7970f04438494a893a30a5b
 EBUILD netbeans-webcommon-7.4.ebuild 4727 SHA256 54a0b63527001da34a21ae3ed69c2cfbf9a446ee69bda4bb6ac5ebb939ebb68d SHA512 96895c972cf7092426ec8bc06dccc6ab4f33334da4e67fd4da01e586801110bda8d955f2f29ecd93b8bb58ae64c4af4139e9954a784c10dec925e2beaeab2394 WHIRLPOOL aa7b3b59d315bd37553052470b1f56f435979569e5ef033493cf6f93c29827f2ecd30f6b874f07a0cd8824469c6546982ac3ed360bf3b6cbf211d95943a3398a
@@ -78,5 +79,6 @@ EBUILD netbeans-webcommon-9999_p20150118.ebuild 4997 SHA256 85000b0400338b446298
 EBUILD netbeans-webcommon-9999_p20150119.ebuild 4997 SHA256 59521a9e2b8a0063d64c908d4e23a9ce3b36e7e870db0c57d3a3f93c5a6b64b0 SHA512 91b8e8ed94e44d426a5feebcbf6057b6d07d555bb3e60e71739a784511a13456eacb6ad75a27b108b35dc1b8a4680f7758b0f24372ca67a9faefcc14e5b46ad0 WHIRLPOOL 1b2efde7ad000830c0ab0fcf3bacc6596ffceab6de179b4c29d5c23e85df3072a8b34eee50ac34aaadb319a40129cb1146bc375164931b0ec7bf9162f638b707
 EBUILD netbeans-webcommon-9999_p20150120.ebuild 4997 SHA256 1acfbe6ec2a711b4e039afbad0ef493f3873ca0dcb48bd81fe614cb1d45f141c SHA512 5f6b6a5f34042ebc6e190895d9ec4347026978df20c5ce0adedf16932b6f274135d9d75d221dcc29f96b716ec0a20f0e71aa62724d56b9081bfcf5829690ff73 WHIRLPOOL 99bc42a5e1dbb5b6841ed01868f7efc26ebd30643d165d4146a6b052d6214fc1f4c6b4eecb8be474aea0a9870fe67c507ef3cab960bb5ed46282bc4b143ce726
 EBUILD netbeans-webcommon-9999_p20150121.ebuild 4997 SHA256 d56d9ff9db835e2abbe82ca31ee31d419f483732c49cb2c14e9e5e4d39087cab SHA512 73eddde719d7ef04a51c5767077a23c1fee07f3b6213651cc1ec33c7028c63316424e363d9820d5294795dffb0b941ef4578fe003f70775260c47c90e29c4433 WHIRLPOOL f7b737e744e288dd1cedbbc8b5b6dad38d86b5bd0ddc0f83042f4d3c43f2be9c0ff0801e2e2ce2b66b7aca5ad92c4a77c83e8bfcdf1f2108b4d97178c6936b52
-MISC ChangeLog 124172 SHA256 5c5cc45be381354f96bb728d751e47de10278ebd1e0121e90b95de58c2373821 SHA512 b5552f42a491f931a346b62dc2cd40cb27133e2b551ec5fa9bd6d304e48a39d5c018e87083fbb319150208a456ae28b06006130658ab7abcba88302a6d537c63 WHIRLPOOL 27bdcc7d4bf5fa58fdd934b60d1990eb1403617aca470a3350c53f6b64395cdb2195c1da36214fcb03b5a219b43aba9504f728fbf7950292742798e1af08b4b3
+EBUILD netbeans-webcommon-9999_p20150122.ebuild 4997 SHA256 8353e7a7a141ea1ff6646831fcbc9966b01c2ff84a0a9614abbe34e39070a97c SHA512 5bd87166df163ebc0d07e75e707187ee6fd065570a20867e57f9fb76945b7605c6e1df6f8336c9135019606a8f3b31a48d1fe2e56c97fd3146dc0d7117a32e8b WHIRLPOOL 6e6de5d9e654e4cc45fb3e66aca06e01f611c30af022c5b133e1c93320cf91ce78a5d403842b923baf049db9c4e11cabc5d3e51b0f38b28921bee2b42a6e45a6
+MISC ChangeLog 124351 SHA256 41420db534d43911c2cca4f37fbc7ac304f451db008accdd49ed9fb1cb069f1d SHA512 6ace4709e4406610e72e5abb16c5184d071404cd6df259cb3a6a2025f6e231f9fb7b420ba1a24a77dba0a45f9d76a0a4a09298ae30d2ab26a733509208648a10 WHIRLPOOL d48c2b6f3ce98d53b83143dbd7853b98811484c55bc1eff0cbd4993eae2cada2aa4cadf1bf208e0eb0e40c8d3ca21177fcd51d240c84b89a899a795dba2bc229
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20150122.ebuild b/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20150122.ebuild
new file mode 100644
index 0000000..081e101
--- /dev/null
+++ b/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20150122.ebuild
@@ -0,0 +1,123 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Web Services Cluster"
+HOMEPAGE="http://netbeans.org/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2015-01-22_00-02-29/zip/netbeans-trunk-nightly-201501220002-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/59631804B5A7FF3CEAA3F0E113584AF7E1BB6E9B-dd-plist.jar
+	http://hg.netbeans.org/binaries/7C4A82593A85524A3541E55A4A9C906B773ABAD6-ios-sim
+	http://hg.netbeans.org/binaries/9D29F2A9722C91A403F32971E97DD0E49E97B02E-libiDeviceNativeBinding.dylib
+	http://hg.netbeans.org/binaries/9F0D0D95F57E73C0110FA023813A4F9756D543B1-libimobiledevice.4.dylib
+	http://hg.netbeans.org/binaries/480C9E376169E21EA3BDA5D5841425BD7CC054D7-libplist.1.dylib
+	http://hg.netbeans.org/binaries/08FE518AB60FFA2E5440B75B4D9F8502E0791B3C-libs.jstestdriver-ext.jar
+	http://hg.netbeans.org/binaries/D05B7274396C8EED185207399B6D0400DE347DB7-libusbmuxd.2.dylib"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-platform-${PV}
+	~dev-java/netbeans-extide-${PV}
+	~dev-java/netbeans-ide-${PV}
+	dev-java/commons-compress:0"
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.7
+	${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.webcommon -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/59631804B5A7FF3CEAA3F0E113584AF7E1BB6E9B-dd-plist.jar libs.plist/external/dd-plist.jar || die
+	ln -s "${DISTDIR}"/7C4A82593A85524A3541E55A4A9C906B773ABAD6-ios-sim cordova.platforms.ios/external/ios-sim || die
+	ln -s "${DISTDIR}"/9D29F2A9722C91A403F32971E97DD0E49E97B02E-libiDeviceNativeBinding.dylib cordova.platforms.ios/external/libiDeviceNativeBinding.dylib || die
+	ln -s "${DISTDIR}"/9F0D0D95F57E73C0110FA023813A4F9756D543B1-libimobiledevice.4.dylib cordova.platforms.ios/external/libimobiledevice.4.dylib || die
+	ln -s "${DISTDIR}"/480C9E376169E21EA3BDA5D5841425BD7CC054D7-libplist.1.dylib cordova.platforms.ios/external/libplist.1.dylib || die
+	ln -s "${DISTDIR}"/08FE518AB60FFA2E5440B75B4D9F8502E0791B3C-libs.jstestdriver-ext.jar libs.jstestdriver/external/libs.jstestdriver-ext.jar || die
+	ln -s "${DISTDIR}"/D05B7274396C8EED185207399B6D0400DE347DB7-libusbmuxd.2.dylib cordova.platforms.ios/external/libusbmuxd.2.dylib || die
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --into libs.commons_compress/external commons-compress commons-compress.jar commons-compress-1.8.1.jar
+	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-extide-${SLOT} extide || die
+	cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.extide.built
+
+	ln -s /usr/share/netbeans-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/webcommon >/dev/null || die
+
+	insinto ${INSTALL_DIR}
+	grep -E "/webcommon$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+	doins -r *
+
+	popd >/dev/null || die
+
+	local instdir=/${INSTALL_DIR}/modules/ext
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm commons-compress-1.8.1.jar  && dosym /usr/share/commons-compress/lib/commons-compress.jar ${instdir}/commons-compress-1.8.1.jar || die
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/webcommon
+}

diff --git a/dev-java/netbeans-websvccommon/ChangeLog b/dev-java/netbeans-websvccommon/ChangeLog
index 7e922e7..66a3e21 100644
--- a/dev-java/netbeans-websvccommon/ChangeLog
+++ b/dev-java/netbeans-websvccommon/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-websvccommon-9999_p20150122 (22 Jan 2015)
+
+  22 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-websvccommon-9999_p20150122.ebuild:
+  bumped to the latest sources
+
 *netbeans-websvccommon-9999_p20150121 (21 Jan 2015)
 
   21 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-websvccommon/Manifest b/dev-java/netbeans-websvccommon/Manifest
index 5db2338..7679c76 100644
--- a/dev-java/netbeans-websvccommon/Manifest
+++ b/dev-java/netbeans-websvccommon/Manifest
@@ -40,6 +40,7 @@ DIST netbeans-trunk-nightly-201501180001-src.zip 201391445 SHA256 b1bf4373e5b799
 DIST netbeans-trunk-nightly-201501190001-src.zip 201391445 SHA256 ce4ec7706f80732c5c6d5764fb4cb0f2f82341d668e2680ed4d12c382e8541de SHA512 232c8beecd613bafca37af997c3aae0f35caa28a3a3f381553bc3264916f606540bcb5186c8a2a52ca21ce177ed413d6907865b4b42b80c102e7c636df736628 WHIRLPOOL 2176f82b120a7f9360f3b01cb970a8fcc5078e97da90ae0e870b37a53998beca6306b5f58bf9af3a15dc403f1dbb888457a56b0657a2f972b8e01ebe1b725abe
 DIST netbeans-trunk-nightly-201501200001-src.zip 201396862 SHA256 1a9378d8f52c4f617653d096aff287cf62212af8a6f878fe54cc468e4dd4bed7 SHA512 92fd39cda2d11816b9a01e0e5c26b3f527354a69efdc940cb27d5b17ee6493a07225d2698260db2bdc220e01d166ac42b5fb62f809d1e2eb84419c6e6abb3e14 WHIRLPOOL c3ba7155b5d376041d750c42f1ff8f8dec5bdbfedb470dea483a665978ef3982f087cb7a521f7892c264bb38d0876e4e7a08346ae4579338ba698ae7ee4ba456
 DIST netbeans-trunk-nightly-201501210001-src.zip 201405381 SHA256 95369f4a232531feb195f2d41c14b7ec9791bbd86282fc8155bb1828affe6afa SHA512 4e710bc5905ea83167152e3252a4309d6a4f6fe8f0ccd8f50bd6389635cb2c4fa1cda60c9c9df8d70149ef84bba66527a8c94b1822710421aa704d374a0132b5 WHIRLPOOL c6780c694d1acabd53ca2b23ac660d587b02f63f3f8b5a98c7e293af4e099dfc46dcd5dcd939d7133edb5885388150fd28723b6325678519a80f2cd0ea673ac8
+DIST netbeans-trunk-nightly-201501220002-src.zip 201432275 SHA256 1969c39ce22136b5ff98f7959bf96088b7caaf9ea46df54ff0ed01ca857de8df SHA512 dae7c345289746e85ea6bf99a6352fcb53ec02c8828bf447a686aed0cea577de11e75e89451abf76a1dee3b1d91aaa204dbbe3057ca40c58759f16a4d768b7a9 WHIRLPOOL 39163c8ccac8111c9ab2a0787a2bd137a680bd16eccf4a7e526cfe34c74df0efa957b320df52b92fe9f1dbd134e7e2b2e1479c237b78e7a060c3893aac8838f9
 EBUILD netbeans-websvccommon-7.0.1.ebuild 2692 SHA256 a18cf7fe0a1e38749826cb12651be06c210b038be50117647496ee6cbd184cda SHA512 32b32894713d7235ebd03446c5c411d22eb8701b96e3d3ac54eca78b2abc833babf279085cea3b74bb7bddc6d89a283a21c58a0b0462042ddd10e22dfcadeb84 WHIRLPOOL 59c18168245767acd1f8e53046f8942698237aa6fd903a669c626b7f17cf3d39247b7ae57f2984562230267885a4b6a62be43dc8a330f1dfeb2cc7acbbd7d3c6
 EBUILD netbeans-websvccommon-7.1.2.ebuild 2701 SHA256 3b2a1cf0d32db3c55b66d1c6b8c4ae2ad5487d3fdb27752468ce5c860f9b9515 SHA512 b9be64755f00157c2d6984887b8c0fdc1e34470f21df1fd72b3e399d3ec894af01c9b79fd604778213ac2086a6c96bf66366e8c2c8bf97f7fee23d16ceb36974 WHIRLPOOL 91559de8c8f6391c3c69888854778a91a1a7e0052ae69eb9762bcbd64d8bc5587fb84ebb55d7d0375da5a7855aa8672abfd035b6a38b3eeb5c23a4cd59b3cdce
 EBUILD netbeans-websvccommon-7.2.ebuild 2684 SHA256 8bf8cad1e0469713c63280620fed089600191230f501a78b834b010f8fa9b3e9 SHA512 fe885f92a7c6cfac532c8e40e4df6283253c43294e9d82ee4d0d070425496eee3792479c268b46bf1fd484f753ca1f21e7ca38a5d71816b6d4fd219082e8e276 WHIRLPOOL 9d2d622d4a800470c874d8751e9c2055e0a4ef72ad01a01aefda4e95a7f295d55fc95fdb55fdd1f631212e1f610bdc7a6b4ee631b92492bb85f73b0d9fb4ba26
@@ -74,5 +75,6 @@ EBUILD netbeans-websvccommon-9999_p20150118.ebuild 2727 SHA256 1f59d2120e206997b
 EBUILD netbeans-websvccommon-9999_p20150119.ebuild 2727 SHA256 1ac36d17eaf05534e933a128c7a8cb1bfee23f9e89e2ee15fa1245a3a3640224 SHA512 7697999c8e3054531000b2e1da48479751bda7e3ac68bd86f2ad8bcf0b2afb8d6e4abd7d99320146e8b94ad8f08d9b94a9226ca8da125f99652128cb921fbf70 WHIRLPOOL 7fb0b3acbcbfd0bd682da42e6428cfc3a80c3bdfc750404be77fdcca0661c51d86039a76bc2f8c1ba12389f712909c6ec3479803f668036fcfa2cc454d3b17fc
 EBUILD netbeans-websvccommon-9999_p20150120.ebuild 2727 SHA256 1fc1715c4144ffbe58189d38bd4eb0f056c292da8b39cfdcc77a28cdf04a06c7 SHA512 d241104d507f705aa56e05a22a981c9c26d100e22524525cac9ad9fa07f4d0665740452a5c9021d50198d499589196eec22723c2643eeba59cede092a7ec3359 WHIRLPOOL 6f1b51a34eb1b49a7b8e37efd2ec38167a750d2dabdfaae77c479d17638ace9ea8498509927e1c2b56e370c4a8d20370a407a1fbb086b7e202f0917b4ba53b47
 EBUILD netbeans-websvccommon-9999_p20150121.ebuild 2727 SHA256 a76572d45b7042d5ea496bb1a5fde5b65da7d5462e9a90b8f600e9c66829d1a8 SHA512 ced8b1a1db1ef50052d3a1a9a634b9f1bd735801c782f24d70e43c345cb3d64c7a1aeb8735c5f2216f9ed09b78b6541001a970f02e14da98433b0993b53ca928 WHIRLPOOL 522487a58482a206a3018e099990e717a39b4db3594e03558576358ffded4773de23e26dc08cdc608b6258f8542672f31e129bbecab60f731906280f50eb442a
-MISC ChangeLog 158493 SHA256 264906d423e24363e7e14a0c1542e9ac8ac2993f8c1662e767e4435a1c334ce1 SHA512 bde33dd17c6b4ae3317b5c922fdbfc0ab05ce5fcaec82e37490c9566a11ff0489e87d534df76a3549b10fd788d985292ec8e0da04e017ef066fa72e553aed16a WHIRLPOOL ac47ac3cae2999770c17b9d3c92d01605a8a24d5d3637212c6320831f7f7243169e58a21133e2f9ee4d803d180ebf9a8a71c848c84c989f6c2a69395af6075a9
+EBUILD netbeans-websvccommon-9999_p20150122.ebuild 2727 SHA256 166c0b97cf82e4e8ac0340b0178341f0702a8b5dacee9c6313ed082a46c649b1 SHA512 cf7e9b9df39949ba983dce565b7e56ce2aeaa54a7a3b3cc607bbbf1ee3104796b56ef108c205b0a6a0089c7ecc0ceabf540b4489fb8aa2cdb814255544da3b95 WHIRLPOOL bb6d1dacb0b307ff4336b9aaf85be6034a05c41c8d98406292d01f4c9668ff0129baa636eb21dfc2805d49453715f001e56a3e3cc5b6d7bc0c10981cdfc1a696
+MISC ChangeLog 158678 SHA256 50a0e23978550bb0b37df95e7136a2a15b2f0f4de50306751bd3fd1a615da41b SHA512 bbc8e956bab35ae5c4240274b6a9f294137fdf8f368107b8b4bcc43afb2cd1fb78d09c0bfb60050c3679601075d24d96e3167cd5a7e41d17381aba5c4fa78445 WHIRLPOOL e7d8e909201f0aa0dbff0c53c44cb6bde82ca680c86c4ee2cac2daa0fa162f7570a34545acad1ec3c482a8732f01448c7f2f26db023827d2c9612d6c3d236cbf
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20150122.ebuild b/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20150122.ebuild
new file mode 100644
index 0000000..de2fe57
--- /dev/null
+++ b/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20150122.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Web Services Common Cluster"
+HOMEPAGE="http://netbeans.org/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2015-01-22_00-02-29/zip/netbeans-trunk-nightly-201501220002-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-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.7
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.7
+	${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 -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	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}
+	grep -E "/websvccommon$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+	doins -r *
+
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/websvccommon
+}

diff --git a/dev-util/netbeans/ChangeLog b/dev-util/netbeans/ChangeLog
index 0f49e75..576241b 100644
--- a/dev-util/netbeans/ChangeLog
+++ b/dev-util/netbeans/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-9999_p20150122 (22 Jan 2015)
+
+  22 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-9999_p20150122.ebuild:
+  bumped to the latest sources
+
 *netbeans-9999_p20150121 (21 Jan 2015)
 
   21 Jan 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-util/netbeans/Manifest b/dev-util/netbeans/Manifest
index a4393ea..1c477bf 100644
--- a/dev-util/netbeans/Manifest
+++ b/dev-util/netbeans/Manifest
@@ -48,6 +48,7 @@ DIST netbeans-trunk-nightly-201501180001-src.zip 201391445 SHA256 b1bf4373e5b799
 DIST netbeans-trunk-nightly-201501190001-src.zip 201391445 SHA256 ce4ec7706f80732c5c6d5764fb4cb0f2f82341d668e2680ed4d12c382e8541de SHA512 232c8beecd613bafca37af997c3aae0f35caa28a3a3f381553bc3264916f606540bcb5186c8a2a52ca21ce177ed413d6907865b4b42b80c102e7c636df736628 WHIRLPOOL 2176f82b120a7f9360f3b01cb970a8fcc5078e97da90ae0e870b37a53998beca6306b5f58bf9af3a15dc403f1dbb888457a56b0657a2f972b8e01ebe1b725abe
 DIST netbeans-trunk-nightly-201501200001-src.zip 201396862 SHA256 1a9378d8f52c4f617653d096aff287cf62212af8a6f878fe54cc468e4dd4bed7 SHA512 92fd39cda2d11816b9a01e0e5c26b3f527354a69efdc940cb27d5b17ee6493a07225d2698260db2bdc220e01d166ac42b5fb62f809d1e2eb84419c6e6abb3e14 WHIRLPOOL c3ba7155b5d376041d750c42f1ff8f8dec5bdbfedb470dea483a665978ef3982f087cb7a521f7892c264bb38d0876e4e7a08346ae4579338ba698ae7ee4ba456
 DIST netbeans-trunk-nightly-201501210001-src.zip 201405381 SHA256 95369f4a232531feb195f2d41c14b7ec9791bbd86282fc8155bb1828affe6afa SHA512 4e710bc5905ea83167152e3252a4309d6a4f6fe8f0ccd8f50bd6389635cb2c4fa1cda60c9c9df8d70149ef84bba66527a8c94b1822710421aa704d374a0132b5 WHIRLPOOL c6780c694d1acabd53ca2b23ac660d587b02f63f3f8b5a98c7e293af4e099dfc46dcd5dcd939d7133edb5885388150fd28723b6325678519a80f2cd0ea673ac8
+DIST netbeans-trunk-nightly-201501220002-src.zip 201432275 SHA256 1969c39ce22136b5ff98f7959bf96088b7caaf9ea46df54ff0ed01ca857de8df SHA512 dae7c345289746e85ea6bf99a6352fcb53ec02c8828bf447a686aed0cea577de11e75e89451abf76a1dee3b1d91aaa204dbbe3057ca40c58759f16a4d768b7a9 WHIRLPOOL 39163c8ccac8111c9ab2a0787a2bd137a680bd16eccf4a7e526cfe34c74df0efa957b320df52b92fe9f1dbd134e7e2b2e1479c237b78e7a060c3893aac8838f9
 EBUILD netbeans-7.0.1-r2.ebuild 6736 SHA256 e808fba2ddb516270d93b5cf67cff60d98b37ca58a158878f2e3b3ad696cfc82 SHA512 653fb585d9eaa20fcf88d778a7f34d63c9f29f2af2153a432fcab6d977ef9619c699b19587a48b148ccf717f4b31a43859b81cff80d5d84ad273c5fa16e8f565 WHIRLPOOL 257f2466c3ad198a05db9d5e377cad2707f8a4daf1f421e516d7435670a85fd4bb5f6b3ab657ebda8cc23937e1b4e1f4acce8cccd85bccddc5a7b1f9abbde0ce
 EBUILD netbeans-7.1.2.ebuild 6976 SHA256 4222e248dfb664ccfea85d4938ad691d3685f32d8e9b33289d1dda088057261b SHA512 cc0a20bd542b61621fe08d5413611f7bcbbebf0c37d5f67c590c31324e74eb5594e72efacc86d843ff3abffc98c4859c2733c63ce6f993baf51e24d69197b64d WHIRLPOOL 30fb7b0cbf22fc39a8dabefd27a0073ce73e62ef082d55839fb7f815bb73bc5c3c24c3418ce175f355d7c64138ef7e9616da41c68b3b57a70353d16c6113daf7
 EBUILD netbeans-7.2.ebuild 7057 SHA256 29140b2779f1a24722499605101c286d05415b4f97d2363afedef711cc586067 SHA512 0776f530f9530c533b13019f7b34fc664990a16926bcff768d0a9f3b9035de82dcd2ed66425ad8da27c65aa69fe3e6be966e0a1ee1bc222949e5d42e14f7f7f1 WHIRLPOOL 9fcb95348171fb0bd8d794b80b51b2e3ce36fd84ccc81653bdd0172cbfa99791e527b33c895ebf7b4d81c228f17d4afab367eb55ceffe28df835b2d09dc8f778
@@ -82,5 +83,6 @@ EBUILD netbeans-9999_p20150118.ebuild 7216 SHA256 7a062c1b98caa319060dece145d11c
 EBUILD netbeans-9999_p20150119.ebuild 7216 SHA256 b5b2e582ed7951a59ca92f94626a75520193cf24dddc25aefcdb905740cce090 SHA512 a8b78600ab6bce97df9c43a97040e03176c591793339d8221d2f895bea009e1ba6b519db16a7c35e00c9d2e5c1ad5c4fe142c7cfe55df43ea513da3bc73dd90d WHIRLPOOL eb84493a8bbfe7b8ceb848e873ee156d174867e457a884fa3b1a28fc96b109c4fd37b65846957320089b726300010203f88d74e57a9c6bd6070f8d7529459d0d
 EBUILD netbeans-9999_p20150120.ebuild 7216 SHA256 a46b7bf70116ab124fbc25bb50bed53d93b6986204d5cd09b35ab7b982bbfc21 SHA512 c3a358dd649e655ce3860fbe52ab0071659afac6afc9afff3568765a9924c7e5b8bf3a1398c52b32e24feed5aa5e34cec4d69a5d4c37bd0553410ae816a4dcc4 WHIRLPOOL 49b0466d93ab1cbc9f3d80d483ae88d742ac37c8a0ca5c8b17ae46a8f08160466bfeb5c73e488696a1d34a8b13c6bbee6cf593d992f84fb92aad8f48797652a1
 EBUILD netbeans-9999_p20150121.ebuild 7216 SHA256 99b5df25d40b8176f19ddac7ab07df0c9d7aa835b7f5376e28786926101d039a SHA512 afe5ac269ef0109fb8c98782ee7f401ac38837a4d61e6ae4e19a1e2b434820ca8008e3ded0fb492e47fb4044213ae85ed0056a3c96c9da7351adb8fa6b6da5b1 WHIRLPOOL 4fba1b27b127a0efa04316eda04c479b569836d7cdb49b078ac0d4a26b467b0b248a14323395b8003a10d2976b0a8e1a6e4d268bcbc57d7bad5e99b0d813d3a8
-MISC ChangeLog 134989 SHA256 ee12a7bc0331ba07bd69293b9ab7b4fe2e2c7de5bb8dfe6ad85dd194e69b19de SHA512 7856fccab4b92bcc742253616f5de174b6edb879ec0c8970f78ee94abb21a362aa390b8534e1885d173bdd306fa54d9f0b9b9a954f461cdc4a65f225ed88c623 WHIRLPOOL 4f61355d92b3ba6662c7575b2f472b7ea44e7dd1fe3875b5d72e07142a31d339c32d0054af468c47cca852ac16c99e1f0828e16ec9bf1f6946a753a566707bf4
+EBUILD netbeans-9999_p20150122.ebuild 7216 SHA256 4d4b7c7906ad1ef7649ace1cfbf888cbf12d713b389d86a5f5cfc636a512876e SHA512 01dc0cad4801155fd636e961abf40dda7f88c13f2e6b6dba9dd9c73a04be7cbaf66d70e9bc7e117707ccabdedd9f25c4c00e9c18eb33f467cc9da6872f9b1f07 WHIRLPOOL 6488fe5b5013c032b9f8435c2e1adb5de6e386ad6e47f8f9226a88fe5a6deb4eb7c85bfd036086645dbb6d3f8f52454a3a0b48f48cbc41a4f1ca7f594b0fd9e7
+MISC ChangeLog 135148 SHA256 2a3cd2dd63e8359e9bfcadc0530e08646b45febe9455a8aeacfeebac285b8ef1 SHA512 d30af7d25eb56bccb96a4369635d9dfdd4100fbc4773ceba1315876d317246a491b9a3ba2f831eb28efc91097afd6d89d176d42589e7a33c0daacbe82a784ffd WHIRLPOOL fe208bf637653a65e240f6ccb096015926fcffe1b62fa9c79e778acd83a8651aa9b1f5436aa35d19f627ba5bdc12409138ce1720d93ce5522aef5ef2ce062dd9
 MISC metadata.xml 333 SHA256 a7c289d7be537b4c51bd8100bca0d8a40ceb5fb011942bbd1b286841cf3c1d0a SHA512 3f730fc27f893489524053e81a465519037a68e297f02a5d6400f85f8bfd8a20006e5515a135b8a5779ebf5951a661d99aaa8bf3b9b96141f863e134dba2265e WHIRLPOOL d37106234351185946f6dc870e9b77babd38bed88673771949d26d176d8dad4071be5f2c59bf72b139a6a35c899c2c7ac9ffde1c7b4885135d52c821780cf3d2

diff --git a/dev-util/netbeans/netbeans-9999_p20150122.ebuild b/dev-util/netbeans/netbeans-9999_p20150122.ebuild
new file mode 100644
index 0000000..891a226
--- /dev/null
+++ b/dev-util/netbeans/netbeans-9999_p20150122.ebuild
@@ -0,0 +1,264 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans IDE"
+HOMEPAGE="http://netbeans.org/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2015-01-22_00-02-29/zip/netbeans-trunk-nightly-201501220002-src.zip"
+PATCHES_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2"
+L10N_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-9999-20131010.tar.bz2"
+ALL_URLS="${SOURCE_URL} ${PATCHES_URL} ${L10N_URL}"
+SRC_URI="linguas_af? ( ${ALL_URLS} )
+	linguas_ar? ( ${ALL_URLS} )
+	linguas_bg? ( ${ALL_URLS} )
+	linguas_ca? ( ${ALL_URLS} )
+	linguas_cs? ( ${ALL_URLS} )
+	linguas_de? ( ${ALL_URLS} )
+	linguas_el? ( ${ALL_URLS} )
+	linguas_es? ( ${ALL_URLS} )
+	linguas_fr? ( ${ALL_URLS} )
+	linguas_gl? ( ${ALL_URLS} )
+	linguas_hi_IN? ( ${ALL_URLS} )
+	linguas_id? ( ${ALL_URLS} )
+	linguas_it? ( ${ALL_URLS} )
+	linguas_ja? ( ${ALL_URLS} )
+	linguas_ko? ( ${ALL_URLS} )
+	linguas_lt? ( ${ALL_URLS} )
+	linguas_nl? ( ${ALL_URLS} )
+	linguas_pl? ( ${ALL_URLS} )
+	linguas_pt_BR? ( ${ALL_URLS} )
+	linguas_pt_PT? ( ${ALL_URLS} )
+	linguas_ro? ( ${ALL_URLS} )
+	linguas_ru? ( ${ALL_URLS} )
+	linguas_si? ( ${ALL_URLS} )
+	linguas_sq? ( ${ALL_URLS} )
+	linguas_sr? ( ${ALL_URLS} )
+	linguas_sv? ( ${ALL_URLS} )
+	linguas_ta_IN? ( ${ALL_URLS} )
+	linguas_tl? ( ${ALL_URLS} )
+	linguas_tr? ( ${ALL_URLS} )
+	linguas_vi? ( ${ALL_URLS} )
+	linguas_zh_CN? ( ${ALL_URLS} )
+	linguas_zh_TW? ( ${ALL_URLS} )
+"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE_NETBEANS_MODULES="
+	+netbeans_modules_apisupport
+	netbeans_modules_cnd
+	netbeans_modules_dlight
+	netbeans_modules_enterprise
+	netbeans_modules_ergonomics
+	netbeans_modules_extide
+	netbeans_modules_groovy
+	+netbeans_modules_java
+	netbeans_modules_javacard
+	+netbeans_modules_javafx
+	netbeans_modules_mobility
+	netbeans_modules_php
+	+netbeans_modules_profiler
+	netbeans_modules_webcommon
+	+netbeans_modules_websvccommon"
+IUSE_LINGUAS="
+	linguas_af
+	linguas_ar
+	linguas_bg
+	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_si
+	linguas_sq
+	linguas_sr
+	linguas_sv
+	linguas_ta_IN
+	linguas_tl
+	linguas_tr
+	linguas_vi
+	linguas_zh_CN
+	linguas_zh_TW"
+IUSE="doc ${IUSE_NETBEANS_MODULES} ${IUSE_LINGUAS}"
+S="${WORKDIR}"
+
+DEPEND=">=virtual/jdk-1.7
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.7
+	~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_extide? ( ~dev-java/netbeans-extide-${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_javafx? ( ~dev-java/netbeans-javafx-${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_webcommon? ( ~dev-java/netbeans-webcommon-${PV} )
+	netbeans_modules_websvccommon? ( ~dev-java/netbeans-websvccommon-${PV} )
+	doc? ( ~dev-java/netbeans-javadoc-${PV} )"
+JAVA_PKG_BSFIX="off"
+NBLOCALES=""
+
+pkg_setup() {
+	for lingua in ${IUSE_LINGUAS} ; do
+		local lang=${lingua/linguas_/}
+
+		if [[ "${lang}" = "ar" ]] ; then
+			lang="ar_EG,ar_SA"
+		elif [[ "${lang}" = "es" ]] ; then
+			lang="es,es_CO"
+		elif [[ "${lang}" = "gl" ]] ; then
+			lang="gl_ES"
+		elif [[ "${lang}" = "id" ]] ; then
+			lang="in_ID"
+		elif [[ "${lang}" = "nl" ]] ; then
+			lang="nl_BE,nl_NL"
+		elif [[ "${lang}" = "tl" ]] ; then
+			lang="fil_PH"
+		fi
+
+		if use ${lingua} ; then
+			if [ -z "${NBLOCALES}" ] ; then
+				NBLOCALES="${lang}"
+			else
+				NBLOCALES="${NBLOCALES},${lang}"
+			fi
+		fi
+	done
+
+	java-pkg-2_pkg_setup
+}
+
+src_unpack() {
+	if [ -n "${NBLOCALES}" ] ; then
+		unpack $(basename ${SOURCE_URL})
+		unpack $(basename ${L10N_URL})
+
+		einfo "Deleting bundled jars..."
+		find -name "*.jar" -type f -delete
+
+		unpack netbeans-9999-r14-build.xml.patch.bz2
+	fi
+}
+
+src_prepare() {
+	if [ -n "${NBLOCALES}" ] ; then
+		einfo "Deleting bundled class files..."
+		find -name "*.class" -type f | xargs rm -vf
+
+		epatch netbeans-9999-r14-build.xml.patch
+
+		# Support for custom patches
+		if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+			local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+			if [ -n "${files}" ] ; then
+				einfo "Applying custom patches:"
+
+				for file in ${files} ; do
+					epatch "${file}"
+				done
+			fi
+		fi
+
+		einfo "Symlinking external libraries..."
+		java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+	fi
+
+	java-pkg-2_src_prepare
+}
+
+src_compile() {
+	if [ -n "${NBLOCALES}" ] ; then
+		einfo "Compiling support for locales: ${NBLOCALES}"
+		eant -f nbbuild/build.xml bootstrap || die
+		eant -Dlocales=${NBLOCALES} -Ddist.dir=../nbbuild/netbeans -Dnbms.dir="" -Dnbms.dist.dir="" \
+			-Dpermit.jdk7.builds=true -f l10n/build.xml build || die
+	fi
+}
+
+src_install() {
+	if [ -n "${NBLOCALES}" ] ; then
+		pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+		for cluster in apisupport cnd dlight enterprise ergonomics groovy harness ide java javacard javafx mobility php platform profiler webcommon websvccommon ; do
+			if [ -d "${cluster}" ] ; then
+				insinto /usr/share/netbeans-${cluster}-${SLOT}
+				doins -r ${cluster}/*
+			fi
+		done
+
+		if [ -d nb ] ; then
+			insinto /usr/share/netbeans-nb-${SLOT}/nb
+			doins -r nb/*
+		fi
+
+		popd >/dev/null || die
+	fi
+}
+
+pkg_postinst() {
+	if [ -n "${NBLOCALES}" ] ; then
+		einfo "Netbeans automatically starts with the locale you have set in your user profile, if"
+		einfo "the locale is built for Netbeans."
+		einfo "If you want to force specific locale, use --locale argument, for example:"
+		einfo "${PN}-${SLOT} --locale de"
+		einfo "${PN}-${SLOT} --locale pt:BR"
+	fi
+
+	if use linguas_ar ; then
+		einfo
+		einfo "You selected Arabic locale so you can choose either ar:EG or ar:SA variant."
+	fi
+
+	if use linguas_es ; then
+		einfo
+		einfo "You selected Spanish locale so you can choose either es or es:CO variant."
+	fi
+
+	if use linguas_gl ; then
+		einfo
+		einfo "You selected Galician locale which has locale code gl:ES in Netbeans."
+	fi
+
+	if use linguas_id ; then
+		einfo
+		einfo "You selected Indonesian locale which has locale code in:ID in Netbeans."
+	fi
+
+	if use linguas_nl ; then
+		einfo
+		einfo "You selected Dutch locale so you can choose either nl:BE or nl:NL variant."
+	fi
+
+	if use linguas_tl ; then
+		einfo
+		einfo "You selected Tagalog locale which has for Filipino locale code fil:PH in Netbeans."
+	fi
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-01-22  9:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-22  9:24 [gentoo-commits] dev/fordfrog:master commit in: dev-java/netbeans-java/, dev-java/netbeans-nb/, dev-java/netbeans-dlight/, Miroslav Šulc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox