Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 271797 - dev-java/jaxme-0.5.2 depends on jdk 1.5 for xpath
Summary: dev-java/jaxme-0.5.2 depends on jdk 1.5 for xpath
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-29 19:00 UTC by Martin von Gagern
Modified: 2009-11-07 17:41 UTC (History)
0 users

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


Attachments
patch to fix building on 1.4 vm's (jaxme-0.5.2.patch,713 bytes, patch)
2009-06-22 11:44 UTC, Alistair Bush (RETIRED)
Details | Diff
use xml-apis.jar from xml-commons-external-1.3 (bug271797b.patch,776 bytes, patch)
2009-07-05 07:53 UTC, Martin von Gagern
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2009-05-29 19:00:26 UTC
Emerging dev-java/jaxme-0.5.2 using a blackdown 1.4 JDK fails:

    [javac] /var/tmp/portage/dev-java/jaxme-0.5.2/work/ws-jaxme-0.5.2/src/jaxme/org/apache/ws/jaxme/generator/impl/Inliner.java:31: package javax.xml.xpath does not exist
    [javac] import javax.xml.xpath.XPath;

 * ERROR: dev-java/jaxme-0.5.2 failed.

GENTOO_VM=blackdown-jdk-1.4.2  CLASSPATH="" JAVA_HOME="/opt/blackdown-jdk-1.4.2.03"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"

You should either depend on a 1.5 jdk (and probably jre, too). If there are separate packages providing an xpath api and implementation, they might be added as alternatives to the 1.5 jdk or jre resp.
Comment 1 Alistair Bush (RETIRED) gentoo-dev 2009-06-22 11:44:53 UTC
Created attachment 195436 [details, diff]
patch to fix building on 1.4 vm's

Hi Martin,

Would you be able to test this patch for me?  I don't have a 1.4 vm anymore.

Thanks
Comment 2 Martin von Gagern 2009-07-05 07:53:28 UTC
Created attachment 196715 [details, diff]
use xml-apis.jar from xml-commons-external-1.3

(In reply to comment #1)
> Would you be able to test this patch for me?  I don't have a 1.4 vm anymore.

Doesn't work. You named the symlink incorrectly, so it's not included in the classpath. Furthermore, xml-commons doesn't provide all required classes.
xml-commons-external-1.3 however does. I fixed the patch, now it works.
Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-11-07 17:41:22 UTC
Deps updated to 1.5, as 1.4 is under removal.