Re: Knowing my project's location when building w/ reactor ?

2005-12-22 Thread Grégory Joseph
> The way this problem is resolved for the castor plugin was to extend > PlexusTestCase and its getBaseDir() method which returns the locations > of the projects basedir. Oh thanks Matt. I just checked that method source and it just works, nice. Where's this basedir property coming from? Set by ma

Re: Knowing my project's location when building w/ reactor ?

2005-12-22 Thread Matt Brozowski
On Dec 21, 2005, at 9:22 PM, Grégory Joseph wrote: Hi list, Is there a preferred way, when a project is building with reactor, to know the location of the project? i.e., if, in a testcase, I do new File("."), I'll get the path to my root pom's directory, and I'd need the path to the actual sub

Knowing my project's location when building w/ reactor ?

2005-12-21 Thread Grégory Joseph
Hi list, Is there a preferred way, when a project is building with reactor, to know the location of the project? i.e., if, in a testcase, I do new File("."), I'll get the path to my root pom's directory, and I'd need the path to the actual sub-module being tested. Any tip or idea? Cheers, g --