You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by "Michael B. Allen" <mb...@erols.com> on 2000/09/04 07:37:22 UTC

Chmod Ant Workn' :)

Hi!

I just pulled down your jakarta-ant.tar.gz(1.1?) and the chmod task doesn't
work. I looked at the task code and it looked like it should work. What am
I doing wrong?

<chmod dir="bin" perm="+x" includes="*.sh"/>

should do the trick yes? Delete should look the same

<delete dir="bin" includes="*.sh"/>

and it works so the directory scanner is working. I noticed it doesn't
print out the bracketed dialog either. Like [chmod]...

Thanks,
Mike
Michael_B_Allen@ml.com
http://jcifs.samba.org

--
"Because Windows was not properly shut down, one or more disk drives may
have errors on it" Sure, blame me. Shouldn't this read "Because Windows
crashed miserably ..."


[New Task] - UpToDate

Posted by William Ferguson <wi...@mincom.com>.
I thought people might find this useful.

It's a task that sets a property when a targetFile is more upToDate than
a list of source files.



William Ferguson

This transmission is for the intended addressee only and is confidential
information. If you have received this transmission in error, please
delete it and notify the sender. The contents of this E-mail are the
opinion of the writer only and are not endorsed by Mincom Limited unless
expressly stated otherwise.

RE: Chmod Ant Workn' :)

Posted by "Michael B. Allen" <mb...@erols.com>.
negative. chmod in sept-3-2000 doesn't do the trick :~( Hacking source....

> -----Original Message-----
> From: Mariusz Nowostawski [mailto:mariusz@marni.otago.ac.nz]
> Sent: Monday, September 04, 2000 1:41 AM
> To: ant-dev@jakarta.apache.org
> Subject: Re: Chmod Ant Workn' :)
> 
> 
> Hi Michael,
> 
> Check out the latest CVS version. 
> I believe this problem was recognized before, patch applied and the
> problem fixed. If it still does not work, please repost ;o)
> 
> hth
> Mariusz
> 
> 
> On Mon, 4 Sep 2000, Michael B. Allen wrote:
> > I just pulled down your jakarta-ant.tar.gz(1.1?) and the 
> chmod task doesn't
> > work. I looked at the task code and it looked like it 
> should work. What am
> > I doing wrong?
> > 
> > <chmod dir="bin" perm="+x" includes="*.sh"/>
> > 
> > should do the trick yes? Delete should look the same
> > 
> > <delete dir="bin" includes="*.sh"/>
> > 
> > and it works so the directory scanner is working. I noticed 
> it doesn't
> > print out the bracketed dialog either. Like [chmod]...
> > 
> > Thanks,
> > Mike
> 

RE: Chmod Ant Workn' :)

Posted by "Michael B. Allen" <mb...@erols.com>.
Is the CVS stuff stable. Pulling down now....

> -----Original Message-----
> From: Mariusz Nowostawski [mailto:mariusz@marni.otago.ac.nz]
> Sent: Monday, September 04, 2000 1:41 AM
> To: ant-dev@jakarta.apache.org
> Subject: Re: Chmod Ant Workn' :)
> 
> 
> Hi Michael,
> 
> Check out the latest CVS version. 
> I believe this problem was recognized before, patch applied and the
> problem fixed. If it still does not work, please repost ;o)
> 
> hth
> Mariusz
> 
> 
> On Mon, 4 Sep 2000, Michael B. Allen wrote:
> > I just pulled down your jakarta-ant.tar.gz(1.1?) and the 
> chmod task doesn't
> > work.

Re: Chmod Ant Workn' :)

Posted by Mariusz Nowostawski <ma...@marni.otago.ac.nz>.
Hi Michael,

Check out the latest CVS version. 
I believe this problem was recognized before, patch applied and the
problem fixed. If it still does not work, please repost ;o)

hth
Mariusz


On Mon, 4 Sep 2000, Michael B. Allen wrote:
> I just pulled down your jakarta-ant.tar.gz(1.1?) and the chmod task doesn't
> work. I looked at the task code and it looked like it should work. What am
> I doing wrong?
> 
> <chmod dir="bin" perm="+x" includes="*.sh"/>
> 
> should do the trick yes? Delete should look the same
> 
> <delete dir="bin" includes="*.sh"/>
> 
> and it works so the directory scanner is working. I noticed it doesn't
> print out the bracketed dialog either. Like [chmod]...
> 
> Thanks,
> Mike