when i do a "maven deploy -Ddeploy=FULL_PATH_TO_YOUR_PORTLET_WAR", it looks like a bunch of stuff is deployed before it actually gets to my war...it looks redundant (looks like pluto is being deployed everytime?) any ideas? ---
If you get the latest version of Pluto from CVS, the description below is obsolete. You can use Maven to deploy a portlet by calling "maven deploy -DFULL_PATH_TO_PORTLET_WAR."
QUESTION: Isn't the syntax above wrong? http://jakarta.apache.org/pluto/install.html (at the bottom) indicates that the right syntax is: "maven deploy -Ddeploy=FULL_PATH_TO_YOUR_PORTLET_WAR"
_
As a workaround to the build problems people are having as of 21 Jan, 2004, try these steps:
1) Run maven FullDeployment?? as instructed in the new documentation.
2) Hard code the path to your pluto jars in the DeployPortlet??.intern target of build.xml (and make sure the pluto and portlet jars are in there!)
{{{ <classpath>
<pathelement path="${classpath}/"/>
<fileset dir="C:/java/jakarta-pluto/build/ant/lib">
<include name="*.jar"/>
</fileset>
- .. }}}
3) You may have to create some directories manually as well. Look at your ant error messages for any missing directories, and create them.
4) Copy prepareRun.properties.original to prepareRun.properties.
5) Run deployPortlet.
josh <at> media <dot> berkeley <dot> edu
I found that in the most recent version (as of Friday 9th April 2004) that /jakarta-pluto/testsuite/project.xml was still pointing to pluto-portal-1.0.jar rather than 1.0.1 it built just fine after changing that line. -Scotty Weeks