Re: How to increase memory used by JVM in Ant

2008-02-15 Thread Z W
Hi Glenn In one of my previous post, I got jstack error when 2 targets are calling each other. I have 2 targets namely A, B. Target A calls target B. Inside target A has an if-then-else condition that would stop calling target B if condition is met. Target B calls target A every 2 seconds after pe

Re: How to increase memory used by JVM in Ant

2008-02-15 Thread glenn opdycke-hansen
Why do you need to alter the heap memory use by the JVM for Ant? Is there a problem that you are dealing with? Why do you want to do this via a command? I would set the ANT_OPTS as an environment variable, but you could set it via a command, too. I have done so below and made the initial heap so l

Re: How to increase memory used by JVM in Ant

2008-02-15 Thread Tommy Nordgren
On 15 feb 2008, at 12.05, Z W wrote: Hi What's the complete command string example to increase memory used by JVM in Ant 1.7 ? What's the min and max memory size for this ? Thanks You should set the environment variable ANT_OPTS to contain the settings needed by the Java virtual Machin

Re: How to increase memory used by JVM in Ant

2008-02-15 Thread Z W
Scott thanks for your response. Could someone provide the specific command line option I could use ? Advance Thanks On Feb 15, 2008 9:09 AM, Scot P. Floess <[EMAIL PROTECTED]> wrote: > I think you define ANT_OPTS if I remember correctly...but do so with the > normal Java -Xmx -Xms options... >

Re: replaceregexp issues...

2008-02-15 Thread Gilbert Rebhan
> Ok i have this: > > and i keep getting this error when i run my ant task > near index 2 > \0 the match attribute should contain your regular expressions (where btw in java '\' has to be masked with a leading '\' so it should be '\\') not a group, a '\' followed by a digit means a specific gro

Re: replaceregexp issues...

2008-02-15 Thread jonese
Got it needed to use Unicode Equivilent \p{IsCntrl} FYI for those who need it: http://perldoc.perl.org/perlre.html jonese On Feb 15, 2008 3:01 PM, jonese <[EMAIL PROTECTED]> wrote: > Ok i have this: > > > > and i keep getting this error when i run my ant task > > BUILD FAILED > C:\working

replaceregexp issues...

2008-02-15 Thread jonese
Ok i have this: and i keep getting this error when i run my ant task BUILD FAILED C:\working\isirv\build.xml:151: java.util.regex.PatternSyntaxException: Illegal octal escape sequence near index 2 \0 ^ The error is pointing to whatever occurs AFTER the \0 i've tried [\0] \0 \0{1,} (\0){1,}

Re: How to increase memory used by JVM in Ant

2008-02-15 Thread Scot P. Floess
I think you define ANT_OPTS if I remember correctly...but do so with the normal Java -Xmx -Xms options... Z W wrote: Hi What's the complete command string example to increase memory used by JVM in Ant 1.7 ? What's the min and max memory size for this ? Thanks -- Scot P. Floess 27 Lake

Re: Check process on remote host - Can Ant do that ?

2008-02-15 Thread Steve Loughran
David Brown wrote: Hello Steve, I am subscribed to various MLs such as Ant and Tomcat because I seem to find something that grabs my interest almost daily. And, the smartfrog link below is no exception. I went directly to smartfrog and I have been reading avidly for several hours. And, I agre

Re: MailLogger failed to send e-mail!

2008-02-15 Thread Steve Loughran
sarancse wrote: Hi Using ANT script mail task, I am able to send mails but fails when build fails. So I decided to use MailLogger using maillogger.properties file and the command is $ant -logger org.apache.tools.ant.listener.MailLogger -DMailLogger.properties=maillogger.properties should be

MailLogger failed to send e-mail!

2008-02-15 Thread sarancse
Hi Using ANT script mail task, I am able to send mails but fails when build fails. So I decided to use MailLogger using maillogger.properties file and the command is $ant -logger org.apache.tools.ant.listener.MailLogger -DMailLogger.properties=maillogger.properties But this time I got the foll

Classpath problem / getting StarTeam tasks to work...

2008-02-15 Thread Robert Campbell
Hello, I can't seem to get the StarTeam tasks working in my ant script. I keep getting the following error: BUILD FAILED java.lang.NoClassDefFoundError: com/starbase/starteam/File I have the StarTeam 2006 R2 client installed. I have taken the " starteam93.jar" from ...\Borland\StarTeam SDK 9.3\L

How to increase memory used by JVM in Ant

2008-02-15 Thread Z W
Hi What's the complete command string example to increase memory used by JVM in Ant 1.7 ? What's the min and max memory size for this ? Thanks

Conditional check with telnet task

2008-02-15 Thread Ramu Sethu
Hi All I need to telnet a machine. But machine displays string in two ways. Either i will be getting '?' or "#" in the console. Is there any way to do conditional checks inside telnet task with ant tasks. Or i should go for custom task? -- Thank you Ramu S