ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Sheridan <tsheri...@intersectsoft.com>
Subject FileSet Conversion
Date Wed, 17 Jul 2002 14:32:02 GMT
I need to take a FileSet that matches the pattern "**/bean/*.Bean.class" and
strip off the absolute path name prefix and ".class" suffix and then convert
the directory separator from "/" to ".". The resulting set would match then
pattern "**.bean.*Bean". For example:

main/bean/TestBean.class

becomes:

main.main.TestBean

Is there a predefined ANT task that can help me do this? Or do I need to use
the <script> ANT task or write my own?

Thanks,
Tim

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message