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
ConfigurationException
IOException
protected void executePreprocessing() throws ConfigurationException, IOException
ConfigurationException
IOException
protected void runTemplatePreprocessor() throws ConfigurationException
ConfigurationException
protected void runDeploymentPreprocessor() throws IOException
IOException
protected void executePackaging() throws IOException
IOException
protected void zipLibs(String prefix, File dir, List<String> patterns, ZipOutputStream zout) throws IOException
IOException
protected void zipDirectory(String entryName, ZipOutputStream zout) throws IOException
IOException
protected void zipFile(String entryName, File file, ZipOutputStream zout, PackWar.FileProcessor processor) throws IOException
IOException
protected void zipBytes(String entryName, byte[] bytes, ZipOutputStream zout) throws IOException
IOException
protected void zipTree(String prefix, File root, boolean includeRoot, ZipOutputStream zout) throws IOException
IOException
Copyright © 2016 Nuxeo SA. All rights reserved.