xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] test targets should include junit in classpath
- From: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
- To: Wolfgang Hoschek <whoschek AT lbl.gov>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] test targets should include junit in classpath
- Date: Mon, 2 Feb 2004 13:42:08 -0500
At 10:25 AM -0800 2/2/04, Wolfgang Hoschek wrote:
Minor note: The test targets in d23 should include junit in the classpath. It seems they only work when manually adding junit.jar to the CLASSPATH on the commandline, which should probably not be necessary.
Actually, it's not as simple as I thought. For Ant 1.5.3 (the version I use) you need to have junit.jar and optional.jar in the Ant lib directory OR have them BOTH in the classpath OR reference both of them via a classpath element. However, you can't mix and match; e.g. you can't put optional.jar in the lib directory and junit.jar in the classpath.
My inclination is to remove junit.jar from the XOM distro entirely and require it to be gotten at the same time one downloads optional.jar since I don't bundle ant currently. The alternative is bundling optional.jar and junit.jar, but that makes the distro even bigger, and may conflict with existing ant installations. Thoughts?
--
Elliotte Rusty Harold
elharo AT metalab.unc.edu
Effective XML (Addison-Wesley, 2003)
http://www.cafeconleche.org/books/effectivexml
http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA
-
[XOM-interest] test targets should include junit in classpath,
Wolfgang Hoschek, 02/02/2004
- Re: [XOM-interest] test targets should include junit in classpath, Elliotte Rusty Harold, 02/02/2004
-
Re: [XOM-interest] test targets should include junit in classpath,
Elliotte Rusty Harold, 02/02/2004
- Re: [XOM-interest] test targets should include junit in classpath, Francois Beausoleil, 02/02/2004
- Re: [XOM-interest] test targets should include junit in classpath, Bill de hÓra, 02/02/2004
- Re: [XOM-interest] test targets should include junit in classpath, Elliotte Rusty Harold, 02/07/2004
Archive powered by MHonArc 2.6.24.