org.apache.cocoon.portal.pluto
Class Deploy
java.lang.Object
org.apache.cocoon.portal.pluto.Deploy
public class Deploy
- extends Object
First version of a simple portlet deploy tool for the Cocoon Portal.
It works very similar to the deploy tool of the Pluto project (most
code is taken and improved from the Pluto tool!).
The only difference is that this deploy tool does not copy the taglib
definition for the portlet tags, so you have to have these in your
portlet war already!
- Version:
- CVS $Id: Deploy.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Carsten Ziegeler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WEB_PORTLET_PUBLIC_ID
public static final String WEB_PORTLET_PUBLIC_ID
- See Also:
- Constant Field Values
WEB_PORTLET_DTD
public static final String WEB_PORTLET_DTD
- See Also:
- Constant Field Values
Deploy
public Deploy()
deployArchive
public static void deployArchive(String webAppsDir,
String warFile,
String warFileName)
throws IOException
- Deploy the archive
Unpack the archive in the servlet engine context directory
- Throws:
IOException
prepareWebArchive
public static void prepareWebArchive(String webAppsDir,
String webModule)
throws Exception
- Prepare the web archive of the portlet web app
- Throws:
Exception
main
public static void main(String[] args)
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.