Help to Remove standard sshexec output

2010-07-01 Thread Morales, Pedro
Hi, The sshexec task display the result of the command execution on the screen. We don't want to display this result on our screen since it's confident information. I don't see an option to remove this standard out from sshexec task. Maybe you know how to do it. On ant macro we have the sshe

Re: Augment task and use cases

2010-07-01 Thread Matt Benson
On Jul 1, 2010, at 11:07 AM, Michael Ludwig wrote: Matt Benson schrieb am 01.07.2010 um 10:26 (-0500): On Jul 1, 2010, at 9:52 AM, Michael Ludwig wrote: Wouldn't it be nicer to have , which is still young and flexible, have augment/@refid to refer to an existing reference, and augment/@id t

RE: Ant 1.8 unzip does not preserve permissions!

2010-07-01 Thread Shawn Castrianni
What I do is use the exec task and use the tar command. In order to make it cross platform, I use bsdtar which I was able to find a version for all of our supported platforms. The bsdtar command has compression support so the generated tar both preserves the file permissions AND is compressed

Re: Augment task and use cases

2010-07-01 Thread Michael Ludwig
Matt Benson schrieb am 01.07.2010 um 10:26 (-0500): > On Jul 1, 2010, at 9:52 AM, Michael Ludwig wrote: > >Wouldn't it be nicer to have , which is still young and > >flexible, have augment/@refid to refer to an existing reference, and > >augment/@id to present an ID of its own so it can be referre

Re: Augment task and use cases

2010-07-01 Thread Matt Benson
On Jul 1, 2010, at 9:52 AM, Michael Ludwig wrote: I'm wondering about the design of the Augment task, which uses augment/@id instead of augment/@refid to refer to an existing resource. To draw on the example from the manual: \,,,/ (o o) --oOOo-(_)-oOOo-- Given

Augment task and use cases

2010-07-01 Thread Michael Ludwig
I'm wondering about the design of the Augment task, which uses augment/@id instead of augment/@refid to refer to an existing resource. To draw on the example from the manual: \,,,/ (o o) --oOOo-(_)-oOOo-- Given Modifies the excludes attribute of input-fs.

Re: Remove nulll chars from file

2010-07-01 Thread Stefan Bodewig
On 2010-07-01, Carlos Garcés wrote: > There is other way to represent the null char on ant script? Unfortunately there isn't - and you can't even legally add a NUL character to any XML file either (for example � would be invalid). A custom filter (maybe a scriptfilter using JavaScript) would wor

Remove nulll chars from file

2010-07-01 Thread Carlos Garcés
Hi! I'm trying to remove null chars of one fine generated with exec task, this sin the simplified version: It works with \n, \r, \f, \t and \\ [http://ant.apache.org/manual/Types/filterchain.html#backslash] but not with \0 There is other way to represent the null char on an

Re: Constructing patterns for use in fileset includes

2010-07-01 Thread Matt Benson
On Jul 1, 2010, at 8:26 AM, Bailey, Darragh wrote: -Original Message- From: Matt Benson [mailto:gudnabr...@gmail.com] Sent: 30 June 2010 15:57 To: Ant Users List Subject: Re: Constructing patterns for use in fileset includes You're in luck. I would recommend using antcontrib:for t

RE: Constructing patterns for use in fileset includes

2010-07-01 Thread Bailey, Darragh
> -Original Message- > From: Matt Benson [mailto:gudnabr...@gmail.com] > Sent: 30 June 2010 15:57 > To: Ant Users List > Subject: Re: Constructing patterns for use in fileset includes > You're in luck. I would recommend using antcontrib:for to > iterate over a resourcecollection bui

RE: Ant 1.8 unzip does not preserve permissions!

2010-07-01 Thread John W. Lewis
may be helpful. http://ant.apache.org/manual/Tasks/chmod.html -Original Message- From: Stefan Bodewig [mailto:bode...@apache.org] Sent: Thursday, July 01, 2010 8:30 AM To: user@ant.apache.org Subject: Re: Ant 1.8 unzip does not preserve permissions! On 2010-07-01, ilke Muhtaroglu wro

Re: Urgent Help: Strange Error During Build.

2010-07-01 Thread Stefan Bodewig
On 2010-07-01, Rajesh Kumar wrote: > Hi, > I am apache-ant-1.6.5 with jdk 1.6 and getting strange error during build > process.. Any body can explain me or guide me what is going wrong? > [copy] Copying 1 file to > D:\WorkSpace\Perforce\Harrier9.01-branch\stg-dev\elance\template-stg\config\

Re: Ant 1.8 unzip does not preserve permissions!

2010-07-01 Thread Stefan Bodewig
On 2010-07-01, ilke Muhtaroglu wrote: > When I unzip with ant command > > I see the resulting directory does not have the permissions preserved in > linux environment. This is true. The unzip task doesn't do anything with permissions and the manual page even says so , | File permissions

Re: Urgent Help: Strange Error During Build.

2010-07-01 Thread Michael Ludwig
Rajesh Kumar schrieb am 01.07.2010 um 16:25 (+0530): > > I am apache-ant-1.6.5 with jdk 1.6 and getting strange error during > build process.. Any body can explain me or guide me what is going > wrong? > > I could not get any solution myself. > [copy] Infinite loop in tokens. Currently know

Urgent Help: Strange Error During Build.

2010-07-01 Thread Rajesh Kumar
Hi, I am apache-ant-1.6.5 with jdk 1.6 and getting strange error during build process.. Any body can explain me or guide me what is going wrong? I could not get any solution myself. filterTemplates: [mkdir] Created dir: D:\WorkSpace\Perforce\Harrier9.01-branch\stg-dev\elance\template-stg

Ant 1.8 unzip does not preserve permissions!

2010-07-01 Thread ilke Muhtaroglu
When I unzip with ant command I see the resulting directory does not have the permissions preserved in linux environment. At http://ant.apache.org/manual/Tasks/zip.html I see there is an option "preserve0permissions"...I have an already zipped directory with permissions adjusted and when I unzi

Ant 1.8 unzip does not preserve permissions!

2010-07-01 Thread ilke Muhtaroglu
When I unzip with ant command I see the resulting directory does not have the permissions preserved in linux environment. At http://ant.apache.org/manual/Tasks/zip.html I see there is an option "preserve0permissions"...I have an already zipped directory with permissions adjusted and when I unzi