Thanks tim,
I've got it working but I've a couple of questions. I wasn't sure what mapper to use? I'd like to use the regexp but I just can get the syntax I need and would appreciate help. Below is am example of the source and target filenames:
dir1/x.jsp -> _dir1/_x.class
dir1/dir2/dir3/y.jsp -> _dir1/_dir2/_dir3/_y.class
ie I dont know the number of directory levels. Can anybody help with the regexp syntax?
Thanks
Mick
-----Original Message-----
From: Tim Vernum [mailto:[EMAIL PROTECTED]]
Sent: 02 May 2001 06:05
To: 'ANT-user'
Subject: RE: Can ant do something for each file in a fileset
From: M.A.Dunphy [mailto:[EMAIL PROTECTED]]
> Unfortunately this compiler appears not to understand the concept of a webapp
> but rather it compiles a single file at a time. I cant see it working but I'll ask..
> Would it be possible to get a java command to be invoked for each .jsp file derived
> from a fileset or something similar.
You could look at the apply task.
That should be usable.
Otherwise, I posted a foreach task to ant-dev last week, and I can provide you a copy if you want.
