ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@gmail.com>
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  
information...


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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message