public interface ScriptHelper
| Modifier and Type | Method and Description |
|---|---|
void |
addCommand(java.lang.String command,
boolean isMaven,
boolean takesExtraCli)
Adds a command without any arguments
|
void |
addCommand(java.lang.String command,
java.lang.String arguments,
boolean isMaven,
boolean takesExtraCli)
Adds a command with arguments
|
void |
addCurrentDirToPath()
Adds a command to put the current directory in the system path
|
void |
addLocalRepoLine(java.lang.String localRepoFilename)
Adds "-Dmaven.repo.local=localRepoFilename" to all maven commands
|
void |
addOtherPreliminaryLine(java.lang.String line)
Allows adding of extra commands before the main project commands
|
void |
addSettingsLine(java.lang.String settingsFilename)
Adds a "-s settingsFilename" to all maven commands
|
void |
includeSettingsFile(java.lang.String sourceFilename,
java.lang.String destFilename)
Copies a maven settings file for inclusion in the source distribution.
|
void |
useErrorMode()
Makes the script halt on the first error rather than plowing on
|
void |
writeScript()
Writes the stored script info out to file
|
void writeScript()
throws java.io.IOException
java.io.IOExceptionvoid addSettingsLine(java.lang.String settingsFilename)
settingsFilename - void addLocalRepoLine(java.lang.String localRepoFilename)
void addCurrentDirToPath()
void useErrorMode()
void addOtherPreliminaryLine(java.lang.String line)
line - void addCommand(java.lang.String command,
boolean isMaven,
boolean takesExtraCli)
command - isMaven - takesExtraCli - void addCommand(java.lang.String command,
java.lang.String arguments,
boolean isMaven,
boolean takesExtraCli)
command - arguments - isMaven - takesExtraCli - void includeSettingsFile(java.lang.String sourceFilename,
java.lang.String destFilename)
throws java.io.IOException
sourceFilename - destFilename - java.io.IOExceptionCopyright © 2012 Atlassian. All Rights Reserved.