Thanks for the help. I'll try the web.xml you gave. That sample web.xml you showed me doesn't look much like a web.xml that I'm familiar with from doing servlets. The display name is the only element, does the servlet container read that element?
I downloaded the earlier version of maven and when I tried to use the deploy task it failed on a NoClassDefFoundError: org/apache/pluto/driver/deploy/CLI How do I control the classpath in this Mavne deploy task?? On 5/11/06, Patrick Huber <[EMAIL PROTECTED]> wrote:
Hi Chad ONE: Every webapp needs at least a minimal web.xml. That'd look something like this: <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4"> <display-name>Demo Portlets</display-name> </web-app> TWO: You can also deploy the application by uploading it trough the admin portlet or by copying the war into tomcat's webapp directory. You will still need to "assemble" the war file trough the pluto task, since it inserts an invoker-servlet into the web.xml for each portlet defined in the portlet.xml. Try it - I don't know pluto 1.0 very well... I've only worked with 1.1 so far.... Patrick 2006/5/11, ChadDavis <[EMAIL PROTECTED]>: > Hello, I have a couple of questions that I'd appreciate some help with. > > ONE. I'm trying to deploy a portlet to the pluto portal. I used the > admin autodeploy and it complained that I didn't have a web.xml. I > don't have one actually, but I was under the impression that the > deployment tool would autogenerate one for me? There's only a single, > simple portlet in my war file, no servlets. > > TWO. I then tried to use maven to manually deploy the portlet > application. I had installed maven 2.0.2. It complains that there is > not pom.xml. I guess the configuration files have changed on the new > version of maven and the pluto ( 1.0.1 ) is set up to use an older > version of maven. Is it possible to easily make a pom.xml to use the > newer Maven? Or should I just install an older version of maven? > -- "I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams
