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: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to