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

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

public class TomcatCrossContextGenerator
extends java.lang.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(java.io.File confDir, java.lang.String fileName, java.lang.String contextName)
          Creates a tomcat-specific context deployment descriptor and deploys it.
static void main(java.lang.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(java.lang.String[] args)
                 throws java.io.IOException
Throws:
java.io.IOException

createContextFile

public static void createContextFile(java.io.File confDir,
                                     java.lang.String fileName,
                                     java.lang.String contextName)
                              throws java.io.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:
java.io.IOException - If there is a problem


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