Hi G.T.
Please don't cross post. I see you have also posted this in the
Java in General (Intermediate) forum in
this thread.
Mr Skjelvik's post is what I would have proposed to you (although I would have used a command line example rather than an
ant example).
Since the other
thread has the answer, I am going to close this thread.
Regards, Andrew