Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.runtime.deployment.preprocessor
Class PackWar

java.lang.Object
  extended by org.nuxeo.runtime.deployment.preprocessor.PackWar

public class PackWar
extends Object

Packs a Nuxeo Tomcat instance into a WAR file.

The configuration parameters must be correct before this is run, in particular:

The WAR will need JDBC datasources configuration to run, so the nuxeo.xml file from Tomcat (for instance) must be installed separately.

In addition, the JDBC libraries are needed in the global Tomcat lib.


Constructor Summary
PackWar(File nxserver, File war)
           
 
Method Summary
 void execute(String command)
           
static void fail(String message)
           
static void fail(String message, Throwable t)
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PackWar

public PackWar(File nxserver,
               File war)
Method Detail

execute

public void execute(String command)
             throws Exception
Throws:
Exception

fail

public static void fail(String message)

fail

public static void fail(String message,
                        Throwable t)

main

public static void main(String[] args)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.