summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2007-05-04 12:41:04 +0000
committerMiroslav Šulc <fordfrog@gentoo.org>2007-05-04 12:41:04 +0000
commitb048d4ace25417d318651bc6e53cb37b886dcd9b (patch)
treed273485eef24c8d2473e6e8e211162d27b0c3ff1 /dev-util/netbeans
parentRemoved old versions. (diff)
downloadhistorical-b048d4ace25417d318651bc6e53cb37b886dcd9b.tar.gz
historical-b048d4ace25417d318651bc6e53cb37b886dcd9b.tar.bz2
historical-b048d4ace25417d318651bc6e53cb37b886dcd9b.zip
Unbundled more JARs and corrected dependencies according to new eclass patch
Package-Manager: portage-2.1.2.5
Diffstat (limited to 'dev-util/netbeans')
-rw-r--r--dev-util/netbeans/ChangeLog9
-rw-r--r--dev-util/netbeans/Manifest43
-rw-r--r--dev-util/netbeans/files/5.5-r2/jspparser-build.xml.patch11
-rw-r--r--dev-util/netbeans/files/digest-netbeans-5.5-r53
-rw-r--r--dev-util/netbeans/files/digest-netbeans-5.5-r6 (renamed from dev-util/netbeans/files/digest-netbeans-5.5-r4)0
-rw-r--r--dev-util/netbeans/netbeans-5.5-r4.ebuild488
-rw-r--r--dev-util/netbeans/netbeans-5.5-r6.ebuild (renamed from dev-util/netbeans/netbeans-5.5-r5.ebuild)257
7 files changed, 129 insertions, 682 deletions
diff --git a/dev-util/netbeans/ChangeLog b/dev-util/netbeans/ChangeLog
index b6dfe608cec1..39852d44dda4 100644
--- a/dev-util/netbeans/ChangeLog
+++ b/dev-util/netbeans/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-util/netbeans
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/ChangeLog,v 1.60 2007/05/03 09:38:13 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/ChangeLog,v 1.61 2007/05/04 12:41:04 fordfrog Exp $
+
+*netbeans-5.5-r6 (04 May 2007)
+
+ 04 May 2007; Miroslav Šulc <fordfrog@gentoo.org>
+ +files/5.5-r2/jspparser-build.xml.patch, -netbeans-5.5-r4.ebuild,
+ -netbeans-5.5-r5.ebuild, +netbeans-5.5-r6.ebuild:
+ Unbundled more JARs and corrected dependencies according to new eclass patch
03 May 2007; Petteri Räty <betelgeuse@gentoo.org> netbeans-5.5-r5.ebuild:
Pull in >=dev-java/ant-1.7.0 because the ebuild uses the new layout.
diff --git a/dev-util/netbeans/Manifest b/dev-util/netbeans/Manifest
index 414d76580b73..f81a2218464e 100644
--- a/dev-util/netbeans/Manifest
+++ b/dev-util/netbeans/Manifest
@@ -1,10 +1,11 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX 5.5-r2/jdbcstorage-build.xml-comments.patch 1967 RMD160 263b55e7d35ea2623e61453fd46f2e846401703c SHA1 2a49ea838d17bded357cbea9587cb4e83025f4c6 SHA256 82d2b0616f4b0d0624e1bb8438ff47b82b7c9375329a3eb2397d915674abf9c4
MD5 0734227595e25a5df0ecb46f96f6cd50 files/5.5-r2/jdbcstorage-build.xml-comments.patch 1967
RMD160 263b55e7d35ea2623e61453fd46f2e846401703c files/5.5-r2/jdbcstorage-build.xml-comments.patch 1967
SHA256 82d2b0616f4b0d0624e1bb8438ff47b82b7c9375329a3eb2397d915674abf9c4 files/5.5-r2/jdbcstorage-build.xml-comments.patch 1967
+AUX 5.5-r2/jspparser-build.xml.patch 710 RMD160 ea25ad5654ffcbfd1ba4d68ee646365b8b9bcdfd SHA1 41e82615101da23a4cb5716760a6ed0794bf471a SHA256 0377992a404cc03c8a3de778ce470f439a07a5d8afef20cb6581bd8c58bff649
+MD5 8191c1a68f17d6decb87dda65af1f7d6 files/5.5-r2/jspparser-build.xml.patch 710
+RMD160 ea25ad5654ffcbfd1ba4d68ee646365b8b9bcdfd files/5.5-r2/jspparser-build.xml.patch 710
+SHA256 0377992a404cc03c8a3de778ce470f439a07a5d8afef20cb6581bd8c58bff649 files/5.5-r2/jspparser-build.xml.patch 710
AUX 5.5-r2/mdrant-build.xml-comments.patch 1943 RMD160 d6c759a758aa6e2cf2cdd09f97b5894e83fe4a64 SHA1 28cf3e5f0906d564724ed816c04d4e84e1e5b4a7 SHA256 c3ffe9773503241a6ed34e4f5e293f048f3da07b7681a9bb2c1b25561d72d190
MD5 0e4b9372e42a50dec4fccec80d9af95b files/5.5-r2/mdrant-build.xml-comments.patch 1943
RMD160 d6c759a758aa6e2cf2cdd09f97b5894e83fe4a64 files/5.5-r2/mdrant-build.xml-comments.patch 1943
@@ -31,18 +32,14 @@ EBUILD netbeans-3.6-r1.ebuild 3140 RMD160 ccfc3af6a20cad06d1a41965ea607322ff123c
MD5 c88a45d50b635a08a98c7df99e63a87a netbeans-3.6-r1.ebuild 3140
RMD160 ccfc3af6a20cad06d1a41965ea607322ff123cd9 netbeans-3.6-r1.ebuild 3140
SHA256 94a9463eb85659b0a3d224a4e7e1d071125f55c2d361db6a32221391a46746bb netbeans-3.6-r1.ebuild 3140
-EBUILD netbeans-5.5-r4.ebuild 17549 RMD160 19f62634a4b27a1766afd77200fb19a53d916048 SHA1 c6f72c7e722b18b1f6c0460465a36989da126950 SHA256 ea972e0cd67db2f74be30ee2ec3bbbb3ca9b91f986f17c71971b5492da801685
-MD5 5d249c8cb2704c0d97c8f0e2f0cc4042 netbeans-5.5-r4.ebuild 17549
-RMD160 19f62634a4b27a1766afd77200fb19a53d916048 netbeans-5.5-r4.ebuild 17549
-SHA256 ea972e0cd67db2f74be30ee2ec3bbbb3ca9b91f986f17c71971b5492da801685 netbeans-5.5-r4.ebuild 17549
-EBUILD netbeans-5.5-r5.ebuild 17568 RMD160 54a197a449f71cb4cf238f627ae94da10a576e8b SHA1 b4979761a31a9afc11feead4ded3f9363888c573 SHA256 a0a746b4ecb98c39e1e7b9bf0687f8a77618601abcdfd38a724340c4e9b3e746
-MD5 194c31b826aa94547299e78fcf761b27 netbeans-5.5-r5.ebuild 17568
-RMD160 54a197a449f71cb4cf238f627ae94da10a576e8b netbeans-5.5-r5.ebuild 17568
-SHA256 a0a746b4ecb98c39e1e7b9bf0687f8a77618601abcdfd38a724340c4e9b3e746 netbeans-5.5-r5.ebuild 17568
-MISC ChangeLog 11424 RMD160 8d0ca44d0912cddfbbccf3334e19904d3d5f8469 SHA1 9c6d466bf2718ad956508b94ddf7219626f9223b SHA256 1cb8fbcfc464dd8f82fe36e8f09c0a27c58131ad1a681031d8cc082fed2f36d6
-MD5 6f4ff886dfa8afaf6c0a77925b9cdd7c ChangeLog 11424
-RMD160 8d0ca44d0912cddfbbccf3334e19904d3d5f8469 ChangeLog 11424
-SHA256 1cb8fbcfc464dd8f82fe36e8f09c0a27c58131ad1a681031d8cc082fed2f36d6 ChangeLog 11424
+EBUILD netbeans-5.5-r6.ebuild 13664 RMD160 89f1c4bfb47352558c0e26ab539cd4aa8325f89c SHA1 d1d513a9b100f03f10f685d10898f7ef13e6eb65 SHA256 60b1a897ee444840c95bf336dead699aa5ff4c237cf1c36ddc3e94034eea2ddc
+MD5 54105cb5b779ad98e7b112caa8567be8 netbeans-5.5-r6.ebuild 13664
+RMD160 89f1c4bfb47352558c0e26ab539cd4aa8325f89c netbeans-5.5-r6.ebuild 13664
+SHA256 60b1a897ee444840c95bf336dead699aa5ff4c237cf1c36ddc3e94034eea2ddc netbeans-5.5-r6.ebuild 13664
+MISC ChangeLog 11706 RMD160 41fd5238fa2fe105d512dac32bd05ae82080a5ba SHA1 3ae859b9923e0a00f6fc9a67e4dcda039fd9d501 SHA256 19a8bb864548beeb6d6cdf736001916a59baaf3dd35affac70310257f032f926
+MD5 3eba51e4ac4e6f046df4bc968e7cfda5 ChangeLog 11706
+RMD160 41fd5238fa2fe105d512dac32bd05ae82080a5ba ChangeLog 11706
+SHA256 19a8bb864548beeb6d6cdf736001916a59baaf3dd35affac70310257f032f926 ChangeLog 11706
MISC metadata.xml 1328 RMD160 4eecca7673969a73ff2ca027a39392d9b1a2f4c9 SHA1 dbea16e30375f2831e91c850baf699411fe9d1c6 SHA256 a573ece663e4ce95e27ceaf072610b6e9912dbfd580b8f3b7fc1480345ae2788
MD5 6f58315d4c3eb8d8a3c27be4f8054542 metadata.xml 1328
RMD160 4eecca7673969a73ff2ca027a39392d9b1a2f4c9 metadata.xml 1328
@@ -50,16 +47,6 @@ SHA256 a573ece663e4ce95e27ceaf072610b6e9912dbfd580b8f3b7fc1480345ae2788 metadata
MD5 4bff75c3ad42f1ea6045bb39cebeb853 files/digest-netbeans-3.6-r1 247
RMD160 f84f34da26bf479b04f759d9b2ad7f9fcd4841a1 files/digest-netbeans-3.6-r1 247
SHA256 d3c304856aab911f497e7031545584f0f325b920a00c28260f97f9bcf0fb406d files/digest-netbeans-3.6-r1 247
-MD5 f237047066edfa79b73944b48b864660 files/digest-netbeans-5.5-r4 286
-RMD160 f9ccd6b0d51aa578effc86871f374b8d419ef42a files/digest-netbeans-5.5-r4 286
-SHA256 6ccefbf351ddcc6eb05dc70fb8ba2453bbec18957ccf012e31f920e52c73e664 files/digest-netbeans-5.5-r4 286
-MD5 f237047066edfa79b73944b48b864660 files/digest-netbeans-5.5-r5 286
-RMD160 f9ccd6b0d51aa578effc86871f374b8d419ef42a files/digest-netbeans-5.5-r5 286
-SHA256 6ccefbf351ddcc6eb05dc70fb8ba2453bbec18957ccf012e31f920e52c73e664 files/digest-netbeans-5.5-r5 286
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.3 (GNU/Linux)
-
-iD8DBQFGOa2ScxLzpIGCsLQRAtVeAJ4gDI6W7K6nDpu2OtubBTQOq4Ai2wCfaDyM
-dJyunXW2M8I6AYUKO72cWWw=
-=qiPi
------END PGP SIGNATURE-----
+MD5 f237047066edfa79b73944b48b864660 files/digest-netbeans-5.5-r6 286
+RMD160 f9ccd6b0d51aa578effc86871f374b8d419ef42a files/digest-netbeans-5.5-r6 286
+SHA256 6ccefbf351ddcc6eb05dc70fb8ba2453bbec18957ccf012e31f920e52c73e664 files/digest-netbeans-5.5-r6 286
diff --git a/dev-util/netbeans/files/5.5-r2/jspparser-build.xml.patch b/dev-util/netbeans/files/5.5-r2/jspparser-build.xml.patch
new file mode 100644
index 000000000000..1bcdc63c5dd1
--- /dev/null
+++ b/dev-util/netbeans/files/5.5-r2/jspparser-build.xml.patch
@@ -0,0 +1,11 @@
+--- netbeans-src.original/web/jspparser/build.xml 2007-04-27 22:15:13.000000000 +0200
++++ netbeans-src/web/jspparser/build.xml 2007-04-27 23:06:41.000000000 +0200
+@@ -33,7 +33,7 @@
+
+ <target name="ext-compile">
+ <mkdir dir="build/extclasses"/>
+- <javac srcdir="extsrc" destdir="build/extclasses" deprecation="${build.compiler.deprecation}" debug="${build.compiler.debug}" source="1.5">
++ <javac srcdir="extsrc" destdir="build/extclasses" deprecation="${build.compiler.deprecation}" debug="${build.compiler.debug}" source="1.5" target="1.5">
+ <classpath>
+ <path path="${module.classpath}"/>
+ <path location="${cluster}/${module.jar}"/>
diff --git a/dev-util/netbeans/files/digest-netbeans-5.5-r5 b/dev-util/netbeans/files/digest-netbeans-5.5-r5
deleted file mode 100644
index 6b23ddad94dd..000000000000
--- a/dev-util/netbeans/files/digest-netbeans-5.5-r5
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 de16a300f772af6b7d29a9d8ddf5a043 netbeans-5_5-ide_sources.tar.bz2 109745446
-RMD160 075f33dbbc666ee00dc8b25281a43dcf49d84247 netbeans-5_5-ide_sources.tar.bz2 109745446
-SHA256 ee521fa4a4807cc41b567ff6bff6d927a61415a4246fd4e6cc24f511b5827999 netbeans-5_5-ide_sources.tar.bz2 109745446
diff --git a/dev-util/netbeans/files/digest-netbeans-5.5-r4 b/dev-util/netbeans/files/digest-netbeans-5.5-r6
index 6b23ddad94dd..6b23ddad94dd 100644
--- a/dev-util/netbeans/files/digest-netbeans-5.5-r4
+++ b/dev-util/netbeans/files/digest-netbeans-5.5-r6
diff --git a/dev-util/netbeans/netbeans-5.5-r4.ebuild b/dev-util/netbeans/netbeans-5.5-r4.ebuild
deleted file mode 100644
index 36fc892d4f49..000000000000
--- a/dev-util/netbeans/netbeans-5.5-r4.ebuild
+++ /dev/null
@@ -1,488 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/netbeans-5.5-r4.ebuild,v 1.1 2007/01/28 19:40:16 fordfrog Exp $
-
-inherit eutils java-pkg-2 java-ant-2 versionator
-
-DESCRIPTION="NetBeans IDE for Java"
-HOMEPAGE="http://www.netbeans.org"
-
-MY_PV=$(replace_all_version_separators '_')
-
-SRC_URI="http://us2.mirror.netbeans.org/download/${MY_PV}/fcs/200610171010/${PN}-${MY_PV}-ide_sources.tar.bz2"
-LICENSE="CDDL"
-SLOT="5.5"
-KEYWORDS="~amd64 ~x86 ~x86-fbsd"
-IUSE="debug doc"
-
-COMMON_DEPEND="
- >=dev-java/ant-1.6.3
- >=dev-java/commons-logging-1.0.4
- dev-java/flute
- >=dev-java/jakarta-jstl-1.1.2
- >=dev-java/jgoodies-forms-1.0.5
- >=dev-java/jmi-interface-1.0-r3
- >=dev-java/sun-j2ee-deployment-bin-1.1
- >=dev-java/javahelp-bin-2.0.02
- >=dev-java/jsch-0.1.24
- =dev-java/junit-3.8*
- dev-java/sac
- =dev-java/servletapi-2.2*
- =dev-java/swing-layout-1*
- >=dev-java/xerces-2.8.0
- >=dev-java/xml-commons-1.0_beta2"
-
-RDEPEND=">=virtual/jre-1.5
- dev-java/antlr
- =dev-java/commons-beanutils-1.7*
- dev-java/commons-collections
- dev-java/commons-digester
- >=dev-java/commons-fileupload-1.1
- >=dev-java/commons-io-1.2
- dev-java/commons-validator
- dev-java/jakarta-oro
- dev-java/jsr173
- dev-java/jsr181
- dev-java/jsr250
- =dev-java/struts-1.2*
- dev-java/relaxng-datatype
- dev-java/sun-fastinfoset-bin
- dev-java/sun-jaf
- dev-java/sun-javamail
- dev-java/sun-jaxb-bin
- dev-java/sun-jaxp-bin
- dev-java/sun-jaxrpc-bin
- dev-java/sun-jaxws-bin
- dev-java/sun-saaj-bin
- dev-java/sun-sjsxp-bin
- dev-java/xsdlib
- ${COMMON_DEPEND}"
-
-DEPEND=">=virtual/jdk-1.5
- dev-java/commons-el
- >=dev-java/commons-jxpath-1.1
- dev-java/glassfish-persistence
- >=dev-java/jcalendar-1.2
- >=dev-java/jdom-1.0
- dev-java/jtidy
- >=dev-java/prefuse-20060715_beta
- >=dev-java/rome-0.6
- =dev-java/servletapi-2.3*
- dev-java/sun-jmx
- >=dev-java/xml-xmlbeans-1.0.4
- >=dev-util/pmd-1.3
- ${COMMON_DEPEND}"
-
-S=${WORKDIR}/netbeans-src
-BUILDDESTINATION="${S}/nbbuild/netbeans"
-ENTERPRISE="3"
-IDE_VERSION="7"
-PLATFORM="6"
-MY_FDIR="${FILESDIR}/${SLOT}-r2"
-DESTINATION="/usr/share/netbeans-${SLOT}"
-# NOTE: We cannot turn JAVA_PKG_BSFIX="off" as build file misses target=1.5 for
-# ./enterprise3/modules/ext/jsp-parser-ext.jar which causes it to be built using
-# default target which depends on JDK used for compilation. If JDK used for
-# compilation > 1.5 then it causes bug #164256.
-
-
-src_unpack () {
- unpack ${A}
-
- # Correct invalid XML
- cd ${S}
- epatch "${MY_FDIR}/jdbcstorage-build.xml-comments.patch"
- epatch "${MY_FDIR}/mdrant-build.xml-comments.patch"
-
- # Disable the bundled Tomcat in favor of Portage installed version
- cd ${S}/nbbuild
- sed -i -e "s%tomcatint/tomcat5/bundled,%%g" *.properties
-
- place_unpack_symlinks
-}
-
-src_compile() {
- local antflags=""
-
- if use debug; then
- antflags="${antflags} -Dbuild.compiler.debug=true"
- antflags="${antflags} -Dbuild.compiler.deprecation=true"
- else
- antflags="${antflags} -Dbuild.compiler.deprecation=false"
- fi
-
- # The build will attempt to display graphical
- # dialogs for the licence agreements if this is set.
- unset DISPLAY
-
- # Fails to compile
- java-pkg_filter-compiler ecj-3.1 ecj-3.2
-
- # Specify the build-nozip target otherwise it will build
- # a zip file of the netbeans folder, which will copy directly.
- cd ${S}/nbbuild
- ANT_OPTS="-Xmx1g -Djava.awt.headless=true" eant ${antflags} -Dstop.when.broken.modules=true \
- build-nozip
- # Running build-javadoc from the same command line as build-nozip doesn't work
- # so we must run it separately
- use doc && ANT_OPTS="-Xmx1g" eant build-javadoc
-
- # Remove non-x86 Linux binaries
- find ${BUILDDESTINATION} -type f \
- -name "*.exe" -o \
- -name "*.cmd" -o \
- -name "*.bat" -o \
- -name "*.dll" \
- | xargs rm -f
-
- # Removing external stuff. They are api docs from external libs.
- rm -f ${BUILDDESTINATION}/ide${IDE_VERSION}/docs/*.zip
-
- # Remove zip files from generated javadocs.
- rm -f ${BUILDDESTINATION}/javadoc/*.zip
-
- # Use the system ant
- cd ${BUILDDESTINATION}/ide${IDE_VERSION}/ant
- rm -fr lib
- rm -fr bin
-
- # Set a initial default jdk
- echo "netbeans_jdkhome=\"\$(java-config -O)\"" >> ${BUILDDESTINATION}/etc/netbeans.conf
-
- # fix paths per bug# 163483
- sed -i -e 's:"$progdir"/../etc/:/etc/netbeans-5.5/:' ${BUILDDESTINATION}/bin/netbeans
- sed -i -e 's:"${userdir}"/etc/:/etc/netbeans-5.5/:' ${BUILDDESTINATION}/bin/netbeans
-}
-
-src_install() {
- insinto ${DESTINATION}
-
- einfo "Installing the program..."
- cd ${BUILDDESTINATION}
- doins -r *
-
- # Change location of etc files
- insinto /etc/${PN}-${SLOT}
- doins ${BUILDDESTINATION}/etc/*
- rm -fr ${D}/${DESTINATION}/etc
- dosym /etc/${PN}-${SLOT} ${DESTINATION}/etc
-
- # Replace bundled jars with system jars
- symlink_extjars ${D}/${DESTINATION}
-
- # Correct permissions on executables
- fperms 755 \
- ${DESTINATION}/bin/netbeans \
- ${DESTINATION}/platform${PLATFORM}/lib/nbexec
-
- # The wrapper wrapper :)
- newbin ${MY_FDIR}/startscript.sh netbeans-${SLOT}
-
- # Ant installation
- local ANTDIR="${DESTINATION}/ide${IDE_VERSION}/ant"
- cd ${D}/${ANTDIR}
-
- dodir /usr/share/ant-core/lib
- dosym /usr/share/ant-core/lib ${ANTDIR}/lib
-
- dodir /usr/share/ant-core/bin
- dosym /usr/share/ant-core/bin ${ANTDIR}/bin
-
- # Documentation
- einfo "Installing Documentation..."
-
- cd ${D}/${DESTINATION}
- dodoc build_info
- dohtml CREDITS.html README.html netbeans.css
- rm -f build_info CREDITS.html README.html netbeans.css
-
- use doc && java-pkg_dojavadoc ${S}/nbbuild/build/javadoc
-
- # Icons and shortcuts
- einfo "Installing icons..."
-
- dodir ${DESTINATION}/icons
- insinto ${DESTINATION}/icons
- doins ${S}/ide/branding/release/*png
-
- for res in "16x16" "24x24" "32x32" "48x48" "128x128" ; do
- dodir /usr/share/icons/hicolor/${res}/apps
- dosym ${DESTINATION}/icons/netbeans.png /usr/share/icons/hicolor/${res}/apps/netbeans.png
- done
-
- make_desktop_entry netbeans-${SLOT} "Netbeans ${SLOT}" netbeans Development
-}
-
-pkg_postinst () {
- elog "The integrated Tomcat is not installed, but you can easily "
- elog "use the system Tomcat. See Netbeans documentation if you "
- elog "don't know how to do that. The relevant settings are in the"
- elog "runtime window. "
- elog
- elog "If you are using some packages on top of Netbeans, you have"
- elog "to re-emerge them now. "
-}
-
-pkg_postrm() {
- if ! test -e /usr/bin/netbeans-${SLOT}; then
- elog "Because of the way Portage works at the moment"
- elog "symlinks to the system jars are left to:"
- elog "${DESTINATION}"
- elog "If you are uninstalling Netbeans you can safely"
- elog "remove everything in this directory"
- fi
-}
-
-# Supporting functions for this ebuild
-
-function place_unpack_symlinks() {
- # Here are listed all bundled jars, some of them cannot be replaced.
-
- # ant
- #ant/freeform/test/unit/data/example-projects/simple/lib/lib1.jar
- #ant/freeform/test/unit/data/example-projects/simple/lib/lib2.jar
- #ant/test/qa-functional/src/org/netbeans/test/gui/ant/data/antscripts.jar
-
- einfo "Symlinking jars for apisupport"
- cd ${S}/apisupport/external
- java-pkg_jar-from --build-only jdom-1.0
- java-pkg_jar-from javahelp-bin jsearch.jar jsearch-2.0_03.jar
- java-pkg_jar-from --build-only rome rome.jar rome-fetcher-0.6.jar
- java-pkg_jar-from --build-only rome rome.jar rome-0.6.jar
- #apisupport/project/test/unit/data/example-external-projects/suite3/nbplatform/platform5/core/openide.jar
- #apisupport/project/test/unit/data/example-external-projects/suite3/nbplatform/random/modules/ext/stuff.jar
- #apisupport/project/test/unit/data/example-external-projects/suite3/nbplatform/random/modules/random.jar
- #apisupport/samples/feedreader-suite/branding/core/core.jar
- #apisupport/samples/feedreader-suite/branding/modules/org-netbeans-core.jar
- #apisupport/samples/feedreader-suite/branding/modules/org-netbeans-core-windows.jar
- #apisupport/samples/PaintApp-suite/branding/core/core.jar
- #apisupport/samples/PaintApp-suite/branding/modules/org-netbeans-core.jar
- #apisupport/samples/PaintApp-suite/branding/modules/org-netbeans-core-windows.jar
- #apisupport/samples/PaintApp-suite/ColorChooser/release/modules/ext/ColorChooser.jar
-
- einfo "Symlinking jars for core"
- cd ${S}/core/external
- java-pkg_jar-from javahelp-bin jh.jar jh-2.0_03.jar
- #core/test/qa-functional/data/SampleProject/data.jar
-
- # db
- #db/core/test/unit/data/mysql5.0/mysql-connector-java-3.1.12-bin.jar
- # MISSING: db/external/fake-jdbc40.jar (no ebuild)
-
- # extbrowser
- #extbrowser/test/ExtBrowser/qa-functional/testdata/data.jar
-
- einfo "Symlinking jars for httpserver"
- cd ${S}/httpserver/external
- java-pkg_jar-from servletapi-2.2 servlet.jar servlet-2.2.jar
- # MISSING: webserver.jar (something from tomcat)
-
- # java
- # cd java/external
- #gjast.jar (netbeans stuff)
-
- einfo "Symlinking jars for junit"
- cd ${S}/junit/external
- java-pkg_jar-from junit junit.jar junit-3.8.1.jar
- #junit/test/function/lib/test.jar
-
- einfo "Symlinking jars for j2ee"
- #j2ee/archiveproject/test/qa-functional/data/jbrejb14.jar
- #j2ee/clientproject/test/unit/data/projects/ApplicationClient1/libs/jar0.jar
- #j2ee/clientproject/test/unit/data/projects/ApplicationClient1/libs/jar1.jar
- #j2ee/clientproject/test/unit/data/projects/ApplicationClient1/libs/jar2.jar
- #j2ee/ejbfreeform/test/unit/data/test-app/lib/test-lib1.jar
- #j2ee/ejbjarproject/test/unit/data/projects/EJBModule1/libs/jar0.jar
- #j2ee/ejbjarproject/test/unit/data/projects/EJBModule1/libs/jar1.jar
- #j2ee/ejbjarproject/test/unit/data/projects/EJBModule1/libs/jar2.jar
- cd ${S}/j2ee/external
- java-pkg_jar-from --build-only glassfish-persistence
- #j2ee/test/qa-functional/data/freeform_projects/cmp2/lib/junitejb.jar
- #j2ee/test/qa-functional/data/freeform_projects/cmp2/lib/junit.jar
- #j2ee/test/qa-functional/data/libs/MathLib.jar
-
- einfo "Symlinking jars for j2eeserver"
- cd ${S}/j2eeserver/external
- java-pkg_jar-from sun-j2ee-deployment-bin-1.1 sun-j2ee-deployment-bin.jar jsr88javax.jar
-
- einfo "Symlinking jars for libs"
- cd ${S}/libs/external
- java-pkg_jar-from commons-logging commons-logging.jar commons-logging-1.0.4.jar
- java-pkg_jar-from jgoodies-forms forms.jar forms-1.0.5.jar
- java-pkg_jar-from jsch jsch.jar jsch-0.1.24.jar
- java-pkg_jar-from --build-only pmd pmd.jar pmd-1.3.jar
- #resolver-1_1_nb.jar (netbeans stuff)
- java-pkg_jar-from swing-layout-1 swing-layout.jar swing-layout-1.0.jar
- java-pkg_jar-from --build-only xml-xmlbeans-1 xbean.jar xbean-1.0.4.jar
- java-pkg_jar-from xerces-2 xercesImpl.jar xerces-2.8.0.jar
- java-pkg_jar-from xml-commons xml-apis.jar xml-commons-dom-ranges-1.0.b2.jar
-
- einfo "Symlinking jars for mdr"
- cd ${S}/mdr/external
- java-pkg_jar-from jmi-interface jmi.jar jmi.jar
- java-pkg_jar-from jmi-interface mof.jar mof.jar
- #mdr/test/perf/src/org/netbeans/mdr/test/data/jmi-java.jar
- #mdr/test/perf/src/org/netbeans/mdr/test/data/mm.mysql-2.0.4-bin-1.jar
- #mdr/test/unit/src/org/netbeans/mdr/test/data/component.jar
- #mdr/test/unit/src/org/netbeans/mdr/test/data/indexedModel.jar
- #mdr/test/unit/src/org/netbeans/mdr/test/data/java-jmi.jar
- #mdr/test/unit/src/org/netbeans/mdr/test/data/pkg_inh-jmi.jar
- #mdr/test/unit/src/org/netbeans/mdr/test/data/staticFeatures.jar
- #mdr/test/unit/src/org/netbeans/mdr/test/data/text-jmi.jar
- #mdr/test/unit/src/org/netbeans/mdr/test/data/uml-14.jar
-
- einfo "Symlinking jars for nbbuild"
- cd ${S}/nbbuild/external
- java-pkg_jar-from javahelp-bin jhall.jar jhall-2.0_03.jar
- #scrambler.jar (netbeans stuff)
-
- # openide
- #openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/data/data.jar
- #openide/test/qa-functional/src/gui/explorer/data/testfiles/CopyCutPasteRenameTest/test.jar
-
- einfo "Symlinking jars for serverplugins"
- cd ${S}/serverplugins/external
- java-pkg_jar-from --build-only sun-jmx jmxri.jar jmxremote.jar
-
- einfo "Symlinking jars for tasklist"
- cd ${S}/tasklist/external
- # MISSING: ical4j.jar (no ebuild)
- java-pkg_jar-from --build-only jcalendar-1.2
- java-pkg_jar-from --build-only jtidy Tidy.jar Tidy-r7.jar
-
- einfo "Symlinking jars for web"
- cd ${S}/web/external
- java-pkg_jar-from --build-only commons-el
- # MISSING: glassfish-jspparser.jar (no ebuild)
- # MISSING: glassfish-logging.jar (no ebuild)
- java-pkg_jar-from jakarta-jstl jstl.jar jstl-1.1.2.jar
- java-pkg_jar-from --build-only servletapi-2.3 servlet.jar servlet-2.3.jar
- # MISSING: servlet2.5-jsp2.1-api.jar (no ebuild)
- java-pkg_jar-from jakarta-jstl standard.jar standard-1.1.2.jar
- #web/jspdebug/test/qa-functional/data/TestTagLibrary/jsp-api-2.0.jar
- #web/jspdebug/test/qa-functional/data/TestTagLibrary/servlet-api-2.4.jar
- #web/project/test/unit/data/projects/WebApplication1/libs/jar0.jar
- #web/project/test/unit/data/projects/WebApplication1/libs/jar1.jar
- #web/project/test/unit/data/projects/WebApplication1/libs/jar2.jar
- #web/test/qa-functional/data/PerformanceTestData/src/org/netbeans/test/performance/test.jar
-
- einfo "Symlinking jars for xml"
- cd ${S}/xml/external
- java-pkg_jar-from flute
- java-pkg_jar-from --build-only commons-jxpath commons-jxpath.jar jxpath1.1.jar
- java-pkg_jar-from --build-only prefuse-2006 prefuse.jar prefuse.jar
- #resolver-1_1_nb.jar (netbeans stuff)
- java-pkg_jar-from sac
-}
-
-function symlink_extjars() {
- einfo "Symlinking enterprise jars"
-
- cd ${1}/enterprise${ENTERPRISE}/modules/ext
- #appsrvbridge.jar (netbeans stuff)
- # MISSING: glassfish-jspparser.jar (no ebuild)
- # MISSING: glassfish-logging.jar (no ebuild)
- #jsp-parser-ext.jar (netbeans stuff)
- java-pkg_jar-from sun-j2ee-deployment-bin-1.1 sun-j2ee-deployment-bin.jar jsr88javax.jar
- java-pkg_jar-from jakarta-jstl jstl.jar
- # MISSING: persistence-tool-support.jar (no ebuild)
- # MISSING: servlet2.5-jsp2.1-api.jar (no ebuild)
- java-pkg_jar-from jakarta-jstl standard.jar
- #websvcregistry.jar (netbeans stuff)
-
- cd ${1}/enterprise${ENTERPRISE}/modules/ext/blueprints
- # MISSING: bp-ui-14.jar (no ebuild)
- # MISSING: bp-ui-5.jar (no ebuild)
- java-pkg_jar-from commons-fileupload commons-fileupload.jar commons-fileupload-1.1.1.jar
- java-pkg_jar-from commons-io-1 commons-io.jar commons-io-1.2.jar
- java-pkg_jar-from commons-logging commons-logging.jar commons-logging-1.1.jar
- # MISSING: shale-remoting.jar (no ebuild)
-
- cd ${1}/enterprise${ENTERPRISE}/modules/ext/jsf
- java-pkg_jar-from commons-beanutils-1.7 commons-beanutils.jar
- java-pkg_jar-from commons-collections commons-collections.jar
- java-pkg_jar-from commons-digester commons-digester.jar
- java-pkg_jar-from commons-logging commons-logging.jar
- # MISSING: jsf-api.jar (no ebuild)
- # MISSING: jsf-impl.jar (no ebuild)
-
- cd ${1}/enterprise${ENTERPRISE}/modules/ext/struts
- java-pkg_jar-from antlr antlr.jar
- java-pkg_jar-from commons-beanutils-1.7 commons-beanutils.jar
- java-pkg_jar-from commons-digester commons-digester.jar
- java-pkg_jar-from commons-fileupload commons-fileupload.jar
- java-pkg_jar-from commons-logging commons-logging.jar
- java-pkg_jar-from commons-validator commons-validator.jar
- java-pkg_jar-from jakarta-oro-2.0 jakarta-oro.jar
- java-pkg_jar-from struts-1.2 struts.jar
-
-
- einfo "Symlinking harness jars"
-
- cd ${1}/harness
- java-pkg_jar-from javahelp-bin jsearch.jar jsearch-2.0_03.jar
-
-
- einfo "Symlinking ide jars"
-
- cd ${1}/ide${IDE_VERSION}/modules/ext
- #AbsoluteLayout.jar (netbeans stuff)
- java-pkg_jar-from commons-logging commons-logging.jar commons-logging-1.0.4.jar
- #ddl.jar (netbeans stuff)
- java-pkg_jar-from flute
- java-pkg_jar-from jgoodies-forms forms.jar forms-1.0.5.jar
- #gjast.jar (netbeans stuff)
- #java-parser.jar (netbeans stuff)
- java-pkg_jar-from jmi-interface jmi.jar jmi.jar
- #jmiutils.jar (netbeans stuff)
- java-pkg_jar-from jsch jsch.jar jsch-0.1.24.jar
- java-pkg_jar-from junit junit.jar junit-3.8.1.jar
- #mdr.jar (netbeans stuff)
- java-pkg_jar-from jmi-interface mof.jar mof.jar
- #resolver-1_1_nb.jar (netbeans stuff)
- java-pkg_jar-from sac
- java-pkg_jar-from servletapi-2.2 servlet.jar servlet-2.2.jar
- # MISSING: webserver.jar (something from tomcat)
- java-pkg_jar-from xerces-2 xercesImpl.jar xerces-2.8.0.jar
- java-pkg_jar-from xml-commons xml-apis.jar xml-commons-dom-ranges-1.0.b2.jar
-
- cd ${1}/ide${IDE_VERSION}/modules/ext/jaxrpc16
- java-pkg_jar-from sun-jaf
- java-pkg_jar-from sun-fastinfoset-bin
- java-pkg_jar-from sun-jaxp-bin
- # MISSING: jax-qname.jar (no ebuild)
- java-pkg_jar-from sun-jaxrpc-bin jaxrpc-api.jar
- java-pkg_jar-from sun-jaxrpc-bin jaxrpc-impl.jar
- java-pkg_jar-from sun-jaxrpc-bin jaxrpc-spi.jar
- java-pkg_jar-from jsr173 jsr173.jar jsr173_api.jar
- java-pkg_jar-from sun-javamail
- java-pkg_jar-from relaxng-datatype
- java-pkg_jar-from sun-saaj-bin saaj-api.jar
- java-pkg_jar-from sun-saaj-bin saaj-impl.jar
- java-pkg_jar-from xsdlib
-
- cd ${1}/ide${IDE_VERSION}/modules/ext/jaxws20
- java-pkg_jar-from sun-jaf
- java-pkg_jar-from sun-fastinfoset-bin
- # MISSING: http.jar (no ebuild)
- java-pkg_jar-from sun-jaxb-bin jaxb-api.jar
- java-pkg_jar-from sun-jaxb-bin jaxb-impl.jar
- java-pkg_jar-from sun-jaxb-bin jaxb-xjc.jar
- java-pkg_jar-from sun-jaxws-bin jaxws-api.jar
- java-pkg_jar-from sun-jaxws-bin jaxws-rt.jar
- java-pkg_jar-from sun-jaxws-bin jaxws-tools.jar
- java-pkg_jar-from jsr173 jsr173.jar jsr173_api.jar
- java-pkg_jar-from jsr181 jsr181.jar jsr181-api.jar
- java-pkg_jar-from jsr250
- #resolver.jar (netbeans stuff)
- java-pkg_jar-from sun-saaj-bin saaj-api.jar
- java-pkg_jar-from sun-saaj-bin saaj-impl.jar
- java-pkg_jar-from sun-sjsxp-bin
-
-
- einfo "Symlinking platform jars"
- cd ${1}/platform${PLATFORM}/modules/ext
- java-pkg_jar-from javahelp-bin jh.jar jh-2.0_03.jar
- java-pkg_jar-from swing-layout-1 swing-layout.jar swing-layout-1.0.jar
- #updater.jar (netbeans stuff)
-}
diff --git a/dev-util/netbeans/netbeans-5.5-r5.ebuild b/dev-util/netbeans/netbeans-5.5-r6.ebuild
index 236f2814493c..52f1a9a92eb3 100644
--- a/dev-util/netbeans/netbeans-5.5-r5.ebuild
+++ b/dev-util/netbeans/netbeans-5.5-r6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/netbeans-5.5-r5.ebuild,v 1.2 2007/05/03 09:38:13 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/netbeans-5.5-r6.ebuild,v 1.1 2007/05/04 12:41:04 fordfrog Exp $
inherit eutils java-pkg-2 java-ant-2 versionator
@@ -12,7 +12,7 @@ MY_PV=$(replace_all_version_separators '_')
SRC_URI="http://us2.mirror.netbeans.org/download/${MY_PV}/fcs/200610171010/${PN}-${MY_PV}-ide_sources.tar.bz2"
LICENSE="CDDL"
SLOT="5.5"
-KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+KEYWORDS="~amd64 ~x86"
IUSE="debug doc"
COMMON_DEPEND="
@@ -22,12 +22,12 @@ COMMON_DEPEND="
>=dev-java/jakarta-jstl-1.1.2
>=dev-java/jgoodies-forms-1.0.5
>=dev-java/jmi-interface-1.0-r3
- >=dev-java/sun-j2ee-deployment-bin-1.1
- >=dev-java/javahelp-bin-2.0.02
+ >=dev-java/javahelp-2.0.02
>=dev-java/jsch-0.1.24
=dev-java/junit-3.8*
dev-java/sac
=dev-java/servletapi-2.2*
+ >=dev-java/sun-j2ee-deployment-bin-1.1
=dev-java/swing-layout-1*
>=dev-java/xerces-2.8.0
>=dev-java/xml-commons-1.0_beta2"
@@ -40,28 +40,35 @@ RDEPEND=">=virtual/jre-1.5
>=dev-java/commons-fileupload-1.1
>=dev-java/commons-io-1.2
dev-java/commons-validator
+ dev-java/fastinfoset
dev-java/jakarta-oro
+ dev-java/jax-rpc
+ dev-java/jax-ws
+ dev-java/jax-ws-api
+ >=dev-java/jaxb-2
+ >=dev-java/jaxb-tools-2
+ dev-java/jaxp
+ dev-java/jsr67
+ dev-java/jsr101
dev-java/jsr173
dev-java/jsr181
dev-java/jsr250
- =dev-java/struts-1.2*
dev-java/relaxng-datatype
- dev-java/sun-fastinfoset-bin
+ dev-java/saaj
+ dev-java/sjsxp
+ =dev-java/struts-1.2*
+ dev-java/sun-httpserver-bin
dev-java/sun-jaf
dev-java/sun-javamail
- dev-java/sun-jaxb-bin
- dev-java/sun-jaxp-bin
- dev-java/sun-jaxrpc-bin
- dev-java/sun-jaxws-bin
- dev-java/sun-saaj-bin
- dev-java/sun-sjsxp-bin
dev-java/xsdlib
${COMMON_DEPEND}"
-DEPEND=">=virtual/jdk-1.5
+# NOTE: netbeans cannot compile with latest JDK 1.7
+DEPEND="|| ( =virtual/jdk-1.6* =virtual/jdk-1.5* )
dev-java/commons-el
>=dev-java/commons-jxpath-1.1
dev-java/glassfish-persistence
+ dev-java/ical4j
>=dev-java/jcalendar-1.2
>=dev-java/jdom-1.0
dev-java/jtidy
@@ -80,19 +87,18 @@ IDE_VERSION="7"
PLATFORM="6"
MY_FDIR="${FILESDIR}/${SLOT}-r2"
DESTINATION="/usr/share/netbeans-${SLOT}"
-# NOTE: We cannot turn JAVA_PKG_BSFIX="off" as build file misses target=1.5 for
-# ./enterprise3/modules/ext/jsp-parser-ext.jar which causes it to be built using
-# default target which depends on JDK used for compilation. If JDK used for
-# compilation > 1.5 then it causes bug #164256.
+JAVA_PKG_BSFIX="off"
src_unpack () {
unpack ${A}
+ cd ${S}
+ find -name "*.jar" | grep "/test/" | xargs rm -v
# Correct invalid XML
- cd ${S}
epatch "${MY_FDIR}/jdbcstorage-build.xml-comments.patch"
epatch "${MY_FDIR}/mdrant-build.xml-comments.patch"
+ epatch "${MY_FDIR}/jspparser-build.xml.patch"
# Disable the bundled Tomcat in favor of Portage installed version
cd ${S}/nbbuild
@@ -172,8 +178,8 @@ src_install() {
# Correct permissions on executables
fperms 755 \
- ${DESTINATION}/bin/netbeans \
- ${DESTINATION}/platform${PLATFORM}/lib/nbexec
+ ${DESTINATION}/bin/netbeans \
+ ${DESTINATION}/platform${PLATFORM}/lib/nbexec
# The wrapper wrapper :)
newbin ${MY_FDIR}/startscript.sh netbeans-${SLOT}
@@ -236,71 +242,31 @@ pkg_postrm() {
# Supporting functions for this ebuild
-function place_unpack_symlinks() {
+place_unpack_symlinks() {
# Here are listed all bundled jars, some of them cannot be replaced.
- # ant
- #ant/freeform/test/unit/data/example-projects/simple/lib/lib1.jar
- #ant/freeform/test/unit/data/example-projects/simple/lib/lib2.jar
- #ant/test/qa-functional/src/org/netbeans/test/gui/ant/data/antscripts.jar
-
einfo "Symlinking jars for apisupport"
cd ${S}/apisupport/external
java-pkg_jar-from --build-only jdom-1.0
- java-pkg_jar-from javahelp-bin jsearch.jar jsearch-2.0_03.jar
+ java-pkg_jar-from javahelp jhall.jar jsearch-2.0_03.jar
java-pkg_jar-from --build-only rome rome.jar rome-fetcher-0.6.jar
java-pkg_jar-from --build-only rome rome.jar rome-0.6.jar
- #apisupport/project/test/unit/data/example-external-projects/suite3/nbplatform/platform5/core/openide.jar
- #apisupport/project/test/unit/data/example-external-projects/suite3/nbplatform/random/modules/ext/stuff.jar
- #apisupport/project/test/unit/data/example-external-projects/suite3/nbplatform/random/modules/random.jar
- #apisupport/samples/feedreader-suite/branding/core/core.jar
- #apisupport/samples/feedreader-suite/branding/modules/org-netbeans-core.jar
- #apisupport/samples/feedreader-suite/branding/modules/org-netbeans-core-windows.jar
- #apisupport/samples/PaintApp-suite/branding/core/core.jar
- #apisupport/samples/PaintApp-suite/branding/modules/org-netbeans-core.jar
- #apisupport/samples/PaintApp-suite/branding/modules/org-netbeans-core-windows.jar
- #apisupport/samples/PaintApp-suite/ColorChooser/release/modules/ext/ColorChooser.jar
einfo "Symlinking jars for core"
cd ${S}/core/external
- java-pkg_jar-from javahelp-bin jh.jar jh-2.0_03.jar
- #core/test/qa-functional/data/SampleProject/data.jar
-
- # db
- #db/core/test/unit/data/mysql5.0/mysql-connector-java-3.1.12-bin.jar
- # MISSING: db/external/fake-jdbc40.jar (no ebuild)
-
- # extbrowser
- #extbrowser/test/ExtBrowser/qa-functional/testdata/data.jar
+ java-pkg_jar-from javahelp jh.jar jh-2.0_03.jar
einfo "Symlinking jars for httpserver"
cd ${S}/httpserver/external
java-pkg_jar-from servletapi-2.2 servlet.jar servlet-2.2.jar
- # MISSING: webserver.jar (something from tomcat)
-
- # java
- # cd java/external
- #gjast.jar (netbeans stuff)
einfo "Symlinking jars for junit"
cd ${S}/junit/external
java-pkg_jar-from junit junit.jar junit-3.8.1.jar
- #junit/test/function/lib/test.jar
einfo "Symlinking jars for j2ee"
- #j2ee/archiveproject/test/qa-functional/data/jbrejb14.jar
- #j2ee/clientproject/test/unit/data/projects/ApplicationClient1/libs/jar0.jar
- #j2ee/clientproject/test/unit/data/projects/ApplicationClient1/libs/jar1.jar
- #j2ee/clientproject/test/unit/data/projects/ApplicationClient1/libs/jar2.jar
- #j2ee/ejbfreeform/test/unit/data/test-app/lib/test-lib1.jar
- #j2ee/ejbjarproject/test/unit/data/projects/EJBModule1/libs/jar0.jar
- #j2ee/ejbjarproject/test/unit/data/projects/EJBModule1/libs/jar1.jar
- #j2ee/ejbjarproject/test/unit/data/projects/EJBModule1/libs/jar2.jar
cd ${S}/j2ee/external
java-pkg_jar-from --build-only glassfish-persistence
- #j2ee/test/qa-functional/data/freeform_projects/cmp2/lib/junitejb.jar
- #j2ee/test/qa-functional/data/freeform_projects/cmp2/lib/junit.jar
- #j2ee/test/qa-functional/data/libs/MathLib.jar
einfo "Symlinking jars for j2eeserver"
cd ${S}/j2eeserver/external
@@ -312,7 +278,6 @@ function place_unpack_symlinks() {
java-pkg_jar-from jgoodies-forms forms.jar forms-1.0.5.jar
java-pkg_jar-from jsch jsch.jar jsch-0.1.24.jar
java-pkg_jar-from --build-only pmd pmd.jar pmd-1.3.jar
- #resolver-1_1_nb.jar (netbeans stuff)
java-pkg_jar-from swing-layout-1 swing-layout.jar swing-layout-1.0.jar
java-pkg_jar-from --build-only xml-xmlbeans-1 xbean.jar xbean-1.0.4.jar
java-pkg_jar-from xerces-2 xercesImpl.jar xerces-2.8.0.jar
@@ -322,24 +287,10 @@ function place_unpack_symlinks() {
cd ${S}/mdr/external
java-pkg_jar-from jmi-interface jmi.jar jmi.jar
java-pkg_jar-from jmi-interface mof.jar mof.jar
- #mdr/test/perf/src/org/netbeans/mdr/test/data/jmi-java.jar
- #mdr/test/perf/src/org/netbeans/mdr/test/data/mm.mysql-2.0.4-bin-1.jar
- #mdr/test/unit/src/org/netbeans/mdr/test/data/component.jar
- #mdr/test/unit/src/org/netbeans/mdr/test/data/indexedModel.jar
- #mdr/test/unit/src/org/netbeans/mdr/test/data/java-jmi.jar
- #mdr/test/unit/src/org/netbeans/mdr/test/data/pkg_inh-jmi.jar
- #mdr/test/unit/src/org/netbeans/mdr/test/data/staticFeatures.jar
- #mdr/test/unit/src/org/netbeans/mdr/test/data/text-jmi.jar
- #mdr/test/unit/src/org/netbeans/mdr/test/data/uml-14.jar
einfo "Symlinking jars for nbbuild"
cd ${S}/nbbuild/external
- java-pkg_jar-from javahelp-bin jhall.jar jhall-2.0_03.jar
- #scrambler.jar (netbeans stuff)
-
- # openide
- #openide/test/qa-functional/src/DataLoaderTests/DataObjectTest/data/data.jar
- #openide/test/qa-functional/src/gui/explorer/data/testfiles/CopyCutPasteRenameTest/test.jar
+ java-pkg_jar-from javahelp jhall.jar jhall-2.0_03.jar
einfo "Symlinking jars for serverplugins"
cd ${S}/serverplugins/external
@@ -347,143 +298,125 @@ function place_unpack_symlinks() {
einfo "Symlinking jars for tasklist"
cd ${S}/tasklist/external
- # MISSING: ical4j.jar (no ebuild)
+ java-pkg_jar-from --build-only ical4j
java-pkg_jar-from --build-only jcalendar-1.2
java-pkg_jar-from --build-only jtidy Tidy.jar Tidy-r7.jar
einfo "Symlinking jars for web"
cd ${S}/web/external
java-pkg_jar-from --build-only commons-el
- # MISSING: glassfish-jspparser.jar (no ebuild)
- # MISSING: glassfish-logging.jar (no ebuild)
java-pkg_jar-from jakarta-jstl jstl.jar jstl-1.1.2.jar
java-pkg_jar-from --build-only servletapi-2.3 servlet.jar servlet-2.3.jar
- # MISSING: servlet2.5-jsp2.1-api.jar (no ebuild)
java-pkg_jar-from jakarta-jstl standard.jar standard-1.1.2.jar
- #web/jspdebug/test/qa-functional/data/TestTagLibrary/jsp-api-2.0.jar
- #web/jspdebug/test/qa-functional/data/TestTagLibrary/servlet-api-2.4.jar
- #web/project/test/unit/data/projects/WebApplication1/libs/jar0.jar
- #web/project/test/unit/data/projects/WebApplication1/libs/jar1.jar
- #web/project/test/unit/data/projects/WebApplication1/libs/jar2.jar
- #web/test/qa-functional/data/PerformanceTestData/src/org/netbeans/test/performance/test.jar
einfo "Symlinking jars for xml"
cd ${S}/xml/external
java-pkg_jar-from flute
java-pkg_jar-from --build-only commons-jxpath commons-jxpath.jar jxpath1.1.jar
java-pkg_jar-from --build-only prefuse-2006 prefuse.jar prefuse.jar
- #resolver-1_1_nb.jar (netbeans stuff)
java-pkg_jar-from sac
}
-function symlink_extjars() {
+symlink_extjars() {
einfo "Symlinking enterprise jars"
cd ${1}/enterprise${ENTERPRISE}/modules/ext
- #appsrvbridge.jar (netbeans stuff)
- # MISSING: glassfish-jspparser.jar (no ebuild)
- # MISSING: glassfish-logging.jar (no ebuild)
- #jsp-parser-ext.jar (netbeans stuff)
java-pkg_jar-from sun-j2ee-deployment-bin-1.1 sun-j2ee-deployment-bin.jar jsr88javax.jar
java-pkg_jar-from jakarta-jstl jstl.jar
- # MISSING: persistence-tool-support.jar (no ebuild)
- # MISSING: servlet2.5-jsp2.1-api.jar (no ebuild)
java-pkg_jar-from jakarta-jstl standard.jar
- #websvcregistry.jar (netbeans stuff)
- cd ${1}/enterprise${ENTERPRISE}/modules/ext/blueprints
- # MISSING: bp-ui-14.jar (no ebuild)
- # MISSING: bp-ui-5.jar (no ebuild)
- java-pkg_jar-from commons-fileupload commons-fileupload.jar commons-fileupload-1.1.1.jar
- java-pkg_jar-from commons-io-1 commons-io.jar commons-io-1.2.jar
+ TARGET_DIR="enterprise${ENTERPRISE}/modules/ext/blueprints"
+ cd ${1}/${TARGET_DIR}
+ dosymjar ${TARGET_DIR} commons-fileupload commons-fileupload.jar commons-fileupload-1.1.1.jar
+ dosymjar ${TARGET_DIR} commons-io-1 commons-io.jar commons-io-1.2.jar
java-pkg_jar-from commons-logging commons-logging.jar commons-logging-1.1.jar
- # MISSING: shale-remoting.jar (no ebuild)
- cd ${1}/enterprise${ENTERPRISE}/modules/ext/jsf
- java-pkg_jar-from commons-beanutils-1.7 commons-beanutils.jar
- java-pkg_jar-from commons-collections commons-collections.jar
- java-pkg_jar-from commons-digester commons-digester.jar
+ TARGET_DIR="enterprise${ENTERPRISE}/modules/ext/jsf"
+ cd ${1}/${TARGET_DIR}
+ dosymjar ${TARGET_DIR} commons-beanutils-1.7 commons-beanutils.jar
+ dosymjar ${TARGET_DIR} commons-collections commons-collections.jar
+ dosymjar ${TARGET_DIR} commons-digester commons-digester.jar
java-pkg_jar-from commons-logging commons-logging.jar
- # MISSING: jsf-api.jar (no ebuild)
- # MISSING: jsf-impl.jar (no ebuild)
-
- cd ${1}/enterprise${ENTERPRISE}/modules/ext/struts
- java-pkg_jar-from antlr antlr.jar
- java-pkg_jar-from commons-beanutils-1.7 commons-beanutils.jar
- java-pkg_jar-from commons-digester commons-digester.jar
- java-pkg_jar-from commons-fileupload commons-fileupload.jar
+
+ TARGET_DIR="enterprise${ENTERPRISE}/modules/ext/struts"
+ cd ${1}/${TARGET_DIR}
+ dosymjar ${TARGET_DIR} antlr antlr.jar
+ dosymjar ${TARGET_DIR} commons-beanutils-1.7 commons-beanutils.jar
+ dosymjar ${TARGET_DIR} commons-digester commons-digester.jar
+ dosymjar ${TARGET_DIR} commons-fileupload commons-fileupload.jar
java-pkg_jar-from commons-logging commons-logging.jar
- java-pkg_jar-from commons-validator commons-validator.jar
- java-pkg_jar-from jakarta-oro-2.0 jakarta-oro.jar
- java-pkg_jar-from struts-1.2 struts.jar
+ dosymjar ${TARGET_DIR} commons-validator commons-validator.jar
+ dosymjar ${TARGET_DIR} jakarta-oro-2.0 jakarta-oro.jar
+ dosymjar ${TARGET_DIR} struts-1.2 struts.jar
einfo "Symlinking harness jars"
cd ${1}/harness
- java-pkg_jar-from javahelp-bin jsearch.jar jsearch-2.0_03.jar
+ java-pkg_jar-from javahelp jhall.jar jsearch-2.0_03.jar
einfo "Symlinking ide jars"
cd ${1}/ide${IDE_VERSION}/modules/ext
- #AbsoluteLayout.jar (netbeans stuff)
java-pkg_jar-from commons-logging commons-logging.jar commons-logging-1.0.4.jar
- #ddl.jar (netbeans stuff)
java-pkg_jar-from flute
java-pkg_jar-from jgoodies-forms forms.jar forms-1.0.5.jar
- #gjast.jar (netbeans stuff)
- #java-parser.jar (netbeans stuff)
java-pkg_jar-from jmi-interface jmi.jar jmi.jar
- #jmiutils.jar (netbeans stuff)
java-pkg_jar-from jsch jsch.jar jsch-0.1.24.jar
java-pkg_jar-from junit junit.jar junit-3.8.1.jar
- #mdr.jar (netbeans stuff)
java-pkg_jar-from jmi-interface mof.jar mof.jar
- #resolver-1_1_nb.jar (netbeans stuff)
java-pkg_jar-from sac
java-pkg_jar-from servletapi-2.2 servlet.jar servlet-2.2.jar
- # MISSING: webserver.jar (something from tomcat)
java-pkg_jar-from xerces-2 xercesImpl.jar xerces-2.8.0.jar
java-pkg_jar-from xml-commons xml-apis.jar xml-commons-dom-ranges-1.0.b2.jar
- cd ${1}/ide${IDE_VERSION}/modules/ext/jaxrpc16
- java-pkg_jar-from sun-jaf
- java-pkg_jar-from sun-fastinfoset-bin
- java-pkg_jar-from sun-jaxp-bin
- # MISSING: jax-qname.jar (no ebuild)
- java-pkg_jar-from sun-jaxrpc-bin jaxrpc-api.jar
- java-pkg_jar-from sun-jaxrpc-bin jaxrpc-impl.jar
- java-pkg_jar-from sun-jaxrpc-bin jaxrpc-spi.jar
- java-pkg_jar-from jsr173 jsr173.jar jsr173_api.jar
- java-pkg_jar-from sun-javamail
- java-pkg_jar-from relaxng-datatype
- java-pkg_jar-from sun-saaj-bin saaj-api.jar
- java-pkg_jar-from sun-saaj-bin saaj-impl.jar
- java-pkg_jar-from xsdlib
-
- cd ${1}/ide${IDE_VERSION}/modules/ext/jaxws20
- java-pkg_jar-from sun-jaf
- java-pkg_jar-from sun-fastinfoset-bin
- # MISSING: http.jar (no ebuild)
- java-pkg_jar-from sun-jaxb-bin jaxb-api.jar
- java-pkg_jar-from sun-jaxb-bin jaxb-impl.jar
- java-pkg_jar-from sun-jaxb-bin jaxb-xjc.jar
- java-pkg_jar-from sun-jaxws-bin jaxws-api.jar
- java-pkg_jar-from sun-jaxws-bin jaxws-rt.jar
- java-pkg_jar-from sun-jaxws-bin jaxws-tools.jar
- java-pkg_jar-from jsr173 jsr173.jar jsr173_api.jar
- java-pkg_jar-from jsr181 jsr181.jar jsr181-api.jar
- java-pkg_jar-from jsr250
- #resolver.jar (netbeans stuff)
- java-pkg_jar-from sun-saaj-bin saaj-api.jar
- java-pkg_jar-from sun-saaj-bin saaj-impl.jar
- java-pkg_jar-from sun-sjsxp-bin
+ TARGET_DIR="ide${IDE_VERSION}/modules/ext/jaxrpc16"
+ cd ${1}/${TARGET_DIR}
+ dosymjar ${TARGET_DIR} sun-jaf activation.jar
+ dosymjar ${TARGET_DIR} fastinfoset fastinfoset.jar FastInfoset.jar
+ dosymjar ${TARGET_DIR} jaxp jaxp-api.jar
+ dosymjar ${TARGET_DIR} jaxp jaxp-impl.jar
+ dosymjar ${TARGET_DIR} jsr101 jaxrpc-api.jar
+ dosymjar ${TARGET_DIR} jax-rpc jaxrpc-impl.jar
+ dosymjar ${TARGET_DIR} jax-rpc jaxrpc-spi.jar
+ dosymjar ${TARGET_DIR} jsr173 jsr173.jar jsr173_api.jar
+ dosymjar ${TARGET_DIR} sun-javamail mail.jar
+ dosymjar ${TARGET_DIR} relaxng-datatype relaxngDatatype.jar
+ dosymjar ${TARGET_DIR} jsr67 jsr67.jar saaj-api.jar
+ dosymjar ${TARGET_DIR} saaj saaj.jar saaj-impl.jar
+ dosymjar ${TARGET_DIR} xsdlib xsdlib.jar
+
+ TARGET_DIR="ide${IDE_VERSION}/modules/ext/jaxws20"
+ cd ${1}/${TARGET_DIR}
+ dosymjar ${TARGET_DIR} sun-jaf activation.jar
+ dosymjar ${TARGET_DIR} fastinfoset fastinfoset.jar FastInfoset.jar
+ dosymjar ${TARGET_DIR} sun-httpserver-bin-2 http.jar
+ dosymjar ${TARGET_DIR} jaxb-2 jaxb-api.jar
+ dosymjar ${TARGET_DIR} jaxb-2 jaxb-impl.jar
+ dosymjar ${TARGET_DIR} jaxb-tools-2 jaxb-tools.jar jaxb-xjc.jar
+ dosymjar ${TARGET_DIR} jax-ws-api-2 jax-ws-api.jar jaxws-api.jar
+ dosymjar ${TARGET_DIR} jax-ws-2 jax-ws.jar jaxws-rt.jar
+ dosymjar ${TARGET_DIR} jax-ws-2 jax-ws.jar jaxws-tools.jar
+ dosymjar ${TARGET_DIR} jsr173 jsr173.jar jsr173_api.jar
+ dosymjar ${TARGET_DIR} jsr181 jsr181.jar jsr181-api.jar
+ dosymjar ${TARGET_DIR} jsr250 jsr250-api.jar
+ dosymjar ${TARGET_DIR} jsr67 jsr67.jar saaj-api.jar
+ dosymjar ${TARGET_DIR} saaj saaj.jar saaj-impl.jar
+ dosymjar ${TARGET_DIR} sjsxp sjsxp.jar
einfo "Symlinking platform jars"
cd ${1}/platform${PLATFORM}/modules/ext
- java-pkg_jar-from javahelp-bin jh.jar jh-2.0_03.jar
+ java-pkg_jar-from javahelp jh.jar jh-2.0_03.jar
java-pkg_jar-from swing-layout-1 swing-layout.jar swing-layout-1.0.jar
- #updater.jar (netbeans stuff)
+}
+
+dosymjar() {
+ if [ -z "${4}" ]; then
+ TARGET_FILE="${3}"
+ else
+ TARGET_FILE="${4}"
+ fi
+ dosym /usr/share/${2}/lib/${3} ${DESTINATION}/${1}/${TARGET_FILE}
}