| Modifier and Type | Class and Description |
|---|---|
protected static class |
PackWar.CopyProcessor |
protected static interface |
PackWar.FileProcessor |
protected static class |
PackWar.NuxeoXmlProcessor |
protected class |
PackWar.PropertiesFileProcessor |
protected static class |
PackWar.ServerXmlProcessor |
protected static class |
PackWar.WebXmlProcessor |
protected static class |
PackWar.XmlProcessor |
| Modifier and Type | Field and Description |
|---|---|
protected File |
nxserver |
protected File |
tomcat |
protected File |
zip |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(String command) |
protected void |
executePackaging() |
protected void |
executePreprocessing() |
static void |
fail(String message) |
static void |
fail(String message,
Throwable t) |
static void |
main(String[] args) |
protected static File |
newFile(File base,
String path) |
protected void |
runDeploymentPreprocessor() |
protected void |
runTemplatePreprocessor() |
protected void |
zipBytes(String entryName,
byte[] bytes,
ZipOutputStream zout) |
protected void |
zipDirectory(String entryName,
ZipOutputStream zout) |
protected void |
zipFile(String entryName,
File file,
ZipOutputStream zout,
PackWar.FileProcessor processor) |
protected void |
zipLibs(String prefix,
File dir,
List<String> patterns,
ZipOutputStream zout) |
protected void |
zipTree(String prefix,
File root,
boolean includeRoot,
ZipOutputStream zout)
prefix ends with '/'
|
public void execute(String command) throws ConfigurationException, IOException
ConfigurationExceptionIOExceptionprotected void executePreprocessing() throws ConfigurationException, IOException
ConfigurationExceptionIOExceptionprotected void runTemplatePreprocessor() throws ConfigurationException
ConfigurationExceptionprotected void runDeploymentPreprocessor() throws IOException
IOExceptionprotected void executePackaging() throws IOException
IOExceptionprotected void zipLibs(String prefix, File dir, List<String> patterns, ZipOutputStream zout) throws IOException
IOExceptionprotected void zipDirectory(String entryName, ZipOutputStream zout) throws IOException
IOExceptionprotected void zipFile(String entryName, File file, ZipOutputStream zout, PackWar.FileProcessor processor) throws IOException
IOExceptionprotected void zipBytes(String entryName, byte[] bytes, ZipOutputStream zout) throws IOException
IOExceptionprotected void zipTree(String prefix, File root, boolean includeRoot, ZipOutputStream zout) throws IOException
IOExceptionCopyright © 2016 Nuxeo SA. All rights reserved.