Re: Ant decomment task problem

2006-11-06 Thread Venkatesh Babu
are the same and it does take into account strings. Peter > > > > -Original Message- > > From: Venkatesh Babu [mailto:[EMAIL PROTECTED] > > Sent: Monday, November 06, 2006 5:17 AM > > To: user@ant.apache.org > > Subject: Ant decomment tas

Ant decomment task problem

2006-11-06 Thread Venkatesh Babu
Hello All, I'm using the decomment task, to decomment my JavaScript files. There seems to be problem in that: it is removing // characters present inside strings. For ex: I have a function where I'm constructing URL: function f1() { var url = "http://"; ; } the decomment task is removi

Knowing the build fail status of ant in batch script

2006-07-11 Thread Venkatesh Babu
Hello All, I'm calling an ant target from within my batch script as follows: cmd/C ant -f mailer.xml sendmail My problem is that if the sendmail target fails, I have to stop execution of my batch script. For that I tried adding the following statement after the ant call: if %ERRORLEVEL% != 0 go