ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Raible" <m...@raibledesigns.com>
Subject RE: Regular expression matching
Date Fri, 21 Feb 2003 02:59:23 GMT
Actually, what I'd like to do is be able to create a JSP 1.2 version of
my app (with c:out) and a JSP 2.0 (with c:out stripped out).  I'd like
to have this as a switch when I run my build.xml.

Matt

> -----Original Message-----
> From: Craig Berry [mailto:Craig.Berry@portblue.com] 
> Sent: Thursday, February 20, 2003 7:25 PM
> To: Ant Users List
> Subject: RE: Regular expression matching
> 
> 
> If you're just talking about doing this once for the 
> codebase, I'd suggest using global substitution from your 
> favorite IDE (Eclipse does this very well).  Or, if you're 
> feeling old-school, use perl or sed or the like from the command line.
> 
> -----Original Message-----
> From: Matt Raible [mailto:matt@raibledesigns.com]
> Sent: Thursday, February 20, 2003 3:57 PM
> To: user@ant.apache.org
> Subject: Regular expression matching
> 
> 
> Is there a way that I can parse my .jsp files with a regexp 
> matching and convert all of:
> 
> <c:out value="${...}" /> 
> 
> to simply:
> 
> ${...}
> 
> I want to be able to produce a JSP 2.0 version of my app from 
> a JSP 1.2 codebase that uses JSTL.
> 
> Thanks,
> 
> Matt
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 



Mime
View raw message