Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109531 - Fix for classpath assumptions made by jboss-3.2.5 ebuild
Summary: Fix for classpath assumptions made by jboss-3.2.5 ebuild
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-16 21:33 UTC by Dave Nebinger
Modified: 2005-12-10 23:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
jboss-3.2.5-r1.ebuild (jboss-3.2.5-r1.ebuild,3.40 KB, text/plain)
2005-10-16 21:35 UTC, Dave Nebinger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Nebinger 2005-10-16 21:33:32 UTC
Attached find what I refer to as jboss-3.2.5-r1.ebuild.

The jboss-3.2.5.ebuild currently in portage makes some assumptions about
classpath settings and jar file availabilities, but there is nothing within the
ebuild that says "Hey, add these to your classpath before you emerge jboss".

The attached ebuild file tries (for the most part) to stick with java-config to
pull in the required classpath stuff to get jboss 3.2.5 to compile.  The
exception is the necessary j2ee.jar file...  Without a better source, I added
sun-j2ee as a dependency to pull it in (perhaps there's better choices, but I'll
leave that up to the maintainers to decide).
Comment 1 Dave Nebinger 2005-10-16 21:35:00 UTC
Created attachment 70825 [details]
jboss-3.2.5-r1.ebuild
Comment 2 Josh Nichols (RETIRED) gentoo-dev 2005-12-10 23:18:29 UTC
In the future, please submit patches against existing ebuilds instead of   
attaching the whole ebuild. This makes it easier to see what was   
changed/deleted/removed.   
   
Could you please include the logs of the errors you get when trying to build? I   
suspect that something else may be skewed, but it is hard to say without logs.  
   
The way you're tweaking the CLASSPATH seems a bit misguided to me: 
* First of all, you  would need to DEPEND/RDEPEND on the packages you will be 
calling java-config -p  on, to make sure they are available. 
* Second, there are helper functions in  java-pkg to handle this instead of 
directly calling java-config:  java-pkg_getjars is what you want in this case. 
* Thirdly, you should not need to include j2ee.jar from sun-j2ee.... JBoss 
builds its own copy of j2ee.jar.