ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig Berry" <Craig.Be...@portblue.com>
Subject RE: Regular expression matching
Date Fri, 21 Feb 2003 02:25:21 GMT
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


Mime
View raw message