Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67823 - commons-jxpath does not compile with jdom-b10
Summary: commons-jxpath does not compile with jdom-b10
Status: RESOLVED FIXED
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: 2004-10-16 15:56 UTC by Maxwell Grender-Jones
Modified: 2005-02-03 09:25 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maxwell Grender-Jones 2004-10-16 15:56:24 UTC
commons-jxpath does not seem to compile against jdom-1.0_beta10, and as the ebuild specifies >=dev-java/jdom-1.0_beta9, this is the version that gentoo tries to compile against if it is not already present on the system.



Reproducible: Always
Steps to Reproduce:
1. Uninstall any versions of jdom you may have
2. try emerging commons-jxpath


Actual Results:  
it doesn't compile 

Expected Results:  
it should compile

to fix this bug, all that needs to be done is >= jdom-beta line needs to be
changed to = jdom-beta

i.e.
DEPEND=">=virtual/jdk-1.3
        =dev-java/servletapi-2.3*
        =dev-java/jdom-1.0_beta9
        >=dev-java/ant-1.4
        junit? ( >=dev-java/junit-3.7 )"

(where it used to read >=dev-java/jdom-1.0_beta9) and it'll compile fine.
Comment 1 Thomas Matthijs (RETIRED) gentoo-dev 2004-10-16 16:13:28 UTC
changed the dep, leaving bug open to remind me to SLOT jdom
Comment 2 Maxwell Grender-Jones 2004-10-25 02:55:24 UTC
I can't find reference to it on the jdom.org page (although it is mentioned on jason's blog), but here's a bit copied from http://jakarta.apache.org/velocity/ on the subject of the api change - should help you in your slotting.

 Notice : JDOM API Change

    As part of their effort to reach v1.0, the JDOM community has made slight modifications to their API. This will affect Velocity users that use the 'Anakia' package.

    Velocity versions 1.4 and older require using a version of JDOM older than beta10rc1. All new releases of Velocity will use JDOM beta10rc1 and 1.0 when it comes out.
Comment 3 Jan Brinkmann (RETIRED) gentoo-dev 2005-02-03 09:25:16 UTC
jdom is now slotted correctly, i've also added jdom-1.0 and jdom-1.0_beta6. please test everything, should work fine. thanks for your report.