Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] 1.2.2b3

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: David Fogel <carrotsalad AT gmail.com>
  • To: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] 1.2.2b3
  • Date: Wed, 27 May 2009 13:09:35 -0400

Hi Elliotte-

So, I tried the new build. You have two typos in the build.xml file,
in the OSGi Manifest section, in the "Import-Packages" entry:

1) You are missing a comma after the junit.framework package, which
causes xom to fail to load in an osgi envionment. It also seemed to
me that the junit package should probably be "resolution:=optional" as
well, so as to not require junit at deploy-time.

2) You have "resolution=optional" instead of "resolution:=optional"
(notice the extra colon) in the line:
org.apache.xerces.impl;resolution=optional
where it should be:
org.apache.xerces.impl;resolution:=optional

(and yes, I do think it's stupid that these entries must use "=" for
the version param, but ":=" for the resolution param...I'm assuming
there's some legacy reason for it.)

The only other thing is that your formatting in the Ant build file is
what's causing the extra spaces in the package import/export section.
Doesn't appear to actually hurt anything, but I suspect these typos
would have been easier to spot without them.

Changing these typos allowed me to run several projects I have that
use XOM, although their use is not exhaustive.

Thanks again for your continued efforts w.r.t OSGi- I know it must
seem like a colossal pain in the ass :-)

-Dave Fogel


On Sat, May 23, 2009 at 9:18 AM, Elliotte Harold <elharo AT ibiblio.org> wrote:
> I've posted a new beta of XOM 1.2.2 at the usual location:
>
> http://www.xom.nu/unstable.html
>
> This beta once again attempts to package the jar appropriately for OSGI.
> Apparently there are some specific requirements on the format of the
> Bindle-version. I would
> appreciate it if the folks who want OSGI support could try this out
> and see if it works. Please report any findings, positive or negative,
> back to the mailing list. I can't release 1.2.2 until some folks have
> actually tried it out.
>
> There are no other significant changes in this beta since 1.2.2b1.
>
> --
> Elliotte Rusty Harold
> elharo AT ibiblio.org
> _______________________________________________
> XOM-interest mailing list
> XOM-interest AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/xom-interest
>




Archive powered by MHonArc 2.6.24.

Top of Page