"Brekke, Jeff" <[EMAIL PROTECTED]> wrote on 30/03/2002 03:02:54 AM:
> > You are correct, we don't want to have the build system setup our test > fixtures/env for us if possible. > So the simplest thing we do in Maven is provide a string with the projects > directory so you can build > up a path to external data in your testcases. The system property is called > 'basedir' and you can check > ProjectMapperTest.java in maven test sources, the setUp() method, for an > example of usage. > > If you have more ideas/feedback on this issue we are in no way slamming the > book on it. But for now this > seems cleanest, but may be difficult. Tests should setup themselves not > rely on the build system to setup > the environment before hand. Does this solution work for you? It works fine for my 'normal' build file. But with maven's build file I'm getting loader constraints violated when linking org/xml/sax/ContentHandler class when parsing the XML doc :( > ================================================================= > Jeffrey D. Brekke Quad/Graphics > [EMAIL PROTECTED] http://www.qg.com Time to chase it down :( -- 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]>
