Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113601 - dev-java/xml-commons-1.0_beta3 (version bump)
Summary: dev-java/xml-commons-1.0_beta3 (version bump)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Java team
URL: http://svn.apache.org/repos/asf/xml/c...
Whiteboard:
Keywords:
Depends on:
Blocks: 109373 113628
  Show dependency tree
 
Reported: 2005-11-25 17:31 UTC by Wiktor Wandachowicz
Modified: 2005-12-08 23:05 UTC (History)
0 users

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


Attachments
xml-commons-1.0_beta2.ebuild.patch (xml-commons-1.0_beta2.ebuild.patch,1.89 KB, patch)
2005-11-25 17:41 UTC, Wiktor Wandachowicz
Details | Diff
1.0_beta3-jdk15-n-javadocs.patch (1.0_beta3-jdk15-n-javadocs.patch,2.70 KB, patch)
2005-11-25 17:45 UTC, Wiktor Wandachowicz
Details | Diff
trunk-20051205.diff (trunk-20051205.diff,1.41 KB, text/plain)
2005-12-05 03:51 UTC, Wiktor Wandachowicz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wiktor Wandachowicz 2005-11-25 17:31:30 UTC
This is the first patch in a series targeted against axxo overlay.
It adds the xml-commons-1.0_beta3, which contains an important update
to the xml-apis.jar. Namely, JAXP 1.3 classes.

Actually, this is an ebuild proposal. I'll post it as a patch against
existing xml-commons-1.0_beta2.ebuild

Things to note:
* This ebuild is based on the version checked out from the Apache SVN.
  See the URL that demonstrates the problem for the origin.

* Consider this package experimental. But the previous version is dated
  Feb 2002, so it was the high time it was bumped. JAXP 1.3 classes
  are required for newer xalan-2.7.0, so this package is badly needed.

* I've cleaned the source code of this "release" and I've put it on my
  home page. This is reflected in the .ebuild file with two SRC_URI
  entries - the first one commented out, and a second one pointing to
  my site. This is temporary workaround and can be removed at a request.

* I tested it currently only on ~x86 and it is keyworded as such
  (I can test it under ~amd64 in several days)

* I don't have currently jikes installed, so I haven't tested this ebuild
  against USE="jikes" flag. I just copied the existing logic from 1.0_beta2.

* I tested it against the following USE flags:
  "doc source", "doc -source", "-doc source", "-doc -source"

* The package after installation produces three .jar files:
  - xml-apis.jar (the most important)
  - which.jar
  - resolver.jar

* The last JAR is a bit problematic (I think), because similar file is
  installed by the xml-commons-resolver-1.1 package. I'd like to hear
  opinion(s) on how to deal with this. BTW. separate resolver distribution
  can be built using the same sources - quoting the "readme-build.txt":

Step 2
------
cd xml-commons/java
ant -buildfile resolver.xml dist
... Builds separate resolver distribution and copies over some relevant
Forrest-built docs.

  So probably the xml-commons-resolver could be also enhanced if required.

* The Apache team will probably release the final xml-commons-1.0, based
  on some Forrest tool. This is not needed right now, bu may be in the future.
  Just to notify interested people.


Reproducible: Always
Steps to Reproduce:
Comment 1 Wiktor Wandachowicz 2005-11-25 17:41:44 UTC
Created attachment 73616 [details, diff]
xml-commons-1.0_beta2.ebuild.patch

The patch against current dev-java/xml-commons-1.0_beta2.ebuild
Comment 2 Wiktor Wandachowicz 2005-11-25 17:45:04 UTC
Created attachment 73617 [details, diff]
1.0_beta3-jdk15-n-javadocs.patch

A patch needed for xml-commons-1.0_beta3.ebuild.
Fixes three ant's xml files for the right sources, javadocs, and classes.
Comment 3 Josh Nichols (RETIRED) gentoo-dev 2005-12-04 20:29:42 UTC
When you do a CVS/SVN snapshot, it is a generally a good idea to include info
about how it was checked out. For SVN living on http, it should be suffice to
include a URL.
Comment 4 Wiktor Wandachowicz 2005-12-05 03:48:25 UTC
(In reply to comment #3)
> When you do a CVS/SVN snapshot, it is a generally a good idea to include
> info about how it was checked out.

Ok, I'll remember that.

> For SVN living on http, it should be suffice to include a URL.

It was a trunk build, because tagged verions only include
xml-commons-1_0_b1 and xml-commons-1_0_b2.

So, the URL used was:
http://svn.apache.org/repos/asf/xml/commons/trunk/

You can find the tarball of this checkout on my webpage:
http://ics.p.lodz.pl/~wiktorw/gentoo/distfiles/xml-commons-1.0.b3.tar.gz

This is essentially the checkout done on 17 Nov 2005, excluding:
* all .svn directories
* all .cvsignore files
* xalan-src.zip and xml-xerces.zip files from contrib/jaxp13/ directory

I did a diff on the "old" and the current revision (05 Dec 2005, rev. 354051)
and the differences are minimal. There is only one file different,
java/src/org/apache/xml/resolver/apps/XParseError.java and the changes
are only for error and warning counts. (see attached diff)

Comment 5 Wiktor Wandachowicz 2005-12-05 03:51:57 UTC
Created attachment 74090 [details]
trunk-20051205.diff

A diff between the previous trunk checkout (17 Nov 2005) and current
(05 Dec 2005, revision 354051).
Comment 6 Josh Nichols (RETIRED) gentoo-dev 2005-12-08 18:33:43 UTC
From what I can gather, the new xalan and xerces need the new JAXP API,  
provided by this package. 
 
Also, contact has been made with the xml-commons team, and with any luck, they 
will make a new release of xml-commons. 
Comment 7 Josh Nichols (RETIRED) gentoo-dev 2005-12-08 20:22:01 UTC
I've added dev-java/xml-commons-external to portage. Upstream xml-commons is  
actually divided into a few components. This is one of them, which is the 
external XML libraries, ie things provided by W3C. and provides xml-apis.jar. I 
also believe it provides the JAXP 1.3 classes, as I'm able to build xalan-2.7.0 
with it. 
 
As for xml-commons, I believe it's best to wait till an official upstream 
release, or in the very least till they make a tag in version control for it. 
 
Because xml-commons-external provides the classes we need for xalan and xerces, 
I'm going to mark this as fixed. 
Comment 8 Wiktor Wandachowicz 2005-12-08 23:05:08 UTC
(In reply to comment #6)

> Also, contact has been made with the xml-commons team, and with any luck, they 
> will make a new release of xml-commons. 

Great, it's been years since they released 1.0_beta2 ...
Good job :-)