On Fri, 2002-03-29 at 10:30, [EMAIL PROTECTED] wrote:
> What's the recommendation for test cases locating external files with
> maven?
>
> One of my test cases is failing because it's expecting to be able to find
> a file relative to the build file using:
> new File("relative path goes here")
>
> There is obviously a different working directory in use calling
> maven:test.
>
> I could use Class.Loader's getResource method, but I'm sure you guys would
> have done this one before, and have a general recommendation
I believe Jeff had a method of setting a <sysproperty> with the JUnit
task but I'm not sure where the example is at the moment. I will look
and if Jeff sees this he can answer.
> --
> dIon Gillard, Multitask Consulting
> Work: http://www.multitask.com.au
> Developers: http://adslgateway.multitask.com.au/developers
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
jvz.
Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>