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-module being tested.
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.
Any tip or idea?
Cheers,
g
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
________________________________________________________________________
___
Matt Brozowski, OpenNMS Maintainer Main: +1 919 812 4984
The OpenNMS Group, Inc. Fax: +1 503
961 7746
Email: [EMAIL PROTECTED] URL:
http://www.opennms.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]