Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 188015 - dev-java/istack-commons-runtime and dev-java/istack-commons-tools: version bump
Summary: dev-java/istack-commons-runtime and dev-java/istack-commons-tools: version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Java team
URL: https://istack-commons.dev.java.net/
Whiteboard:
Keywords:
Depends on:
Blocks: 188007
  Show dependency tree
 
Reported: 2007-08-07 14:50 UTC by Martin von Gagern
Modified: 2015-06-12 15:01 UTC (History)
0 users

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


Attachments
Patch to update runtime and tools and add test (188015.patch,3.37 KB, patch)
2007-08-07 23:18 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 2007-08-07 14:50:06 UTC
For bug 188007 we'd need a newer version of istack-commons, one which contains com.sun.istack.XMLStreamReaderToContentHandler which appeared in the istack CVS on 2007-02-22. I have no idea where the istack tarball on the Gentoo mirrors came from, probably straight out of CVS. Some comment about this would have been valuable. In any case, if annyone could bump that up, I'd appreciate that.
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2007-08-07 14:55:28 UTC
(In reply to comment #0)
> For bug 188007 we'd need a newer version of istack-commons, one which contains
> com.sun.istack.XMLStreamReaderToContentHandler which appeared in the istack CVS
> on 2007-02-22. I have no idea where the istack tarball on the Gentoo mirrors
> came from, probably straight out of CVS. Some comment about this would have
> been valuable. In any case, if annyone could bump that up, I'd appreciate that.
> 

nelchael did the ebuilds so he should hopefully be able to tell about the tarballs.
Comment 2 Martin von Gagern 2007-08-07 15:27:17 UTC
I found a way to get a directory that looks much like current tarballs, but it requires authenticated access to the CVS server.

cvs -d :pserver:username@cvs.dev.java.net:/cvs login
cvs -d :pserver:username@cvs.dev.java.net:/cvs \
    checkout istack-commons/istack-commons istac-commons
cd istack-commons/istack-commons
find -name CVS -print0 | xargs -0 rm -r
rm -rf lib/* test/lib/* runtime/lib/* tools/lib
cd ..
mv istack-commons{,-$(date +%Y%m%d)}

If you are sure about the CDDL licensing, then redistributing this source should be no problem no matter what the CVS access looks like. However I could find no licensing information in that tree, so I'm not sure. On the other hand, the CVS viewer online is unrestricted, so this CVS access is probably only a config issue.
Comment 3 Martin von Gagern 2007-08-07 15:37:00 UTC
With a tarball created as described in comment 2 and ebuilds renamed accordingly, both istack ebuilds compiled all right, and the generated jar files contain all classes that were present before, and a few more as well.
Comment 4 Martin von Gagern 2007-08-07 15:57:59 UTC
Petteri Räty aka Betelgeuse kindly pointed out that guest/guest could be (and in fact is) a valid login for that CVS. In the meantime I found out that the last changes were 2007-02-22, after that there was only one modification with the toplevel build.xml which we don't use anyway. Therefore I suggest the following steps to generate the tarball:

cvs -d :pserver:guest@cvs.dev.java.net:/cvs login
cvs -d :pserver:guest@cvs.dev.java.net:/cvs \
    checkout -D 2007-02-23 istack-commons/istack-commons
cd istack-commons/istack-commons
find -name CVS -print0 | xargs -0 rm -r
rm -rf lib/* test/lib/* runtime/lib/* tools/lib
cd ..
mv istack-commons{,-20070223}
tar cvjf istack-commons-20070223{.tar.bz2,}
Comment 5 Martin von Gagern 2007-08-07 22:50:16 UTC
There is also a jar file calles istack-commons-test, matching the directory test in the source tree. Probably there should be an ebuild for this as well. What's the rationale behind splitting the whole istack-commons into different ebuilds?
Comment 6 Martin von Gagern 2007-08-07 23:18:33 UTC
Created attachment 127215 [details, diff]
Patch to update runtime and tools and add test

I added ANT_TASKS="none" to all my ebuilds and thereby noticed a dependency in istack-commons-runtime on dev-java/jsr173. The istack-commons-test ebuild is based upon the istack-commons-tools ebuild, modifying the name where appropriate and adjusting for different dependencies. I'm not sure why istack-commons-tools symlinks java-config --tools, but I copied that as well.
Comment 7 Krzysztof Pawlik (RETIRED) gentoo-dev 2007-08-08 06:03:41 UTC
(In reply to comment #5)
> What's the rationale behind splitting the whole istack-commons into different
> ebuilds?

Not all packages need tools, simple?

java-config --tools symlinks tools.jar from JDK.

As to releases from dev.java.net: they suck, suck, suck. If they provide a tar/zip file - it may disappear any day, is being changed (and not renamed), etc. There's a lot of troubles with djn, so most things are CVS snapshots - it's the only safe method to be sure of the ability to recreate the archive.
Comment 8 Martin von Gagern 2008-11-13 16:22:31 UTC
No activity here in over a year. In the meantime, it looks like istack-commons has had a version 1.0 released this january. At least there is a tag called istack-commons-1_0 in their CVS, dated 2008-01-08. STill no source tarball to be found, so again I'd suggest pulling sources from their CVS.

cvs -d :pserver:guest@cvs.dev.java.net:/cvs login
cvs -d :pserver:guest@cvs.dev.java.net:/cvs \
    checkout -r istack-commons-1_0 istack-commons/istack-commons

It also looks like the new version could be built with maven - at least there are pom.xml files lying around, and some CVS log messages seem to come from maven. Do you want this release in portage?
Comment 9 Petteri Räty (RETIRED) gentoo-dev 2008-11-13 19:06:06 UTC
(In reply to comment #8)
> No activity here in over a year. In the meantime, it looks like istack-commons
> has had a version 1.0 released this january. At least there is a tag called
> istack-commons-1_0 in their CVS, dated 2008-01-08. STill no source tarball to
> be found, so again I'd suggest pulling sources from their CVS.
> 

Consider getting access to our overlays as having the ebuilds there makes it easier for us to move things. Just came by #gentoo-java@freenode and I can arrange it.
Comment 10 Patrice Clement gentoo-dev 2015-06-12 14:00:02 UTC
+*istack-commons-runtime-2.22 (12 Jun 2015)
+
+  12 Jun 2015; Patrice Clement <monsieurp@gentoo.org>
+  +istack-commons-runtime-2.22.ebuild:
+  Version bump. Fix bug 188015.
+
Comment 11 Patrice Clement gentoo-dev 2015-06-12 14:10:17 UTC
+*istack-commons-tools-2.22 (12 Jun 2015)
+
+  12 Jun 2015; Patrice Clement <monsieurp@gentoo.org>
+  +istack-commons-tools-2.22.ebuild:
+  Version bump. Fix bug 188015.
+
Comment 12 Patrice Clement gentoo-dev 2015-06-12 15:00:19 UTC
+*istack-commons-buildtools-2.22 (12 Jun 2015)
+
+  12 Jun 2015; Patrice Clement <monsieurp@gentoo.org>
+  +istack-commons-buildtools-2.22.ebuild:
+  Version bump. Fix bug 188015.
+
Comment 13 Patrice Clement gentoo-dev 2015-06-12 15:01:07 UTC
+*istack-commons-soimp-2.22 (12 Jun 2015)
+
+  12 Jun 2015; Patrice Clement <monsieurp@gentoo.org>
+  +istack-commons-soimp-2.22.ebuild, +metadata.xml:
+  Initial commit. Fix bug 188015.

v2 introduced a new module which has now been added to the tree. Closing this bug.