You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by David Garnier <ma...@davidgarnier.com> on 2004/05/04 06:59:26 UTC
RE: JUnit and getResourceAsStream
>
> The second possibility is configuration. I also had some problems
> locating files in Junit tests because of forking issues. If the above
> does not help, try creating a 'project.properties' file next to your
> 'project.xml' file and include this:
>
> # Forked JUnit because of some problems involving classloading
> of resources in test scenarios.
> maven.junit.fork=true
>
>
> Hope this helps.
Well it just did! Thanks for your post.
Best Regards,
--
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org