You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by gl...@agfa.com on 2006/09/25 18:00:07 UTC

renaming test resources

How do I rename test resource files during the build cycle?

I have
src/test/resources/data/x.dat.template
and want
target/test-classes/data/x.dat

Thanks for the help.

Re: renaming test resources

Posted by Wendy Smoak <ws...@gmail.com>.
On 9/25/06, glenn.potter@agfa.com <gl...@agfa.com> wrote:

> How do I rename test resource files during the build cycle?
>
> I have
> src/test/resources/data/x.dat.template
> and want
> target/test-classes/data/x.dat

If all else fails you can use maven-antrun-plugin to do it.

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: renaming test resources

Posted by franz see <fr...@gmail.com>.


glenn.potter wrote:
> 
> How do I rename test resource files during the build cycle?
> 
> I have
> src/test/resources/data/x.dat.template
> and want
> target/test-classes/data/x.dat
> 
> Thanks for the help.
> 

Good day to you, gleen,

AFAIK, none of the released maven apache plugins does not support renaming
of files (including maven-resources-pugin). I'm not sure though if there are
any available plugins out there fore file manipluation (i.e. file renaming).

Cheers,
Franz
-- 
View this message in context: http://www.nabble.com/renaming-test-resources-tf2332533.html#a6500428
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org