ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicola Ken Barozzi <>
Subject Re: Using files in classpath in task file=""
Date Mon, 07 Apr 2003 14:14:51 GMT

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 

Please advise WRT the easiest and most consistent solution.

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

View raw message