org.nuxeo.runtime.deployment.preprocessor
Class PackWar
java.lang.Object
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 VCS configuration must be adapted.
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.
PackWar
public PackWar(File nxserver,
File war)
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)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.