Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146593 - dev-java/xom-1.2.6 is available
Summary: dev-java/xom-1.2.6 is available
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Java team
URL: http://java.net/jira/browse/XOM-13
Whiteboard:
Keywords:
Depends on:
Blocks: 227837
  Show dependency tree
 
Reported: 2006-09-06 12:07 UTC by Bill Krueger
Modified: 2011-03-13 05:18 UTC (History)
3 users (show)

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


Attachments
xom-1.2.6 ebuild (xom-1.2.6.ebuild,1.82 KB, text/plain)
2011-02-13 06:32 UTC, Kenneth Prugh (RETIRED)
Details
build.xml patch (xom-1.2.6.patch,5.07 KB, patch)
2011-02-13 06:33 UTC, Kenneth Prugh (RETIRED)
Details | Diff
xom-1.2.6 ebuild (xom-1.2.6.ebuild,1.69 KB, text/plain)
2011-02-13 07:04 UTC, Kenneth Prugh (RETIRED)
Details
build.xml patch (xom-1.2.6.patch,5.53 KB, patch)
2011-02-13 07:05 UTC, Kenneth Prugh (RETIRED)
Details | Diff
xom-1.2.6 ebuild (xom-1.2.6.ebuild,1.77 KB, text/plain)
2011-02-13 08:28 UTC, Kenneth Prugh (RETIRED)
Details
json-lib failed emerge log (json-lib.log,24.85 KB, text/plain)
2011-02-21 08:42 UTC, gentooer
Details
xom-1.2.6-r1.ebuild (xom-1.2.6-r1.ebuild,2.06 KB, text/plain)
2011-03-09 04:31 UTC, Kenneth Prugh (RETIRED)
Details
build.xml patch (xom-1.2.6.patch,2.80 KB, patch)
2011-03-09 04:32 UTC, Kenneth Prugh (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bill Krueger 2006-09-06 12:07:50 UTC
Found at http://www.xom.nu/

Note that I tried to install by cloning the xom-1.0-r2.ebuild, calling it xom-1.1.ebuild. The ebuild digest ran ok but I ran into errors during it's emerge, I suspect because it tried to do it's own (non-portage) build of jaxen.
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2007-04-05 09:15:47 UTC
Yeah I tried this too and found that the build.xml needs patching so that it does not try to checkout and build jaxen from CVS but instead use the system installed copy of jaxen. Sorry that you haven't gotten a any response to this bug so far.
Comment 2 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2008-01-14 09:25:48 UTC
This would look like an non obvious bump. I looked into it today. As Betelgeuse pointed out, it tries to checkout and build Jaxen. The problem is that Jaxen itself depends on XOM so we have a circular dependency there.
Comment 3 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2008-01-14 10:24:51 UTC
A little more inspection, and I think it would be doable, just would need to break jaxen into something like jaxen-core and jaxen-xom. Jaxen-core would need to be built before xom, then jaxen-xom could be built.
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2008-01-14 13:06:16 UTC
(In reply to comment #3)
> A little more inspection, and I think it would be doable, just would need to
> break jaxen into something like jaxen-core and jaxen-xom. Jaxen-core would need
> to be built before xom, then jaxen-xom could be built.
> 

Looks like a similar solution to what we have with jdom-jaxen.
Comment 5 Patrick Holthaus 2009-04-07 14:06:35 UTC
Just a side-note: xom-1.2.1 is already available. I am curious if this bug gets attention at the moment (I need a newer xom at work). I am not very familar with ebuilds (esp. java eclasses) but I am willing to spend time on it. So it would be really nice, if some of you point me to some information on how to use these eclasses properly.
Comment 6 Serkan Kaba (RETIRED) gentoo-dev 2009-04-07 14:23:08 UTC
(In reply to comment #5)
> but I am willing to spend time on it.
Great to hear. Thanks for being interested.
> So it
> would be really nice, if some of you point me to some information on how to use
> these eclasses properly.
> 
You can read our wiki[1] and developer documentation[2] and follow the links in those.

1: http://overlays.gentoo.org/proj/java/
2: http://www.gentoo.org/proj/en/java/java-devel.xml
Comment 7 Kenneth Prugh (RETIRED) gentoo-dev 2010-12-11 07:26:04 UTC
xom's currently at version 1.2.6. It still seems to bundle a ton of stuff. If I get around to it I might try writing an ebuild for it.
Comment 8 Kenneth Prugh (RETIRED) gentoo-dev 2011-02-13 06:32:48 UTC
Created attachment 262307 [details]
xom-1.2.6 ebuild

I made an ebuild for xom-1.2.6 and patched xom's build.xml to not use jarjar or any of the bundled jars.
Comment 9 Kenneth Prugh (RETIRED) gentoo-dev 2011-02-13 06:33:16 UTC
Created attachment 262309 [details, diff]
build.xml patch
Comment 10 Kenneth Prugh (RETIRED) gentoo-dev 2011-02-13 07:04:38 UTC
Created attachment 262313 [details]
xom-1.2.6 ebuild

Remove junit dependency as tests aren't run
Comment 11 Kenneth Prugh (RETIRED) gentoo-dev 2011-02-13 07:05:39 UTC
Created attachment 262315 [details, diff]
build.xml patch
Comment 12 Kenneth Prugh (RETIRED) gentoo-dev 2011-02-13 08:28:36 UTC
Created attachment 262319 [details]
xom-1.2.6 ebuild

Moved EAPI above JAVA_PKG_IUSE and changed src_prepare to java_prepare.

I was just made aware of the circular dep on jaxen though.
Comment 13 Serkan Kaba (RETIRED) gentoo-dev 2011-02-20 07:43:51 UTC
We currently decided to keep the bundled sources because they're moved into XOM's own package hierarchy. I hopelessly filed an upstream bug. Let's see if they improve the situation somehow.
Comment 14 gentooer 2011-02-21 08:41:25 UTC
Tried the above ebuild of Kenneth and it compiled, but the following emerge of json-lib failed then.
Comment 15 gentooer 2011-02-21 08:42:15 UTC
Created attachment 263255 [details]
json-lib failed emerge log
Comment 16 Kenneth Prugh (RETIRED) gentoo-dev 2011-03-09 04:31:31 UTC
Created attachment 265251 [details]
xom-1.2.6-r1.ebuild

Alright, here's an attempt at an ebuild using the bundled jaxen sources.
Comment 17 Kenneth Prugh (RETIRED) gentoo-dev 2011-03-09 04:32:22 UTC
Created attachment 265253 [details, diff]
build.xml patch
Comment 18 Serkan Kaba (RETIRED) gentoo-dev 2011-03-13 05:18:53 UTC
(In reply to comment #16)
> Created attachment 265251 [details]
> xom-1.2.6-r1.ebuild
> 
> Alright, here's an attempt at an ebuild using the bundled jaxen sources.

Thank you for your hard work. I made a few more modifications to the ebuild and committed.