[EMAIL PROTECTED] wrote on 07/10/2003 02:44:52 PM:

> taylor      2003/10/06 21:44:52
> 
>   Modified:    .        maven.xml
>                cps/src/test/org/apache/jetspeed/cps/rewriter
>                         TestRewriterRules.java
>                cps/test/rewriter test-001-output.html
>                portal/src/webapp/WEB-INF/conf jetspeed.properties
>                portal/src/webapp/WEB-INF/db/hsql Registry.script
>   Log:
>   Good to be back ;) although Pluto has changed again
> 
>   - CPS test was failing when called from allBuild root task, but 
> not from the CPS directory.
>     I was under the impression the the maven reactor's basedir tag 
> would chdir, but it does not.
>     This breaks the unit test for CPS, which depend on a certain 
> relative directory structure.
>     I couldn't figure out how to get the reactor to chdir. Nor could
> I find an ant task to chdir.
>     This lack of sleep must be making me dense, because surely there
> must be a chdir in ant?
>     Anway we'll figure it out tomorrow, but for now the unit test 
> runs from allBuild.

Can I suggest using the system property 'basedir' in the unit tests? Maven 
always passes that through.
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to