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 7624] - chmod task should be extensible to non-Unix systems
Date Thu, 26 Jun 2003 19:20:12 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7624>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7624

chmod task should be extensible to non-Unix systems





------- Additional Comments From gus.heck@olin.edu  2003-06-26 19:20 -------
ingoreos makes the most sense, but it is a little hard to read :) It should be
done at the exec on level I think. One could make the same arguments for chgrp,
and chown.

looking at the source, I think it might just be a matter of not overiding
isValidOS() and setting os to a default value of unix for the unix tasks. Thus
the user could specify what OS to run under in the same standard way as Exec and
Apply. It's easy to read too :). 

Reading more closely, I realize that we don't have to change anything. I think
if you are on a windows box and set os="windows" it should execute. The os
attribute is accepted by the parser even though it isn't documented. (gee xdocs
event tells us this... )

http://nagoya.apache.org/gump/javadoc/ant/proposal/xdocs/build/docs/manual/filesystem/chmod.html

So just document it?

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


Mime
View raw message