Wednesday, December 22, 2004

portletUnit now works with pluto-1.0.1-rc2

There were two problems

1 - In webapps/pluto/WEB-INF/data/portletcontext.txt you need to add the portlets that pluto is going to see. What you add is the name of the directory under webapps that contains the portlet deployed to pluto. This will be automated in a later release.

2 - servletUnit returns null from ServletUnitServletContext.getContext(). Pluto is now using this method and expects it to return something other than null. This has been fixed and the fixed httpunit.jar is now included with portletUnit. The fix has also been sent to the httpUnit team.

0 Comments:

Post a Comment

<< Home