Bug 63287 - dev-java/xerces uses packed jars
Bug#: 63287 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: java@gentoo.org Reported By: axxo@gentoo.org
Component: Ebuilds
URL: 
Summary: dev-java/xerces uses packed jars
Keywords:  
Status Whiteboard: 
Opened: 2004-09-08 08:25 0000
Description:   Opened: 2004-09-08 08:25 0000
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 From Jan Brinkmann (RETIRED) 2004-12-08 09:11:05 0000 -------
Created an attachment (id=45541) [details]
xerces-2.6.2-r1.ebuild

this ebuild should remove the packed jar issue

------- Comment #2 From Jan Brinkmann (RETIRED) 2004-12-21 03:25:09 0000 -------
Created an attachment (id=46528) [details]
xerces-2.6.2-r1.ebuild

this ebuild corrects the DEPEND/RDEPEND problem i had in the past. now i know
how to resolve them correctly ;)

------- Comment #3 From Saleem Abdulrasool (RETIRED) 2004-12-22 09:52:20 0000 -------
xml-stylebook (stylebook.jar) is still needed as well as packages from
ant-tasks in the tools directory.

------- Comment #4 From Saleem Abdulrasool (RETIRED) 2004-12-25 22:54:22 0000 -------
We face evils -- Xerces has circular dependencies of the following:

Xerces (xercesImpl.jar)
Xalan which depends on Xerces (xalan.jar)
XML-Stylebook which depends on Xerces and Xalan.
Ant Optional (ant-tasks iirc in Gentoo) which depends on Xalan and Xerces.

What would be the suggested course of action?

------- Comment #5 From Jan Brinkmann (RETIRED) 2005-01-02 12:33:52 0000 -------
Created an attachment (id=47394) [details]
xerces-2.6.2-r1.ebuild

ok, updated the ebuild. this one should be suffient since all dependency issue
are now removed. i've also removed the "pointer" to the documentation which was
printed when pkg_postinst() was called.

------- Comment #6 From Jan Brinkmann (RETIRED) 2005-01-15 05:23:00 0000 -------
done for xerces-1.3.1 , i've replaced the makefile with an build.xml which
makes compiling on amd64 possible. the packed jars which come with the tools
distfile are only needed for generating the full documentation:

2. Building Documentation

   You must download the tools required for building the documentation
   from the distribution page (http://xml.apache.org/dist/). Download 
   the following tools ZIP file:

     Xerces-J-tools.x.y.z.zip

i've removed the tools zipfile from SRC_URI, generation of the javadocs is
still possible. 

------- Comment #7 From Jan Brinkmann (RETIRED) 2005-01-15 06:04:45 0000 -------
done for 2.6.2, nearly the same here. i've completly removed the tools src
tarball from SRC_URI. stylebook is only needed to generate some kind of
documentation. i've bumped the new one to xerces-2.6.2-r2 , for 1.3.1 the fixed
version is xerces-1.3.1-r1 , btw.

------- Comment #8 From Jan Brinkmann (RETIRED) 2005-01-15 07:58:59 0000 -------
done for version 2.3.0 in xerces-2.3.0-r1. fixed now