Re: Selector with an if condition.

2007-11-24 Thread Rashmi Rubdi
Hi Rick, Martin, Thank you for your replies, and for pointing out the "if" attributes value must be the property name. I made the change and tested on a fresh ant build file and it worked. Thanks a lot for your help. -Rashmi On Nov 24, 2007 3:43 PM, Martin Gainty <[EMAIL PROTECTED]> wrote: > >

Selector with an if condition.

2007-11-24 Thread Rashmi Rubdi
Hello Everyone, I'm using the modified selector to execute a task only if a .xml file was changed, the modified selector works as expected. However, I'm trying to get the selector to be in effect only if the "if" , condition is met. The if condition is there to disable the selector incase the cla

Re: How to compile jsp files with ANT

2007-02-23 Thread Rashmi Rubdi
Thank you for your reply, I will start reading those chapters and the presentation, I think it should be fairly simple to understand since I'm already familiar with the concepts. I think, now there's a new and better way to write JSPs using JSTL tags or custom tags. Perhaps, Cactus tests coul

Re: How to compile jsp files with ANT

2007-02-21 Thread Rashmi Rubdi
- Original Message From: Steve Loughran <[EMAIL PROTECTED]> To: Ant Users List Sent: Wednesday, February 21, 2007 12:51:17 PM Subject: Re: How to compile jsp files with ANT >> And, also if I were to run HttpUnit on a production environment, it would >> have to be done during off-peak

Re: How to compile jsp files with ANT

2007-02-21 Thread Rashmi Rubdi
ibility is of concern. -Rashmi - Original Message ---- From: Rashmi Rubdi <[EMAIL PROTECTED]> To: Ant Users List Sent: Wednesday, February 21, 2007 12:09:36 PM Subject: Re: How to compile jsp files with ANT > With an httpunit run straight after deployment, you can hit every single

Re: How to compile jsp files with ANT

2007-02-21 Thread Rashmi Rubdi
From: Steve Loughran <[EMAIL PROTECTED]> To: Ant Users List Sent: Wednesday, February 21, 2007 10:53:27 AM Subject: Re: How to compile jsp files with ANT Rashmi Rubdi wrote: > I've used JUnit before, I do want to learn HttpUnit (among so many other > things that I need to l

Re: How to compile jsp files with ANT

2007-02-21 Thread Rashmi Rubdi
I've used JUnit before, I do want to learn HttpUnit (among so many other things that I need to learn :-) But thanks for providing the details, they're helpful. I've worked on a few eXtreme Programming projects, and recognize the importance of test-first-design. The main reason for using Jasper

Re: How to compile jsp files with ANT

2007-02-21 Thread Rashmi Rubdi
container _may_ provide a mechanism for compiling JSPs, >otherwise you _do_ need to request each page as part of your deployment >strategy to make sure that they have been compiled. Agreed. Rashmi Rubdi wrote: > Hi James, > > I use the Jasper task to mainly reduce the time it tak

Re: How to compile jsp files with ANT

2007-02-21 Thread Rashmi Rubdi
he deployment target container mechanism to compile the JSPs. James Rashmi Rubdi wrote: > Hi Lokesh, > > I'm assuming you want to pre-compile JSPs. You can use Jasper for that. > > Take a look at the Jasper ANT task here: > http://tomcat.apache.org/tomcat-5.5-doc/jasper-howto.ht

Re: How to compile jsp files with ANT

2007-02-20 Thread Rashmi Rubdi
Hi Lokesh, I'm assuming you want to pre-compile JSPs. You can use Jasper for that. Take a look at the Jasper ANT task here: http://tomcat.apache.org/tomcat-5.5-doc/jasper-howto.html The pre-compilation process first converts all JSP files to .java files and then compiles them into class files,

How to prevent processing of with the whitespace compression task using ReplaceRegExp

2007-02-16 Thread Rashmi Rubdi
Hello, I'm using white space compression as illustrated here : http://ant.apache.org/manual/OptionalTasks/replaceregexp.html , with Ant 1.6.5 , my original purpose for using whitespace compression was to reduce the size of the WAR file so that it could be uploaded faster to a production enviro