diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2012-05-27 16:10:38 +0000 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2012-05-27 16:10:38 +0000 |
commit | eb967044d7760613a83d39a68b7c20cc8530de05 (patch) | |
tree | 0f2344096f13af06e2a91921acfff429102d8bc3 /dev-java | |
parent | Mask unreleased / alpha / beta calligra (diff) | |
download | historical-eb967044d7760613a83d39a68b7c20cc8530de05.tar.gz historical-eb967044d7760613a83d39a68b7c20cc8530de05.tar.bz2 historical-eb967044d7760613a83d39a68b7c20cc8530de05.zip |
dev-java/netbeans-java: fixed link to jta.jar
Package-Manager: portage-2.1.10.63/cvs/Linux x86_64
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/netbeans-java/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/netbeans-java/Manifest | 14 | ||||
-rw-r--r-- | dev-java/netbeans-java/netbeans-java-7.0.1-r2.ebuild | 305 | ||||
-rw-r--r-- | dev-java/netbeans-java/netbeans-java-7.1.2-r1.ebuild | 318 |
4 files changed, 634 insertions, 12 deletions
diff --git a/dev-java/netbeans-java/ChangeLog b/dev-java/netbeans-java/ChangeLog index 170ce7cde158..32711fc85352 100644 --- a/dev-java/netbeans-java/ChangeLog +++ b/dev-java/netbeans-java/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-java/netbeans-java # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-java/ChangeLog,v 1.16 2012/05/07 06:31:34 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-java/ChangeLog,v 1.17 2012/05/27 16:10:38 fordfrog Exp $ + +*netbeans-java-7.1.2-r1 (27 May 2012) +*netbeans-java-7.0.1-r2 (27 May 2012) + + 27 May 2012; Miroslav Šulc <fordfrog@gentoo.org> + +netbeans-java-7.0.1-r2.ebuild, +netbeans-java-7.1.2-r1.ebuild: + Fixed link to jta.jar 07 May 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> netbeans-java-7.1.1-r1.ebuild: diff --git a/dev-java/netbeans-java/Manifest b/dev-java/netbeans-java/Manifest index 447b4cc8838e..e0e07fe7ff98 100644 --- a/dev-java/netbeans-java/Manifest +++ b/dev-java/netbeans-java/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 - DIST 1A78676E734C72549EE6D9F166BAFE22F7CBA8CD-ant-libs-1.8.3.zip 2266616 RMD160 3c9400b92cc8a6442c871a932b128d8d5fa43f0c SHA1 1a78676e734c72549ee6d9f166bafe22f7cba8cd SHA256 0a3cff406a0146bba304253003dd8bfa5ce1ab10b115e7789f410a61e4e5294f DIST 204680C59C7D8A4A1A26B9A2ED46D0DAA6DC10B3-indexer-artifact-4.1.2.jar 24791 RMD160 ec452663b6d8591776ff44340fcd838600a65a09 SHA1 204680c59c7d8a4a1a26b9a2ed46d0daa6dc10b3 SHA256 65b2b43e50058f8fbdbc8459167abc4af65b502b6b44737a2bc71fd94d13abff DIST 23E69F0F17757673C573EBD9899727B82EF7DB7F-jaxws-2.2-api.zip 73250 RMD160 184ee3c12bf4d7af85dbc2a2467207253a680c9e SHA1 23e69f0f17757673c573ebd9899727b82ef7db7f SHA256 5682250c4b676401aac7434fb402fc740a41932dd8f85b5b4a68fb8b02d620c9 @@ -39,14 +36,9 @@ DIST netbeans-7.1.1-201203012225-src.zip 172146133 RMD160 2c8f5798bab20b2f219cbe DIST netbeans-7.1.2-201204101705-src.zip 172346251 RMD160 483068b4dceff3a82abd6b183c6675bf21ce7f00 SHA1 5bfb0ef3cc8ef08c2b20bddfcff91f59417f7478 SHA256 95df26a2eafdc88887a835b3abcf930fd0e72c1639c3e0bfceb9489e44c5865c DIST netbeans-9999-r1-build.xml.patch.bz2 2379 RMD160 9713acb05ca5c9000528dd195d5297e84103df2d SHA1 209945171a811e17ad52f63896cc4f5894a5ac0c SHA256 09cfedef0fd9d713ddc71a54848d7551ce750c15e3df00af7feef37d25260a7e EBUILD netbeans-java-7.0.1-r1.ebuild 15026 RMD160 49575eaa840b4d2cc5139c9359fda2e071053834 SHA1 02c3bca24343bed616b369ae6f3314418d974130 SHA256 612252dbf2d60a930a8ba68223fcf05ee6adb471adb4a5924b8e965e5832153c +EBUILD netbeans-java-7.0.1-r2.ebuild 15048 RMD160 c7dcd6c723b3661de571a7ae4f938110d9f0cf1c SHA1 554bd199bc2af0730d770f7c6751c3dc6d5fd485 SHA256 24360116a64a118eb5e23d7fa14ba59c85a63e0c09326e39d84c6d7a83b00aac EBUILD netbeans-java-7.1.1-r1.ebuild 14987 RMD160 5d5499b644d93d69e15db0458d9ff2a3ad51278d SHA1 7f42c09316062b2a6a52c08f582335bf7690e5c7 SHA256 030b23babbe705100f68c73d16fb355259b39f564d9162e81112a50ab462b83a +EBUILD netbeans-java-7.1.2-r1.ebuild 15009 RMD160 7738f20cafc1d043f4a66d6a18fef1f4798f03ad SHA1 49f7e96b80490f56916805297e524b2319e88303 SHA256 20c7c2939d63993857253e688daee193858eae2ef45cd3d13985da29c8d95e4c EBUILD netbeans-java-7.1.2.ebuild 14984 RMD160 9d5005d936dbc2eabe3b022180eb303598c6d05f SHA1 5b186249b41cae4ade12b825faa8882f8cfd158e SHA256 0684de4597601887e19c0fb7554e9a7c093e514c687008c36ec2b708fda28c97 -MISC ChangeLog 2734 RMD160 0bfc47095d956f13109177dd8f5983bb362fe1bf SHA1 b8edcc68ceda87e58d4dedf9ecd8a2ee756ffaa0 SHA256 640c9391bdb8e98a5cb72a59c82ccc4127337857a5fe491380105bfbf29aceab +MISC ChangeLog 2952 RMD160 7be4bbaa09cf934a8f43471c2b5c094a27e3a18e SHA1 32225259a12fcb20095225dfbecff0e62536dde6 SHA256 f119ec33afbc809c1c856c521789cbb8020b91c437d9aef31b0f3c742a94dae7 MISC metadata.xml 251 RMD160 c109b2aca38527553ce33f0d84b45662745a7bce SHA1 3089a1ae4346cc3b7c5c37df7fbc253033f542d8 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (GNU/Linux) - -iEYEAREKAAYFAk+nbE0ACgkQuUQtlDBCeQLFmQCbBUWVZgj6CGM9KgVIDxIAVYLy -Z/QAn0h5i5MkIYYaI6FWiGgmIDQsT74V -=NtI6 ------END PGP SIGNATURE----- diff --git a/dev-java/netbeans-java/netbeans-java-7.0.1-r2.ebuild b/dev-java/netbeans-java/netbeans-java-7.0.1-r2.ebuild new file mode 100644 index 000000000000..4e1c45f0b2f5 --- /dev/null +++ b/dev-java/netbeans-java/netbeans-java-7.0.1-r2.ebuild @@ -0,0 +1,305 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-java/netbeans-java-7.0.1-r2.ebuild,v 1.1 2012/05/27 16:10:38 fordfrog Exp $ + +EAPI="4" +WANT_ANT_TASKS="ant-nodeps" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Netbeans Java Cluster" +HOMEPAGE="http://netbeans.org/projects/java" +SLOT="7.0" +SOURCE_URL="http://download.netbeans.org/netbeans/7.0.1/final/zip/netbeans-7.0.1-201107282000-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-${SLOT}-build.xml-r1.patch.bz2 + http://hg.netbeans.org/binaries/FF23DBB427D09AAEC3998B50D740C42B6A3FCD61-ant-libs-1.8.2.zip + http://hg.netbeans.org/binaries/A511890049A6A9B8D675F4417721337580CBD2F9-apache-maven-3.0.3-bin.zip + http://hg.netbeans.org/binaries/B456600D274B835E1E7DDB16FD843DDAB2ED3EF1-appframework-1.0.3-doc.zip + http://hg.netbeans.org/binaries/F7BD95641780C2AAE8CB9BED1686441A1CE5E749-beansbinding-1.2.1-doc.zip + http://hg.netbeans.org/binaries/8C9BFFBCB34DB6E9C9C03413623F05375D44CE49-eclipselink-2.2.0.jar + http://hg.netbeans.org/binaries/3BCA561B1B7B284B3D3C097F92A9CD47FF485058-eclipselink-javax.persistence-2.0.jar + http://hg.netbeans.org/binaries/263D76EEB2FA35AE240DE31CFDE83C04096AE19E-eclipselink-jpa-modelgen-2.2.0.jar + http://hg.netbeans.org/binaries/59FAD2A4D4A1CFECED8149854EEEC3A7B9668927-glassfish-persistence-v2-build-58g.jar + http://hg.netbeans.org/binaries/907363E301E2279930C82BEB466BF2053C6E993B-glassfish-persistence-v2ur1-build-09d.jar + http://hg.netbeans.org/binaries/C8A5E0D558EA7E7349F9D32B838553D5E7DD214F-hibernate-3.2.5-lib.zip + http://hg.netbeans.org/binaries/AF599F03E590A5992EE56F363DBD8F0F32B8787E-indexer-artifact-4.1.0.jar + http://hg.netbeans.org/binaries/CAF99EFBB25E9183609D6FBA4F63D85E7606903F-indexer-core-4.1.0.jar + http://hg.netbeans.org/binaries/ADD5DE96BF7F30DAA4EC41D70610CF72A16F58FD-javac-api-nb-7.0-b07.jar + http://hg.netbeans.org/binaries/AA6FD013C506BAC98BCE1174EACAD00383650342-javac-impl-nb-7.0-b07.jar + http://hg.netbeans.org/binaries/653A6AD1EF786BC577FC20F56E5F2B1D30423805-maven-dependency-tree-1.2.jar + http://hg.netbeans.org/binaries/2F43A634A42CC4FD2EF9E24B488AFFD6984D3411-jaxws-2.2.zip + http://hg.netbeans.org/binaries/23E69F0F17757673C573EBD9899727B82EF7DB7F-jaxws-2.2-api.zip + http://hg.netbeans.org/binaries/8ECD169E9E308C258287E4F28B03B6D6F1E55F47-jaxws-api-doc.zip + http://hg.netbeans.org/binaries/2D0D28E05BD6B6452DAAFE2B5CCB69A84EA63E5D-spring-2.5.6.SEC01.jar + http://hg.netbeans.org/binaries/D88A41174C5F85D1B791D6A8E0F8B8A1C459D6C0-spring-framework-3.0.2.RELEASE.zip" +LICENSE="|| ( CDDL GPL-2-with-linking-exception )" +KEYWORDS="~amd64 ~x86" +IUSE="" +S="${WORKDIR}" + +CDEPEND="~dev-java/netbeans-platform-${PV} + ~dev-java/netbeans-harness-${PV} + ~dev-java/netbeans-ide-${PV} + ~dev-java/netbeans-websvccommon-${PV} + dev-java/appframework:0 + dev-java/beansbinding:0 + dev-java/cglib:2.2 + dev-java/jdom:1.0 + dev-java/swing-worker:0" +DEPEND="virtual/jdk:1.6 + app-arch/unzip + ${CDEPEND} + dev-java/javahelp:0" +RDEPEND=">=virtual/jdk-1.6 + ${CDEPEND} + dev-java/absolutelayout:0 + dev-java/antlr:0[java] + dev-java/asm:2.2 + dev-java/cglib:2.1 + dev-java/commons-collections:0 + dev-java/dom4j:1 + dev-java/ehcache:1.2 + dev-java/fastinfoset:0 + dev-java/javassist:3 + dev-java/jsr67:0 + dev-java/jsr181:0 + dev-java/jsr250:0 + dev-java/glassfish-transaction-api:0 + dev-java/jtidy:0 + >=dev-java/maven-bin-3.0.3:3.0 + dev-java/saaj:0 + dev-java/stax-ex:0 + dev-java/xmlstreambuffer:0" + +INSTALL_DIR="/usr/share/${PN}-${SLOT}" + +EANT_BUILD_XML="nbbuild/build.xml" +EANT_BUILD_TARGET="rebuild-cluster" +EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.java -Dext.binaries.downloaded=true" +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-7.0-build.xml-r1.patch.bz2 + + pushd "${S}" >/dev/null || die + ln -s "${DISTDIR}"/FF23DBB427D09AAEC3998B50D740C42B6A3FCD61-ant-libs-1.8.2.zip o.apache.tools.ant.module/external/ant-libs-1.8.2.zip || die + ln -s "${DISTDIR}"/A511890049A6A9B8D675F4417721337580CBD2F9-apache-maven-3.0.3-bin.zip maven.embedder/external/apache-maven-3.0.3-bin.zip || die + ln -s "${DISTDIR}"/B456600D274B835E1E7DDB16FD843DDAB2ED3EF1-appframework-1.0.3-doc.zip swingapp/external/appframework-1.0.3-doc.zip || die + ln -s "${DISTDIR}"/F7BD95641780C2AAE8CB9BED1686441A1CE5E749-beansbinding-1.2.1-doc.zip o.jdesktop.beansbinding/external/beansbinding-1.2.1-doc.zip || die + ln -s "${DISTDIR}"/8C9BFFBCB34DB6E9C9C03413623F05375D44CE49-eclipselink-2.2.0.jar j2ee.eclipselink/external/eclipselink-2.2.0.jar || die + ln -s "${DISTDIR}"/3BCA561B1B7B284B3D3C097F92A9CD47FF485058-eclipselink-javax.persistence-2.0.jar j2ee.eclipselink/external/eclipselink-javax.persistence-2.0.jar || die + ln -s "${DISTDIR}"/263D76EEB2FA35AE240DE31CFDE83C04096AE19E-eclipselink-jpa-modelgen-2.2.0.jar j2ee.eclipselinkmodelgen/external/eclipselink-jpa-modelgen-2.2.0.jar || die + ln -s "${DISTDIR}"/59FAD2A4D4A1CFECED8149854EEEC3A7B9668927-glassfish-persistence-v2-build-58g.jar j2ee.toplinklib/external/glassfish-persistence-v2-build-58g.jar || die + ln -s "${DISTDIR}"/907363E301E2279930C82BEB466BF2053C6E993B-glassfish-persistence-v2ur1-build-09d.jar j2ee.toplinklib/external/glassfish-persistence-v2ur1-build-09d.jar || die + ln -s "${DISTDIR}"/C8A5E0D558EA7E7349F9D32B838553D5E7DD214F-hibernate-3.2.5-lib.zip hibernatelib/external/hibernate-3.2.5-lib.zip || die + ln -s "${DISTDIR}"/AF599F03E590A5992EE56F363DBD8F0F32B8787E-indexer-artifact-4.1.0.jar maven.indexer/external/indexer-artifact-4.1.0.jar || die + ln -s "${DISTDIR}"/CAF99EFBB25E9183609D6FBA4F63D85E7606903F-indexer-core-4.1.0.jar maven.indexer/external/indexer-core-4.1.0.jar || die + ln -s "${DISTDIR}"/ADD5DE96BF7F30DAA4EC41D70610CF72A16F58FD-javac-api-nb-7.0-b07.jar libs.javacapi/external/javac-api-nb-7.0-b07.jar || die + ln -s "${DISTDIR}"/AA6FD013C506BAC98BCE1174EACAD00383650342-javac-impl-nb-7.0-b07.jar libs.javacimpl/external/javac-impl-nb-7.0-b07.jar || die + ln -s "${DISTDIR}"/653A6AD1EF786BC577FC20F56E5F2B1D30423805-maven-dependency-tree-1.2.jar maven.embedder/external/maven-dependency-tree-1.2.jar || die + ln -s "${DISTDIR}"/2F43A634A42CC4FD2EF9E24B488AFFD6984D3411-jaxws-2.2.zip websvc.jaxws21/external/jaxws-2.2.zip || die + ln -s "${DISTDIR}"/23E69F0F17757673C573EBD9899727B82EF7DB7F-jaxws-2.2-api.zip websvc.jaxws21api/external/jaxws-2.2-api.zip || die + ln -s "${DISTDIR}"/8ECD169E9E308C258287E4F28B03B6D6F1E55F47-jaxws-api-doc.zip websvc.jaxws21/external/jaxws-api-doc.zip || die + ln -s "${DISTDIR}"/2D0D28E05BD6B6452DAAFE2B5CCB69A84EA63E5D-spring-2.5.6.SEC01.jar libs.springframework/external/spring-2.5.6.SEC01.jar || die + ln -s "${DISTDIR}"/D88A41174C5F85D1B791D6A8E0F8B8A1C459D6C0-spring-framework-3.0.2.RELEASE.zip libs.springframework/external/spring-framework-3.0.2.RELEASE.zip || die + popd >/dev/null || die +} + +src_prepare() { + einfo "Deleting bundled class files..." + find -name "*.class" -type f | xargs rm -vf + + epatch netbeans-7.0-build.xml-r1.patch + sed -i "s%../o.jdesktop.layout/external%\${netbeans.dest.dir}/\${nb.cluster.platform.dir}/modules/ext%" java.examples/build.xml + + # Support for custom patches + if [ -n "${NETBEANS70_PATCHES_DIR}" -a -d "${NETBEANS70_PATCHES_DIR}" ] ; then + local files=`find "${NETBEANS70_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 --into maven.embedder/external jdom-1.0 jdom.jar jdom-1.0.jar + java-pkg_jar-from --into o.jdesktop.beansbinding/external beansbinding beansbinding.jar beansbinding-1.2.1.jar + java-pkg_jar-from --into swingapp/external appframework appframework.jar appframework-1.0.3.jar + java-pkg_jar-from --into swingapp/external swing-worker swing-worker.jar swing-worker-1.1.jar + + einfo "Linking in other clusters..." + mkdir "${S}"/nbbuild/netbeans || die + pushd "${S}"/nbbuild/netbeans >/dev/null || die + + ln -s /usr/share/netbeans-platform-${SLOT} platform || die + cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die + touch nb.cluster.platform.built + + ln -s /usr/share/netbeans-harness-${SLOT} harness || die + cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die + touch nb.cluster.harness.built + + ln -s /usr/share/netbeans-ide-${SLOT} ide || die + cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die + touch nb.cluster.ide.built + + ln -s /usr/share/netbeans-websvccommon-${SLOT} websvccommon || die + cat /usr/share/netbeans-websvccommon-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die + touch nb.cluster.websvccommon.built + + popd >/dev/null || die + + java-pkg-2_src_prepare +} + +src_install() { + pushd nbbuild/netbeans/java >/dev/null || die + + insinto ${INSTALL_DIR} + grep -E "/java$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die + + doins -r * + rm -fr "${D}"/${INSTALL_DIR}/ant/* || die + rm -fr "${D}"/${INSTALL_DIR}/maven || die + dosym /usr/share/maven-bin-3.0 ${INSTALL_DIR}/maven + + insinto ${INSTALL_DIR}/ant + dosym /usr/share/ant/bin ${INSTALL_DIR}/ant/bin + dosym /usr/share/ant/etc ${INSTALL_DIR}/ant/etc + doins -r ant/extra + dosym /usr/share/ant/lib ${INSTALL_DIR}/ant/lib + doins -r ant/nblib + dosym /usr/share/ant/tasks ${INSTALL_DIR}/ant/tasks + local vertasks=$(ls -d /usr/share/ant/tasks-*) + dosym ${vertasks} ${INSTALL_DIR}/ant/$(basename ${vertasks}) # it would be better if ant would have tasks-current dir + + popd >/dev/null || die + + local instdir=/${INSTALL_DIR}/modules/ext + pushd "${D}"/${instdir} >/dev/null || die + rm AbsoluteLayout.jar && dosym /usr/share/absolutelayout/lib/absolutelayout.jar ${instdir}/AbsoluteLayout.jar || die + rm appframework-1.0.3.jar && dosym /usr/share/appframework/lib/appframework.jar ${instdir}/appframework-1.0.3.jar || die + rm beansbinding-1.2.1.jar && dosym /usr/share/beansbinding/lib/beansbinding.jar ${instdir}/beansbinding-1.2.1.jar || die + rm cglib-2.2.jar && dosym /usr/share/cglib-2.2/lib/cglib.jar ${instdir}/cglib-2.2.jar || die + # javac-api-nb-7.0-b07.jar + # javac-impl-nb-7.0-b07.jar + # org-netbeans-modules-java-j2seplatform-probe.jar + rm swing-worker-1.1.jar && dosym /usr/share/swing-worker/lib/swing-worker.jar ${instdir}/swing-worker-1.1.jar || die + popd >/dev/null || die + + local instdir=${INSTALL_DIR}/modules/ext/eclipselink + pushd "${D}"/${instdir} >/dev/null || die + # dir: eclipselink + # eclipselink-javax.persistence-2.0.jar + # eclipselink-jpa-modelgen-2.2.0.jar + # eclipselink-2.2.0.jar + popd >/dev/null || die + + local instdir=${INSTALL_DIR}/modules/ext/hibernate + pushd "${D}"/${instdir} >/dev/null || die + rm antlr-2.7.6.jar && dosym /usr/share/antlr/lib/antlr.jar ${instdir}/antlr-2.7.6.jar || die + rm asm-attrs.jar && dosym /usr/share/asm-2.2/lib/asm-attrs.jar ${instdir}/asm-attrs.jar || die + rm asm.jar && dosym /usr/share/asm-2.2/lib/asm.jar ${instdir}/asm.jar || die + rm cglib-2.1.3.jar && dosym /usr/share/cglib-2.1/lib/cglib.jar ${instdir}/cglib-2.1.3.jar || die + rm commons-collections-2.1.1.jar && dosym /usr/share/commons-collections/lib/commons-collections.jar ${instdir}/commons-collections-2.1.1.jar || die + rm dom4j-1.6.1.jar && dosym /usr/share/dom4j-1/lib/dom4j.jar ${instdir}/dom4j-1.6.1.jar || die + rm ehcache-1.2.3.jar && dosym /usr/share/ehcache-1.2/lib/ehcache.jar ${instdir}/ehcache-1.2.3.jar || die + # ejb3-persistence.jar + # hibernate-annotations.jar + # hibernate-commons-annotations.jar + # hibernate-entitymanager.jar + # hibernate-tools.jar + # hibernate3.jar + rm javassist.jar && dosym /usr/share/javassist-3/lib/javassist.jar ${instdir}/javassist.jar || die + # jdbc2_0-stdext.jar + rm jta.jar && dosym /usr/share/glassfish-transaction-api/lib/jta.jar ${instdir}/jta.jar || die + rm jtidy-r8-20060801.jar && dosym /usr/share/jtidy/lib/Tidy.jar ${instdir}/jtidy-r8-20060801.jar || die + popd >/dev/null || die + + local instdir=/${INSTALL_DIR}/modules/ext/jaxws22 + pushd "${D}"/${instdir} >/dev/null || die + rm FastInfoset.jar && dosym /usr/share/fastinfoset/lib/fastinfoset.jar ${instdir}/FastInfoset.jar || die + # gmbal-api-only.jar + # http.jar + # jaxws-rt.jar + # jaxws-tools.jar + # management-api.jar + # mimepull.jar + # policy.jar + rm saaj-impl.jar && dosym /usr/share/saaj/lib/saaj.jar ${instdir}/saaj-impl.jar || die + rm stax-ex.jar && dosym /usr/share/stax-ex/lib/stax-ex.jar ${instdir}/stax-ex.jar || die + rm streambuffer.jar && dosym /usr/share/xmlstreambuffer/lib/streambuffer.jar ${instdir}/streambuffer.jar || die + # woodstox.jar + popd >/dev/null || die + + local instdir=${INSTALL_DIR}/modules/ext/jaxws22/api + pushd "${D}"/${instdir} >/dev/null || die + # jaxws-api.jar + rm jsr181-api.jar && dosym /usr/share/jsr181/lib/jsr181.jar ${instdir}/jsr181-api.jar || die + rm jsr250-api.jar && dosym /usr/share/jsr250/lib/jsr250.jar ${instdir}/jsr250-api.jar || die + rm saaj-api.jar && dosym /usr/share/jsr67/lib/jsr67.jar ${instdir}/saaj-api.jar || die + popd >/dev/null || die + + local instdir=${INSTALL_DIR}/modules/ext/maven + pushd "${D}"/${instdir} >/dev/null || die + # indexer-artifact-3.1.0.jar + # indexer-core-3.1.0.jar + rm jdom-1.0.jar && dosym /usr/share/jdom-1.0/lib/jdom.jar ${instdir}/jdom-1.0.jar || die + # maven-dependency-tree-1.2.jar + popd >/dev/null || die + + local instdir=${INSTALL_DIR}/modules/ext/spring + pushd "${D}"/${instdir} >/dev/null || die + # spring-2.5.6.SEC01.jar + popd >/dev/null || die + + local instdir=${INSTALL_DIR}/modules/ext/spring-3.0 + pushd "${D}"/${instdir} >/dev/null || die + # spring-aop-3.0.2.RELEASE.jar + # spring-asm-3.0.2.RELEASE.jar + # spring-aspects-3.0.2.RELEASE.jar + # spring-beans-3.0.2.RELEASE.jar + # spring-context-support-3.0.2.RELEASE.jar + # spring-context-3.0.2.RELEASE.jar + # spring-core-3.0.2.RELEASE.jar + # spring-expression-3.0.2.RELEASE.jar + # spring-instrument-tomcat-3.0.2.RELEASE.jar + # spring-instrument-3.0.2.RELEASE.jar + # spring-jdbc-3.0.2.RELEASE.jar + # spring-jms-3.0.2.RELEASE.jar + # spring-orm-3.0.2.RELEASE.jar + # spring-oxm-3.0.2.RELEASE.jar + # spring-struts-3.0.2.RELEASE.jar + # spring-test-3.0.2.RELEASE.jar + # spring-tx-3.0.2.RELEASE.jar + # spring-webmvc-portlet-3.0.2.RELEASE.jar + # spring-webmvc-3.0.2.RELEASE.jar + # spring-web-3.0.2.RELEASE.jar + popd >/dev/null || die + + local instdir=${INSTALL_DIR}/modules/ext/toplink + pushd "${D}"/${instdir} >/dev/null || die + # toplink-essentials-agent.jar + # toplink-essentials.jar + popd >/dev/null || die + + dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/java +} + +pkg_postinst() { + elog "Note that if you change your version of ant, you have to re-emerge" + elog "this package to get updated the link to ant tasks of that specific" + elog "version." +} diff --git a/dev-java/netbeans-java/netbeans-java-7.1.2-r1.ebuild b/dev-java/netbeans-java/netbeans-java-7.1.2-r1.ebuild new file mode 100644 index 000000000000..8a34dff8491e --- /dev/null +++ b/dev-java/netbeans-java/netbeans-java-7.1.2-r1.ebuild @@ -0,0 +1,318 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-java/netbeans-java-7.1.2-r1.ebuild,v 1.1 2012/05/27 16:10:38 fordfrog Exp $ + +EAPI="4" +WANT_ANT_TASKS="ant-nodeps" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Netbeans Java Cluster" +HOMEPAGE="http://netbeans.org/projects/java" +SLOT="7.1" +SOURCE_URL="http://dlc.sun.com.edgesuite.net/netbeans/7.1.2/final/zip/netbeans-7.1.2-201204101705-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r1-build.xml.patch.bz2 + http://hg.netbeans.org/binaries/1A78676E734C72549EE6D9F166BAFE22F7CBA8CD-ant-libs-1.8.3.zip + http://hg.netbeans.org/binaries/29CFD351206016B67DD0D556098513D2B259C69B-apache-maven-3.0.4-bin.zip + http://hg.netbeans.org/binaries/F7BD95641780C2AAE8CB9BED1686441A1CE5E749-beansbinding-1.2.1-doc.zip + http://hg.netbeans.org/binaries/BC0919190ADD3A7FB764C8412D10A2B026CD9563-eclipselink-2.3.0.jar + http://hg.netbeans.org/binaries/7C60F22D32F56478AC25A732038E9DD7DFECF5DD-eclipselink-jpa-modelgen-2.3.0.jar + http://hg.netbeans.org/binaries/59FAD2A4D4A1CFECED8149854EEEC3A7B9668927-glassfish-persistence-v2-build-58g.jar + http://hg.netbeans.org/binaries/907363E301E2279930C82BEB466BF2053C6E993B-glassfish-persistence-v2ur1-build-09d.jar + http://hg.netbeans.org/binaries/C8A5E0D558EA7E7349F9D32B838553D5E7DD214F-hibernate-3.2.5-lib.zip + http://hg.netbeans.org/binaries/204680C59C7D8A4A1A26B9A2ED46D0DAA6DC10B3-indexer-artifact-4.1.2.jar + http://hg.netbeans.org/binaries/EA1F2B2504FC5ABCB06146D858F74A97B85A2998-indexer-core-4.1.2.jar + http://hg.netbeans.org/binaries/E90F4B2F8972AA5EF58139F16B78D5F6ACFC6EF9-javac-api-nb-7.0-b07.jar + http://hg.netbeans.org/binaries/8BA05B53DB763AA62EFD389B2F1C8CFA889079EF-javac-impl-nb-7.0-b07.jar + http://hg.netbeans.org/binaries/3BCA561B1B7B284B3D3C097F92A9CD47FF485058-javax.persistence-2.0.jar + http://hg.netbeans.org/binaries/2F43A634A42CC4FD2EF9E24B488AFFD6984D3411-jaxws-2.2.zip + http://hg.netbeans.org/binaries/23E69F0F17757673C573EBD9899727B82EF7DB7F-jaxws-2.2-api.zip + http://hg.netbeans.org/binaries/8ECD169E9E308C258287E4F28B03B6D6F1E55F47-jaxws-api-doc.zip + http://hg.netbeans.org/binaries/653A6AD1EF786BC577FC20F56E5F2B1D30423805-maven-dependency-tree-1.2.jar + http://hg.netbeans.org/binaries/3D4C3416889FDC5C149D97382020F4AC6C736377-org.eclipse.persistence.jpa.jpql_1.0.0.jar + http://hg.netbeans.org/binaries/CB686A65B6C4516A32173CB60385D02027440620-spring-2.5.6.SEC03.jar + http://hg.netbeans.org/binaries/7622CB23DAEDD9DE0ACBD16C820D3A02F94572AF-spring-framework-3.0.6.RELEASE.zip" +LICENSE="|| ( CDDL GPL-2-with-linking-exception )" +KEYWORDS="~amd64 ~x86" +IUSE="" +S="${WORKDIR}" + +CDEPEND="~dev-java/netbeans-platform-${PV} + ~dev-java/netbeans-harness-${PV} + ~dev-java/netbeans-ide-${PV} + ~dev-java/netbeans-websvccommon-${PV} + dev-java/beansbinding:0 + dev-java/cglib:2.2 + dev-java/jdom:1.0" +DEPEND="virtual/jdk:1.6 + app-arch/unzip + ${CDEPEND} + dev-java/javahelp:0 + dev-java/junit:4" +RDEPEND=">=virtual/jdk-1.6 + ${CDEPEND} + dev-java/absolutelayout:0 + dev-java/antlr:0[java] + dev-java/asm:2.2 + dev-java/cglib:2.1 + dev-java/commons-collections:0 + dev-java/dom4j:1 + dev-java/ehcache:1.2 + dev-java/fastinfoset:0 + dev-java/javassist:3 + dev-java/jsr67:0 + dev-java/jsr181:0 + dev-java/jsr250:0 + dev-java/glassfish-transaction-api:0 + dev-java/jtidy: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" +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 [ -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 + + 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-r1-build.xml.patch.bz2 + + pushd "${S}" >/dev/null || die + ln -s "${DISTDIR}"/1A78676E734C72549EE6D9F166BAFE22F7CBA8CD-ant-libs-1.8.3.zip o.apache.tools.ant.module/external/ant-libs-1.8.3.zip || die + ln -s "${DISTDIR}"/29CFD351206016B67DD0D556098513D2B259C69B-apache-maven-3.0.4-bin.zip maven.embedder/external/apache-maven-3.0.4-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}"/BC0919190ADD3A7FB764C8412D10A2B026CD9563-eclipselink-2.3.0.jar j2ee.eclipselink/external/eclipselink-2.3.0.jar || die + ln -s "${DISTDIR}"/7C60F22D32F56478AC25A732038E9DD7DFECF5DD-eclipselink-jpa-modelgen-2.3.0.jar j2ee.eclipselinkmodelgen/external/eclipselink-jpa-modelgen-2.3.0.jar || die + ln -s "${DISTDIR}"/59FAD2A4D4A1CFECED8149854EEEC3A7B9668927-glassfish-persistence-v2-build-58g.jar j2ee.toplinklib/external/glassfish-persistence-v2-build-58g.jar || die + ln -s "${DISTDIR}"/907363E301E2279930C82BEB466BF2053C6E993B-glassfish-persistence-v2ur1-build-09d.jar j2ee.toplinklib/external/glassfish-persistence-v2ur1-build-09d.jar || die + ln -s "${DISTDIR}"/C8A5E0D558EA7E7349F9D32B838553D5E7DD214F-hibernate-3.2.5-lib.zip hibernatelib/external/hibernate-3.2.5-lib.zip || die + ln -s "${DISTDIR}"/204680C59C7D8A4A1A26B9A2ED46D0DAA6DC10B3-indexer-artifact-4.1.2.jar maven.indexer/external/indexer-artifact-4.1.2.jar || die + ln -s "${DISTDIR}"/EA1F2B2504FC5ABCB06146D858F74A97B85A2998-indexer-core-4.1.2.jar maven.indexer/external/indexer-core-4.1.2.jar || die + ln -s "${DISTDIR}"/E90F4B2F8972AA5EF58139F16B78D5F6ACFC6EF9-javac-api-nb-7.0-b07.jar libs.javacapi/external/javac-api-nb-7.0-b07.jar || die + ln -s "${DISTDIR}"/8BA05B53DB763AA62EFD389B2F1C8CFA889079EF-javac-impl-nb-7.0-b07.jar libs.javacimpl/external/javac-impl-nb-7.0-b07.jar || die + ln -s "${DISTDIR}"/3BCA561B1B7B284B3D3C097F92A9CD47FF485058-javax.persistence-2.0.jar j2ee.eclipselink/external/javax.persistence-2.0.jar || die + ln -s "${DISTDIR}"/2F43A634A42CC4FD2EF9E24B488AFFD6984D3411-jaxws-2.2.zip websvc.jaxws21/external/jaxws-2.2.zip || die + ln -s "${DISTDIR}"/23E69F0F17757673C573EBD9899727B82EF7DB7F-jaxws-2.2-api.zip websvc.jaxws21api/external/jaxws-2.2-api.zip || die + ln -s "${DISTDIR}"/8ECD169E9E308C258287E4F28B03B6D6F1E55F47-jaxws-api-doc.zip websvc.jaxws21/external/jaxws-api-doc.zip || die + ln -s "${DISTDIR}"/653A6AD1EF786BC577FC20F56E5F2B1D30423805-maven-dependency-tree-1.2.jar maven.embedder/external/maven-dependency-tree-1.2.jar || die + ln -s "${DISTDIR}"/3D4C3416889FDC5C149D97382020F4AC6C736377-org.eclipse.persistence.jpa.jpql_1.0.0.jar j2ee.eclipselink/external/org.eclipse.persistence.jpa.jpql_1.0.0.jar || die + ln -s "${DISTDIR}"/CB686A65B6C4516A32173CB60385D02027440620-spring-2.5.6.SEC03.jar libs.springframework/external/spring-2.5.6.SEC03.jar || die + ln -s "${DISTDIR}"/7622CB23DAEDD9DE0ACBD16C820D3A02F94572AF-spring-framework-3.0.6.RELEASE.zip libs.springframework/external/spring-framework-3.0.6.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-r1-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.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-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 * + #rm -fr "${D}"/${INSTALL_DIR}/ant/* || die + #rm -fr "${D}"/${INSTALL_DIR}/maven || die + #dosym /usr/share/maven-bin-3.0 ${INSTALL_DIR}/maven + chmod 755 "${D}"/${INSTALL_DIR}/maven/bin/mvn* || die + rm -fr "${D}"/${INSTALL_DIR}/maven/bin/*.bat || die + + #insinto ${INSTALL_DIR}/ant + #dosym /usr/share/ant/bin ${INSTALL_DIR}/ant/bin + #dosym /usr/share/ant/etc ${INSTALL_DIR}/ant/etc + #doins -r ant/extra + #dosym /usr/share/ant/lib ${INSTALL_DIR}/ant/lib + #doins -r ant/nblib + #dosym /usr/share/ant/tasks ${INSTALL_DIR}/ant/tasks + #local vertasks=$(ls -d /usr/share/ant/tasks-*) + #dosym ${vertasks} ${INSTALL_DIR}/ant/$(basename ${vertasks}) # it would be better if ant would have tasks-current dir + + popd >/dev/null || die + + local instdir=/${INSTALL_DIR}/modules/ext + pushd "${D}"/${instdir} >/dev/null || die + rm AbsoluteLayout.jar && dosym /usr/share/absolutelayout/lib/absolutelayout.jar ${instdir}/AbsoluteLayout.jar || die + rm beansbinding-1.2.1.jar && dosym /usr/share/beansbinding/lib/beansbinding.jar ${instdir}/beansbinding-1.2.1.jar || die + rm cglib-2.2.jar && dosym /usr/share/cglib-2.2/lib/cglib.jar ${instdir}/cglib-2.2.jar || die + # javac-api-nb-7.0-b07.jar + # javac-impl-nb-7.0-b07.jar + # org-netbeans-modules-java-j2seplatform-probe.jar + popd >/dev/null || die + + local instdir=${INSTALL_DIR}/modules/ext/eclipselink + pushd "${D}"/${instdir} >/dev/null || die + # dir: eclipselink + # eclipselink-javax.persistence-2.0.jar + # eclipselink-jpa-modelgen-2.2.0.jar + # eclipselink-2.2.0.jar + popd >/dev/null || die + + local instdir=${INSTALL_DIR}/modules/ext/hibernate + pushd "${D}"/${instdir} >/dev/null || die + rm antlr-2.7.6.jar && dosym /usr/share/antlr/lib/antlr.jar ${instdir}/antlr-2.7.6.jar || die + rm asm-attrs.jar && dosym /usr/share/asm-2.2/lib/asm-attrs.jar ${instdir}/asm-attrs.jar || die + rm asm.jar && dosym /usr/share/asm-2.2/lib/asm.jar ${instdir}/asm.jar || die + rm cglib-2.1.3.jar && dosym /usr/share/cglib-2.1/lib/cglib.jar ${instdir}/cglib-2.1.3.jar || die + rm commons-collections-2.1.1.jar && dosym /usr/share/commons-collections/lib/commons-collections.jar ${instdir}/commons-collections-2.1.1.jar || die + rm dom4j-1.6.1.jar && dosym /usr/share/dom4j-1/lib/dom4j.jar ${instdir}/dom4j-1.6.1.jar || die + rm ehcache-1.2.3.jar && dosym /usr/share/ehcache-1.2/lib/ehcache.jar ${instdir}/ehcache-1.2.3.jar || die + # ejb3-persistence.jar + # hibernate-annotations.jar + # hibernate-commons-annotations.jar + # hibernate-entitymanager.jar + # hibernate-tools.jar + # hibernate3.jar + rm javassist.jar && dosym /usr/share/javassist-3/lib/javassist.jar ${instdir}/javassist.jar || die + # jdbc2_0-stdext.jar + rm jta.jar && dosym /usr/share/glassfish-transaction-api/lib/jta.jar ${instdir}/jta.jar || die + rm jtidy-r8-20060801.jar && dosym /usr/share/jtidy/lib/Tidy.jar ${instdir}/jtidy-r8-20060801.jar || die + popd >/dev/null || die + + local instdir=/${INSTALL_DIR}/modules/ext/jaxws22 + pushd "${D}"/${instdir} >/dev/null || die + rm FastInfoset.jar && dosym /usr/share/fastinfoset/lib/fastinfoset.jar ${instdir}/FastInfoset.jar || die + # gmbal-api-only.jar + # http.jar + # jaxws-rt.jar + # jaxws-tools.jar + # management-api.jar + # mimepull.jar + # policy.jar + rm saaj-impl.jar && dosym /usr/share/saaj/lib/saaj.jar ${instdir}/saaj-impl.jar || die + rm stax-ex.jar && dosym /usr/share/stax-ex/lib/stax-ex.jar ${instdir}/stax-ex.jar || die + rm streambuffer.jar && dosym /usr/share/xmlstreambuffer/lib/streambuffer.jar ${instdir}/streambuffer.jar || die + # woodstox.jar + popd >/dev/null || die + + local instdir=${INSTALL_DIR}/modules/ext/jaxws22/api + pushd "${D}"/${instdir} >/dev/null || die + # jaxws-api.jar + rm jsr181-api.jar && dosym /usr/share/jsr181/lib/jsr181.jar ${instdir}/jsr181-api.jar || die + rm jsr250-api.jar && dosym /usr/share/jsr250/lib/jsr250.jar ${instdir}/jsr250-api.jar || die + rm saaj-api.jar && dosym /usr/share/jsr67/lib/jsr67.jar ${instdir}/saaj-api.jar || die + popd >/dev/null || die + + local instdir=${INSTALL_DIR}/modules/ext/maven + pushd "${D}"/${instdir} >/dev/null || die + # indexer-artifact-4.1.1.jar + # indexer-core-4.1.1.jar + rm jdom-1.0.jar && dosym /usr/share/jdom-1.0/lib/jdom.jar ${instdir}/jdom-1.0.jar || die + # maven-dependency-tree-1.2.jar + popd >/dev/null || die + + local instdir=${INSTALL_DIR}/modules/ext/spring + pushd "${D}"/${instdir} >/dev/null || die + # spring-2.5.6.SEC01.jar + popd >/dev/null || die + + local instdir=${INSTALL_DIR}/modules/ext/spring-3.0 + pushd "${D}"/${instdir} >/dev/null || die + # spring-aop-3.0.2.RELEASE.jar + # spring-asm-3.0.2.RELEASE.jar + # spring-aspects-3.0.2.RELEASE.jar + # spring-beans-3.0.2.RELEASE.jar + # spring-context-support-3.0.2.RELEASE.jar + # spring-context-3.0.2.RELEASE.jar + # spring-core-3.0.2.RELEASE.jar + # spring-expression-3.0.2.RELEASE.jar + # spring-instrument-tomcat-3.0.2.RELEASE.jar + # spring-instrument-3.0.2.RELEASE.jar + # spring-jdbc-3.0.2.RELEASE.jar + # spring-jms-3.0.2.RELEASE.jar + # spring-orm-3.0.2.RELEASE.jar + # spring-oxm-3.0.2.RELEASE.jar + # spring-struts-3.0.2.RELEASE.jar + # spring-test-3.0.2.RELEASE.jar + # spring-tx-3.0.2.RELEASE.jar + # spring-webmvc-portlet-3.0.2.RELEASE.jar + # spring-webmvc-3.0.2.RELEASE.jar + # spring-web-3.0.2.RELEASE.jar + popd >/dev/null || die + + local instdir=${INSTALL_DIR}/modules/ext/toplink + pushd "${D}"/${instdir} >/dev/null || die + # toplink-essentials-agent.jar + # toplink-essentials.jar + popd >/dev/null || die + + dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/java +} |