ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 21042] - Setting XSL parameter to input filename when processed whole directory.
Date Tue, 18 Jul 2006 10:51:00 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=21042>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=21042





------- Additional Comments From apache-bugzilla@vitoni.de  2006-07-18 10:51 -------
(In reply to comment #25)
> I dont think we should introduce too many attributes - filePathParameter is
> redundant.
> 
Actually I think that most people would like to have the path and not directory
or name (which I would consider redundant).

> I thought about "." instead of "" for "no-dir" by myself and wasnt sure. I'll
> change that.
> 
Thanks.

> I changed the algorithm for the parent directory from File to String computing,
> so that should be fine now.
> 

The file can still be used but should only for the name. For the directory one
should use the calculated path.


Is there any reason why the relative file name is calculated for every file even
if this functionality was not enabled?
If one really wants only the file name calculating the relative path is
unnecessary (because one can use inFile.gtName()).

I'll attach a patch you could look over.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message