Nicola Ken Barozzi wrote, On 07/04/2003 9.11:

...
After the replies and a bit of thought, maybe even setXYZUrl(URL) is not the right solution.

We have a FTP task, a get task, etc... putting the URL as a parameter short-circuits the process of getting stuff and using it, and potentially makes Ant dwonload files at every run without devs knowing.

So, AFA I'm concerned, I would need a styleResource="" parameter, *or* overloading the file attribute *just* to get stuff from jars. That is, if the filename starts with resource:// or something like that, get the file as a resource.

What should I send a patch for?

Further note: I need this "getting from resources" in xslt and import tasks.


Please advise WRT the easiest and most consistent solution.

--
Nicola Ken Barozzi                   [EMAIL PROTECTED]
            - verba volant, scripta manent -
   (discussions get forgotten, just code remains)
---------------------------------------------------------------------



Reply via email to