It looks like you're trying to utilize the deprecated deployer in 1.1 (I'm working on doc updates . . .sorry for the confusion).
Deployment has not been divided into 3 phases: 1) Assembly 2) Deployment 3) Publishing Assembly adds the necesary items to your portlet application so it can be deployed into pluto. It can be accomplished by adding the pluto:assemble goal into the generate resources phase of a maven 2 project ---- or by using the assemble ant task. Deployment is the same as deploying any other web application -- for now (any maybe the long term) use external mojos or ant tasks to accomplish deployment to an app server. The old deployer (as you've found out) no longer works. Publishing is notifying the portal that a portlet application is available. It can be done through a mojo or through ant tasks. It can also be done by manually updating the pluto's config file before you build it. David On 12/6/05, Saroj Rout <[EMAIL PROTECTED]> wrote: > Hi - > I have created a simple portlet but having problem > while deploying in pluto. I get following error: > > deploy: > [java] <VERBOSE> Source WebApp: > C:\pluto\deploy\ListPortlet.war > [java] <VERBOSE> Destination: > C:\DevBox\appservers\Tomcat 5.5\webapps > [java] <VERBOSE> Portal WebApp: > C:\DevBox\appservers\Tomcat 5.5\webapps\plu > o > [java] <VERBOSE> Portlet Context: > C:\DevBox\appservers\Tomcat 5.5\webapps\L > stPortlet > [java] Exception in thread "main" > java.lang.NullPointerException > [java] at > java.io.Writer.<init>(Writer.java:70) > [java] at > java.io.OutputStreamWriter.<init>(OutputStreamWriter.java:91 > > [java] at > org.apache.pluto.descriptors.services.impl.AbstractCastorDes > riptorService.writeInternal(AbstractCastorDescriptorService.java:98) > [java] at > org.apache.pluto.descriptors.services.impl.AbstractWebAppDes > riptorService.write(AbstractWebAppDescriptorService.java:91) > [java] at > org.apache.pluto.driver.deploy.Deploy.updateDescriptors(Depl > y.java:152) > [java] at > org.apache.pluto.driver.deploy.Deploy.deploy(Deploy.java:130 > > [java] at > org.apache.pluto.driver.deploy.CLI.main(CLI.java:59) > [java] [ERROR] Java Result: 1 > BUILD SUCCESSFUL > Total time: 7 seconds > Finished at: Tue Dec 06 14:57:41 EST 2005 > > > Any help on this will be highly appreciated. > > Thank you, > Saroj Rout > > > > > __________________________________________ > Yahoo! DSL – Something to write home about. > Just $16.99/mo. or less. > dsl.yahoo.com > >
