Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Help with (regexp?) file mapper

Help with (regexp?) file mapper

2005-06-27       - By Stefan Bodewig
Reply:     1     2     3     4     5     6     7     8     9  

On Mon, 27 Jun 2005, Emmanouil Batsis <Emmanouil.Batsis@(protected)>
wrote:

> my/package/Foo.xml
>
> to
>
> my/package/web/FooForm.java

untested

from="(.*)/(.*)\.xml" to="\1/web/\2Form.java"

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.