[Bug 741996] New: Ant is missing a symlink dependency to xml-commons-apis.jar
https://bugzilla.novell.com/show_bug.cgi?id=741996 https://bugzilla.novell.com/show_bug.cgi?id=741996#c0 Summary: Ant is missing a symlink dependency to xml-commons-apis.jar Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: All OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Java AssignedTo: bnc-team-java@forge.provo.novell.com ReportedBy: mail@staffan.tjernstrom.name QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1 After installing ant-1.8.2 it won't run because of a missing jar file. What appears to be the actual issue is that there is a missing dependency on xml-commons-jaxp-1.3-apis, and that the latest version of that kit does not create all the symlinks it needs. Specifically 1) ant does not appear to require xml-commons-jaxp-apis 2) xml-commons-jaxp-apis-1.3-apis does not create all the necessary symlinks in /etc/alternatives and /usr/share/java for ant to work properly. Creating a symlink for /usr/share/javaxml-commons-apis.jar pointing to /usr/share/java/xml-commons-jaxp-1.3-apis-1.3.04.jar solves the problem, but is not presumably the wholly correct solution as it should go through /etc/alternatives in a symlink chain about 4 deep looking at a working installation. Reproducible: Always Steps to Reproduce: 1.zypper in ant 2.ant Actual Results: /usr/bin/build-classpath: error: Could not find xml-commons-apis Java extension for this JVM /usr/bin/build-classpath: error: Some specified jars were not found Buildfile: build.xml does not exist! Build failed Expected Results: Buildfile: build.xml does not exist! Build failed -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=741996
https://bugzilla.novell.com/show_bug.cgi?id=741996#c1
Michal Vyskocil
https://bugzilla.novell.com/show_bug.cgi?id=741996
https://bugzilla.novell.com/show_bug.cgi?id=741996#c2
--- Comment #2 from Staffan Tjernstrom
BTW: can you remove and install xml-commons-jaxp-1.3-apis again and post me the ouput? I am curious if there are some error messages explaining why the links were not installed properly.
I went to try it, and the symlinks are now there. As a bit of a background I was working with a JeOS VM in SUSE Studio. When I select the packages in Studio, something apparently goes amiss and the symlink goes missing. When I create an appliance without the xml-commons / xml-commons-jaxp-1.3-apis and then add them manually at run-time, it all looks / works fine. So this does indeed appear to be somewhat Studio related, not the base rpm's. Apologies for confusion caused :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com