Java Mailing List Archive

http://www.java2.5341.com/

Home » Maven Users List »

maven filtering component usage

Dan Tran

2008-10-03

Replies: Find Java Web Hosting

Author LoginPost Reply
Hello all,

I am current using maven-filtering-beta-1 & 2 to interpolate
@{variable} so here is the codesnip

// support @{} izpack ant format
mavenResourcesExecution.addFilerWrapper( new MavenProjectValueSource(
project, true ), "\\@", "(.+?)\\}", "@{", "}" );

The real source is at
http://svn.codehaus.org/izpack/izpack-maven/trunk/izpack-maven-plugin/src/main/java/org/izpack/mojo/IzPackMojo.java
at interpolateDescriptorFile()

The test case is at

http://svn.codehaus.org/izpack/izpack-maven/trunk/izpack-maven-plugin/src/it/izpack-172/

The file i am trying to interpolate is under src/izpack/install.xml


can someone give it a quick scan to see if I manage to use the API correctly.?

Full appreciate the helps

Thanks

-D

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

©2008 java2.5341.com - Jax Systems, LLC, U.S.A.