Re: umask from ant

2012-08-03 Thread Joe Attardi
Umask is a shell command, not a standalone binary. So you will need to invoke your shell to run umask. Something like On Aug 2, 2012 4:57 PM, "Maurice Feskanich" wrote: > Looks like it needs the full path to the executable. > > Maury > > > On 08/02/12 13:36, Eric Fetzer wrote: > >> Sorry, a

nested ant cntrib for loops

2012-08-03 Thread Shweta
I have two txt files – File1.txt – contains list of src dir File2.txt – contains list of dest dir I need to do the copy using a loop from src dir to dest dir File1.txt (SVN dire structure) abcBIN abcBIN/fdPro …..so on File2.txt (LINUX structure) apps/xxx/yyy/bin/abc apps/xxx/yyy/bin/abc/fdpro

Tar Task Does Not Tar Empty Directories

2012-08-03 Thread Pepersack, Bob G
Hi all, I'm getting files and directories out of SVN with SvnAnt. Some of the directories are empty. Then I'm using the task to put them into tar files. I would like the empty directories to be in the tar file, but I can't get the task to include them. Here is my tar target:

How to Execute Groovy 2.0 Code from an Ant File that has Groovy 1.7 Classpath

2012-08-03 Thread Steve Amerige
Hi all, My Ant script is being called with an environment including the classpath that includes the folder containing the groovy-all-1.7.10.jar file. I want to execute Groovy 2.0 code from my Ant script. I cannot change any aspect of how my Ant script is called. I must limit my solution to

Re: UNS: Re: umask from ant

2012-08-03 Thread Eric Fetzer
Thanks everyone, moved over to chmod. On Aug 2, 2012, at 8:15 PM, Andreas Krey wrote: > On Thu, 02 Aug 2012 16:00:11 +, Bruce Atherton wrote: > ... >> If you still can't find it, change the executable to start your shell >> and tell it to execute the umask command. Something like this: >>