Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 63309

Summary: app-benchmarks/jmeter uses packed jars
Product: Gentoo Linux Reporter: Thomas Matthijs (RETIRED) <axxo>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED OBSOLETE    
Severity: normal CC: gfortune, mtheunis, sandino
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 64652, 158498    
Bug Blocks: 69972    
Attachments: Suggested jdom and velocity dependency update

Description Thomas Matthijs (RETIRED) gentoo-dev 2004-09-08 08:29:29 UTC
Following the new java policy, packages shouldn't rely on packed jars, dependencies need to be added on our own packages and used.
Comment 1 Thomas Matthijs (RETIRED) gentoo-dev 2004-09-12 12:31:37 UTC
added an ebuild for dev-java/soap and dev-java/jtidy as a dependency for this
commited jmeter-2.0.1-r1 -* keyworded
deps that still need to be added:

avalon-framework
excalibur-compatibility
excalibur-i18n
excalibur-logger
Comment 2 MT 2004-09-19 12:29:50 UTC
There is a mistake in the ebuild.
The jdom dependency should be >=dev-java/jdom-1.0_beta9 and not >=dev-java/jdom-1._beta9
Comment 3 Thomas Matthijs (RETIRED) gentoo-dev 2004-09-19 12:33:16 UTC
indeed, tnx fixed in cvs
Comment 4 MT 2004-09-21 07:11:32 UTC
Got the update thanks.

I've noticed that velocity-1.4 has a dependency on jdom-1.0_beta9 and that there are changes in jdom-1.0_beta10 (the current gentoo stable version) that is incompatible with velocity-1.4. This causes build problems. Thus I suggest that DEPEND should indicate =dev-java/jdom-1.0_beta9 until velocity has been updated (they say they are updating it).

I'm still trying to determine if jdom is only needed at compile time for the generation of the docs or if it is used at runtime for something else.
I'm attaching my suggested diff.
Thanks
Comment 5 MT 2004-09-21 07:14:28 UTC
Created attachment 40089 [details]
Suggested jdom and velocity dependency update
Comment 6 MT 2004-09-21 07:20:00 UTC
Comment on attachment 40089 [details]
Suggested jdom and velocity dependency update

--- jmeter-2.0.1-r1.ebuild.orig 2004-09-19 21:36:11.000000000 +0200
+++ jmeter-2.0.1-r1.ebuild	2004-09-21 16:02:34.924014896 +0200
@@ -13,7 +13,7 @@
	>=dev-java/commons-httpclient-2.0
	dev-java/commons-collections
	>=dev-java/oro-2.0
-	>=dev-java/jdom-1.0_beta9
+	=dev-java/jdom-1.0_beta9
	>=dev-java/xerces-2.6.2-r1
	dev-java/xalan
	>=dev-java/avalon-logkit-bin-1.2
@@ -21,7 +21,7 @@
	dev-java/rhino
	dev-java/soap
	dev-java/jtidy
-	doc? ( >=dev-java/velocity-1.4 )"
+	doc? ( =dev-java/velocity-1.4 )"
 RDEPEND=">=virtual/jdk-1.3"
 LICENSE="Apache-2.0"
 SLOT="0"
@@ -47,12 +47,12 @@
	java-pkg_jar-from soap
	java-pkg_jar-from jtidy
	rm -f jorphan.jar
+	use doc && java-pkg_jar-from velocity velocity-1.4.jar velocity-1.4.jar
 }
 src_compile () {
	local antflags="package"
	use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
	use doc && antflags="${antflags} docs-all"
-	use doc && cp /usr/share/velocity/lib/velocity-*.jar $S/lib
	ant ${antflags} || die "compile problem"
 }
Comment 7 Thomas Matthijs (RETIRED) gentoo-dev 2004-09-21 07:24:41 UTC
indeed, we should also SLOT jdom
Comment 8 Thomas Matthijs (RETIRED) gentoo-dev 2004-10-07 09:31:58 UTC
*** Bug 66665 has been marked as a duplicate of this bug. ***
Comment 9 Alistair Bush (RETIRED) gentoo-dev 2007-02-04 07:12:03 UTC
There now exists a ebuild that has far few bundled jar in the migration-java-experimental-overlay.

The following dependencies have still to be meet:

excalibur-datasource-1.1.1
excalibur-instrument-1.0
excalibur-logger-1.1
excalibur-pool-1.2

These versions of these dependencies is from the latest version of jmeter.
Comment 10 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-10-03 22:11:52 UTC
Removing per last rites.