org.apache.jetspeed.tools.deploy
Class JetspeedDeploy

java.lang.Object
  extended by org.apache.jetspeed.tools.deploy.JetspeedDeploy
All Implemented Interfaces:
org.apache.jetspeed.tools.deploy.Deploy

public class JetspeedDeploy
extends Object
implements org.apache.jetspeed.tools.deploy.Deploy

Makes a web application Deploy-ready for Jetspeed.

Version:
$Id: JetspeedDeploy.java 545097 2007-06-07 08:11:56Z ate $
Author:
Dain Sundstrom , David Sean Taylor

Field Summary
private  byte[] buffer
           
 
Constructor Summary
JetspeedDeploy(String inputName, String outputName, boolean stripLoggers)
           
JetspeedDeploy(String inputName, String outputName, boolean stripLoggers, String forcedVersion)
           
 
Method Summary
protected  void addFile(String path, org.jdom.Document source, JarOutputStream jos)
           
protected  void addFile(String path, InputStream source, JarOutputStream jos)
           
protected  String getPortletApplicationName(String path)
           
static void main(String[] args)
           
protected  org.jdom.Document parseXml(InputStream source)
           
private static void printUsage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

buffer

private final byte[] buffer
Constructor Detail

JetspeedDeploy

public JetspeedDeploy(String inputName,
                      String outputName,
                      boolean stripLoggers)
               throws Exception
Throws:
Exception

JetspeedDeploy

public JetspeedDeploy(String inputName,
                      String outputName,
                      boolean stripLoggers,
                      String forcedVersion)
               throws Exception
Throws:
Exception
Method Detail

main

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

printUsage

private static void printUsage()

parseXml

protected org.jdom.Document parseXml(InputStream source)
                              throws Exception
Throws:
Exception

addFile

protected void addFile(String path,
                       InputStream source,
                       JarOutputStream jos)
                throws IOException
Throws:
IOException

addFile

protected void addFile(String path,
                       org.jdom.Document source,
                       JarOutputStream jos)
                throws IOException
Throws:
IOException

getPortletApplicationName

protected String getPortletApplicationName(String path)


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.