Thanks Jan for your answer.
I have more queries regarding this problem.
Is InputStream supported? Any other object than File supported?
I Checked the API and found this statement "A helper must support at least
File, for backward compatibility. Helpers may support URL, InputStream, etc or
s
>Does anybody know how to parse ant script from URL instead of File?
URL is not supported - too many file relative tasks.
>2. As I need to call ant tasks in the java class, I'll have to
>parse the ant script.
Why? You dont have to parse a script - you can instantiate the tasks for
your own.
Hi all,
Does anybody know how to parse ant script from URL
instead of File?
What I need to do is as below:
1. I have a .jar file which contains my class file,
the ant script, and some other dirs/files.
2. As I need to call ant tasks in the java class, I'll
have to parse the ant script. However,