Hi Eric

It's quite easy. After assembling, create a war and copy the file to
the webapps dir or use the tomcat deploy task. (The Assemble task only
manipulates the the web.xml and does nothing else)



-----------
        <path id="dev-classpath">
                <fileset dir="lib">
                        <include name="*.jar"/>
                </fileset>
        </path>

        <taskdef
                name="assemble"
                classname="org.apache.pluto.ant.AssembleTask"
                classpathref="dev-classpath"
        />

        <target name="assemble">
                <assemble
                        webxml="${build.dir}/webapp/WEB-INF/web.xml"
                        portletxml="${build.dir}/webapp/WEB-INF/portlet.xml"
                        destfile="${build.dir}/webapp/WEB-INF/web.xml"
                />
        </target>
-----------


2006/7/25, Eric Chow <[EMAIL PROTECTED]>:
Hello,

How can I use Ant to assemble and deploy portlet in Pluto 1.1 ?

Would you please to give me a simple example ?

For example,


portlet app: bookmark.war
host: localhost
context: pluto
user/pass: pluto/pluto


Best regards,
Eric



--
"I love deadlines. I like the whooshing sound they make as they fly
by." -- Douglas Adams

Reply via email to