AW: Replace a token with " in a text file with ANT

2005-08-10 Thread Jan.Materne
And dont forget to mask the " with " (nothing Ant specific - just xml). Jan >-Ursprüngliche Nachricht- >Von: Ivan Ivanov [mailto:[EMAIL PROTECTED] >Gesendet: Donnerstag, 11. August 2005 01:15 >An: Ant Users List >Betreff: Re: Replace a token with " in a text file with ANT > >Hello, > >

Re: Replace a token with " in a text file with ANT

2005-08-10 Thread Ivan Ivanov
Hello, check [1] task. Regards Ivan [1]http://ant.apache.org/manual/OptionalTasks/replaceregexp.html --- Asif Chowdhary <[EMAIL PROTECTED]> wrote: > Hi, > > I have a .bat file in which I want to replace the @ > symbol with a quotation mark ". > > How do you do that in ANT. > > Thanks > >

Replace a token with " in a text file with ANT

2005-08-10 Thread Asif Chowdhary
Hi, I have a .bat file in which I want to replace the @ symbol with a quotation mark ". How do you do that in ANT. Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

HELP:(I am stumped)ANT COMPLAINS THAT AN EXISTING RESOURCE IS NON EXISTANT AND FAILS BUILD

2005-08-10 Thread Arti Singh
Hi , can someone please help?I have tried for hours to figrre this out but no help at all.The section of code below fails to execute . while another block of code similar in every way except for the file name executes perfectly. Ant exits with: C:\Program Files\OMS\SDK\Samples\AUTO_PLUGIN

RE: Cannot get FTP to get/list files on RHEL3 machine

2005-08-10 Thread Anderson, Rob (Global Trade)
The output below shows: > > --- > > Tasks availability > > --- > > image : Missing dependency > com.sun.media.jai.codec.FileSeekableStream > > sshexec : Missing dependency com.jcraft.jsch.UserInfo > > scp : Missing de

[ANN] Ant's Nest GUI Editor for Ant

2005-08-10 Thread Chris Clohosy
This is a request to add Ant's Nest to the external projects page. Attached is some XML with the information needed in the required format. For those that do not know, Ant's Nest started as a university project and is now being worked on part-time. It helps users create and edit Ant build files

Re: Retrieving current date & time values in defferent variables

2005-08-10 Thread Karunakar Chatla
Got it, thanks a lot. - Original Message - From: "Ivan Ivanov" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Wednesday, August 10, 2005 9:32 PM Subject: Re: Retrieving current date & time values in defferent variables > Hello, > > Jan lead you to the correct direction and here is some

Re: Retrieving current date & time values in defferent variables

2005-08-10 Thread Ivan Ivanov
Hello, Jan lead you to the correct direction and here is some real code: HTH Ivan --- Karunakar Chatla <[EMAIL PROTECTED]> wrote: > I think it gets the timestamp to only one property. > I wanted each time part in separate property. > Like... > year i

AW: Retrieving current date & time values in defferent variables

2005-08-10 Thread Jan.Materne
Usual XML: an element can contain multiple nested elements of the same type (only for some task this isnt valid, they´ll throw an BuildException then). Jan >-Ursprüngliche Nachricht- >Von: Karunakar Chatla [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 10. August 2005 17:47 >An:

Re: Retrieving current date & time values in defferent variables

2005-08-10 Thread Karunakar Chatla
I think it gets the timestamp to only one property. I wanted each time part in separate property. Like... year in a property called today.year day in a property called today.day month in a property called today.month hour in a property called today.hour minutes in a property called today.min and se

AW: Retrieving current date & time values in defferent variables

2005-08-10 Thread Jan.Materne
http://ant.apache.org/manual/CoreTasks/tstamp.html See the example. Jan >-Ursprüngliche Nachricht- >Von: Karunakar Chatla [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 10. August 2005 17:32 >An: Ant Users List >Betreff: Retrieving current date & time values in defferent variables >

Retrieving current date & time values in defferent variables

2005-08-10 Thread Karunakar Chatla
Hi, I wanted to retrieve date ant time values values of current time in defferent variables - Like... Day in a variable called today.day Year in a variable called today.year and so on for month, hour, min and second. Can anybody help me out with this? I can get current time from TStamp but how

Re: Sticky Tag

2005-08-10 Thread Jeffrey E Care
This is what I use: -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere v7 Release Engineer WebSphere Build Tooling Lead (Project Mantis) Kai Hendry <[EMAIL PROTECTED]> wrote on 08/10/2005 12:17:37 AM: > I w

AW: Can we display CPPUnit test result as JUnit test results

2005-08-10 Thread Jan.Materne
Don´t know how CPPUnit logs the results. For using you have to log the JUnit results in a special xml format. The transformation is done using stylesheets from ANT/src/etc/junit-*.xsl. If CPPUnit logs in the same format, you can use for transformation (maybe directly). Let us know :-) Ja

Can we display CPPUnit test result as JUnit test results

2005-08-10 Thread Karunakar Chatla
Hi, We have used CPPUnit for unit testing in our projects. Is there any way to display CPPUnit test results as that of the JUnit test results? I didn't find any direct support by ANT. Is there any work around for this? Thanks, Karunakar Chatla

Re: Path does not support dir-structure

2005-08-10 Thread duvelbier-tsmets
OK I will clean this up tonight and confirm it works. Tx already \T, --- Peter Reilly <[EMAIL PROTECTED]> wrote: > It should be > > > The nested element is actually a path class and hence the > misleading message. > > Peter > > Conor MacNeill wrote: > > >I can't see anything amiss in

Re: Path does not support dir-structure

2005-08-10 Thread Peter Reilly
It should be The nested element is actually a path class and hence the misleading message. Peter Conor MacNeill wrote: I can't see anything amiss in your code, although the --> in your description attribute did catch my eye :-). It's better if you can show the actual error printed by An

RE: Cannot get FTP to get/list files on RHEL3 machine

2005-08-10 Thread Calum Byrom
Thanks for responding again, Rob. As far as I can tell there are no missing dependencies (as mentioned in the first posting, I copied the complete Ant set up between two RHEL machines and it works fine on one but not on the other). Really can't figure out what is wrong here - and am using up

Re: dependency checking is not included in Ant. ???

2005-08-10 Thread Alexey Kakunin
In other cases then you need to make timestamp dependency by yourself (for example in case then you use exec task) you can use task jonathan gold wrote: not exactly. that paragraph continues: "the tasks themselves can do dependency checking or not. A full java build using Jikes is so fast t