maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Jenkins <ajenk...@infocomp.com>
Subject RE: read contents of a file
Date Wed, 28 Sep 2005 19:03:42 GMT
Untested suggestions:

1. Use ants "loadfile" task with a regexp task to set a condition property
or
2. Extend the ant task that does the filtering to include the check and
declare your custom task.
or
3. Use the jelly util load text tag in conjunction with the regexp tag

anyone think of any more?

-----Original Message-----
From: Ramon Buckland [mailto:rbuckland@infocomp.com]
Sent: Thursday, 29 September 2005 2:11 AM
To: 'users@maven.apache.org'
Subject: read contents of a file


Hi,

I am trying to work out the best way to read the contents of a file.
Specifically, I an performing an iteration over **/*.jsp files
and want to only perform tasks on JSP which have <jsp:root declared 
(ie a JSP XML file).

Any ideas ?

Thanks
Ramon

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message