cd shell script command - ant equivalent?

2005-09-30 Thread Chad Armstrong
Hi all, I am converting a Makefile to an ant script. Is there a way to specify directory location in ant, like with the 'cd' command in a Makefile/shell script? I have an exe file that I need to execute (via the task), which is located in a sub-directory of where the main ant script is, and I *t

Re: character replace

2005-07-22 Thread Chad Armstrong
got it- i tried 2, and 3, but not 4. thanks Alexey On 7/22/05, Alexey N. Solofnenko <[EMAIL PROTECTED]> wrote: > I am sorry, I did not read your email correctly. With Java regular > expressions you need to escape back slashes twice "". > > - Alexey. > >

Re: character replace

2005-07-22 Thread Chad Armstrong
strReplace = strResourceDef.replaceAll(";","\r\n"); project.setProperty("RESOURCE_DEF_REPLACE", strReplace); ]]> - Still returns actual parsed newlines instead of the string "\r\n". thanks Chad On

Re: character replace

2005-07-22 Thread Chad Armstrong
Oh man- *blushes* yes that worked. Thanks On 7/22/05, Alexey N. Solofnenko <[EMAIL PROTECTED]> wrote: > You do not have to escape back slashes in XML - just put "\r\n". > > - Alexey. > > Chad Armstrong wrote: > > Hello all, > > Today seems to be reg

character replace

2005-07-22 Thread Chad Armstrong
Hello all, Today seems to be regular expression day on the list, so here is my input ;) I have a block of code in my build script:

Re: replaceregexp problem

2005-07-22 Thread Chad Armstrong
Hi Frank, The * looks a little weird below in the "match" string, * means 0 or more of the preceding character, which I don't think is what you want. Try it with .* instead and see if that helps. Chad On 7/22/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > Hi all... having some trouble getti

Re: antcall with antcontrib's RemoteAnt?

2005-07-12 Thread Chad Armstrong
anslate to .. .. .. -- similarly, UNLESS would be accomplished the following way: -- .. .. --changes to-- .. .. .. Chad On 7/12/05, Chad Armstrong <[EMAIL PROT

antcall with antcontrib's RemoteAnt?

2005-07-12 Thread Chad Armstrong
Hello, I've gotten some help from this list in setting up antcontrib's RemoteAnt task, and have it mostly working (for which I am greatly indebted.) Now, however, I'm up against another issue. I have a build script on an XP box that kicks off (using RemoteAnt) a build file on a Linux box. But

Re: AntServer and RemoteAnt problems

2005-07-01 Thread Chad Armstrong
t it needs to be in th remote build file (or in a > build file that reachable from the remote build file) > Ninju > > --- Chad Armstrong <[EMAIL PROTECTED]> wrote: > > > Hello, > > I'm having problems getting AntServer and > > RemoteAnt to run > > s

AntServer and RemoteAnt problems

2005-06-29 Thread Chad Armstrong
Hello, I'm having problems getting AntServer and RemoteAnt to run successfully. The gist is that I have a build file running on an XP box that should kick off a build file on a linux box. Here is what I have done so far (just to test the communication between the machines): ON LINUX BOX: -copie

Re: Remote Calls from Ant?

2005-06-24 Thread Chad Armstrong
ject > > > Matt Benson <[EMAIL PROTECTED]> wrote: > telnet or ssh w/ nohup on the remote machine? > > -Matt > > --- Chad Armstrong wrote: > > > Hello, > > I have an ant script running on an XP box that > > needs to kick off a > > script/p

Remote Calls from Ant?

2005-06-24 Thread Chad Armstrong
Hello, I have an ant script running on an XP box that needs to kick off a script/process on a separate linux box. Where should I start looking for a way to do this? (I know that is pretty general, but that is the crux of the challenge). thanks Chad --