Eric Wood wrote:
Quoting Eric Wood <[EMAIL PROTECTED]>:
Folks:
I use
<path id="projectSpecificLibs" >
...
</path>
which is composed of various filelists and filesets referencing jars
used to build my application. I use this refid (projectSpecificLibs)
as part of my classpath.
I want to be able to use this same list when packaging my EAR file
using the <ear> task, but it does not accept a path structure and when
I reference the refid as a fileset it tells me that it is not a
fileset.
Is there a way to convert my path id so I can then use it to package
the jar files in my EAR?
You could use <copypath> in ant1.7, or the resource stuff. One thing you
need to do w/ EAR files is to flatten the copy if they come from a dir
tree, as you normally want all the JAR files in the root of the EAR.
that is, unless you are doing complex things with JAR manifests,
persist.xml and the like
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]