org.apache.pluto.util.install.file
Class TomcatCrossContextGenerator

java.lang.Object
  extended by org.apache.pluto.util.install.file.TomcatCrossContextGenerator

public class TomcatCrossContextGenerator
extends Object

TODO JavaDoc

Since:
Dec 11, 2005
Version:
1.0

Nested Class Summary
static class TomcatCrossContextGenerator.PortletFileNameFilter
           
 
Constructor Summary
TomcatCrossContextGenerator()
           
 
Method Summary
static void createContextFile(File confDir, String fileName, String contextName)
          Creates a tomcat-specific context deployment descriptor and deploys it.
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TomcatCrossContextGenerator

public TomcatCrossContextGenerator()
Method Detail

main

public static void main(String[] args)
                 throws IOException
Throws:
IOException

createContextFile

public static void createContextFile(File confDir,
                                     String fileName,
                                     String contextName)
                              throws IOException
Creates a tomcat-specific context deployment descriptor and deploys it.

Parameters:
confDir - Tomcat conf directory
fileName - File name of the war
contextName - The root name of the context file
Throws:
IOException - If there is a problem


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.