xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Elliotte Rusty Harold <elharo AT ibiblio.org>
- To: XOM interest <xom-interest AT lists.ibiblio.org>
- Subject: [XOM-interest] split jars
- Date: Sat, 3 Apr 2010 19:39:26 -0400
Does anyone happen to know how to write a jar task in Ant that would
bundle up everything in src/nu/xom except nu/xom/tests, nu/xom/tools,
nu/xom/samples, and nu/xom/pantry? This is a prerequisite for an
upgraded maven package.
I've been able to get Ant to exclude one directory, but not all of them.
This, for example, does not work:
<jar destFile="${sources.jar}" basedir="${build.dir}/src"
excludes="**/tests/**, **/tools/**"/>
It excludes tests but not tools. Contrary to all rational expectation
this also excludes tests but not tools:
<jar destFile="${sources.jar}" basedir="${build.dir}/src"
excludes="**/tools/**, **/tests/**"/>
I have not been able to make any rational sense out of which
directories Ant excludes when. :-(
--
Elliotte Rusty Harold
elharo AT ibiblio.org
-
[XOM-interest] split jars,
Elliotte Rusty Harold, 04/03/2010
-
Re: [XOM-interest] split jars,
alanhzone-xom, 04/03/2010
-
Re: [XOM-interest] split jars,
Elliotte Rusty Harold, 04/04/2010
-
Re: [XOM-interest] split jars,
alanhzone-xom, 04/04/2010
-
Message not available
- Re: [XOM-interest] split jars, Dave Pawson, 04/05/2010
-
Message not available
-
Re: [XOM-interest] split jars,
alanhzone-xom, 04/04/2010
-
Re: [XOM-interest] split jars,
Elliotte Rusty Harold, 04/04/2010
-
Re: [XOM-interest] split jars,
alanhzone-xom, 04/03/2010
Archive powered by MHonArc 2.6.24.