Re: Checking whether a file is executable

2009-10-27 Thread Stephen Connolly
09 10:01 PM > To: Ant Users List > Subject: Checking whether a file is executable > > /* > Hello, > > Ant's condition can check whether a file exists and is a > regular file (with type="file"), but I have seen no condition that can > tell me whether a given r

RE: Checking whether a file is executable

2009-10-27 Thread Rebhan, Gilbert
-Original Message- From: Francis GALIEGUE [mailto:f...@one2team.com] Sent: Friday, October 23, 2009 10:01 PM To: Ant Users List Subject: Checking whether a file is executable /* Hello, Ant's condition can check whether a file exists and is a regular file (with type="fil

RE: Checking whether a file is executable

2009-10-24 Thread Shawn Castrianni
2009 4:54 PM To: Ant Users List Subject: Re: Checking whether a file is executable On Fri, Oct 23, 2009 at 23:50, Shawn Castrianni wrote: > I run ANT with 1.6 all the time.  Therefore, you could always write your own > condition or task with ANT API just as long as you run your ANT buil

Re: Checking whether a file is executable

2009-10-23 Thread Stefan Bodewig
On 2009-10-23, Francis GALIEGUE wrote: > On Fri, Oct 23, 2009 at 23:50, Shawn Castrianni > wrote: >> I run ANT with 1.6 all the time.  Therefore, you could always write your own >> condition or task with ANT API just as long as you run your ANT builds with >> 1.6. > Which kind of leads back

Re: Checking whether a file is executable

2009-10-23 Thread Stephen Connolly
http://ant.apache.org/manual/tutorial-writing-tasks.html ;-) 2009/10/23 Francis GALIEGUE > On Fri, Oct 23, 2009 at 23:50, Shawn Castrianni > wrote: > > I run ANT with 1.6 all the time. Therefore, you could always write your > own condition or task with ANT API just as long as you run your ANT

Re: Checking whether a file is executable

2009-10-23 Thread Francis GALIEGUE
On Fri, Oct 23, 2009 at 23:50, Shawn Castrianni wrote: > I run ANT with 1.6 all the time.  Therefore, you could always write your own > condition or task with ANT API just as long as you run your ANT builds with > 1.6. > Which kind of leads back to my original question somewhat, even if this wa

RE: Checking whether a file is executable

2009-10-23 Thread Shawn Castrianni
PM To: Ant Users List Subject: Re: Checking whether a file is executable On Fri, Oct 23, 2009 at 22:57, Shawn Castrianni wrote: > I had a similar request in this email list.  Here is a link: > > http://www.nabble.com/zip-tar-and-file-permissions-td22315686.html > > It has some f

Re: Checking whether a file is executable

2009-10-23 Thread Francis GALIEGUE
On Fri, Oct 23, 2009 at 22:57, Shawn Castrianni wrote: > I had a similar request in this email list.  Here is a link: > > http://www.nabble.com/zip-tar-and-file-permissions-td22315686.html > > It has some feedback on this subject. > Aiee... I didn't know that the .canExecute() method only appeare

RE: Checking whether a file is executable

2009-10-23 Thread Shawn Castrianni
, 2009 3:01 PM To: Ant Users List Subject: Checking whether a file is executable Hello, Ant's condition can check whether a file exists and is a regular file (with type="file"), but I have seen no condition that can tell me whether a given regular file is executable (sorry for the Un

Checking whether a file is executable

2009-10-23 Thread Francis GALIEGUE
Hello, Ant's condition can check whether a file exists and is a regular file (with type="file"), but I have seen no condition that can tell me whether a given regular file is executable (sorry for the Unix speak - FWIW, a regular file is just that, a file - a directory is just another type of fil