portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@multitask.com.au
Subject Re: cvs commit: jakarta-jetspeed-2/portal/src/webapp/WEB-INF/db/hsql Registry.script
Date Tue, 07 Oct 2003 06:51:05 GMT
taylor@apache.org 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: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org

View raw message