add a project/build/testResources/testResource to your pom

2009/10/2 David Sharp <dshar...@gmail.com>

> I am attempting to use maven to run unit tests on a struts web
> application.  Struts needs access to a resource file located in my ear
> project under src/main/application/.  At run time, this file is in the
> classpath and all is good.  At test time, however, it's not in the
> classpath.  How can I add this file to the classpath used for running
> unit tests?
>
> Thanks,
> Dave
> ---
> There are 10 types of people in the world, those that understand
> binary, and those that don't.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to