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
--
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]>

Reply via email to