Hi,

I have a file structure which looks something like:
ClientApp
ClientApp\App1\*.class
ClientApp\App2\*.class
...
ClientApp\AppX\*.class 

and I want to iterate over all the sub-directories within ClientApp and
create a jar file for each one,
using the name of the directory for the name of the jar file.

So at the end of this process, I have
App1.jar   (contains App1\*.class files)
App2.jar   (contains App2\*.class files)
...
AppX.jar   (contains AppX\*.class files)

How can I do this?  I know I will need to use a fileset, but I don't know
how to gleam the name of the jar file from name of the directory.

Thanks for any suggestions.
Beth

Reply via email to