ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <>
Subject Re: How to copy jars of path variable to dir, excluding some jars?
Date Tue, 15 Dec 2009 20:57:42 GMT
That should work.  Have you verified that build.classpath is not  
empty?  You could run Ant in -v verbose or -d debug mode for more  

On Dec 15, 2009, at 2:47 PM, KARR, DAVID (ATTCINW) wrote:

> I have a path variable that I set in my build script.  I'm trying to
> assemble a deployment unit where I have to copy all the jars specified
> in that path variable into a directory, but excluding certain jars.
> I'm still trying to figure out how I copy the jars of a path var, I'm
> not even getting to the question of excluding some.  I thought it  
> would
> be this:
> 		<copy todir="dist/eardir/APP-INF/lib">
> 			<path refid="build.classpath"/>
> 		</copy>
> But that didn't appear to do anything.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message