com.springsource.bundlor.commandline
Class Runner
java.lang.Object
com.springsource.bundlor.commandline.Runner
public class Runner
- extends java.lang.Object
Utility class to enable the running of Bundlor from the command line.
Concurrent Semantics
Not thread-safe.
- Author:
- Rob Harrop, Andy Wilkinson, Christian Dupuis
Field Summary |
private static java.util.Map<java.lang.String,org.apache.commons.cli.Options> |
commandOptions
|
private static java.lang.String |
TOOL_NAME
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
commandOptions
private static java.util.Map<java.lang.String,org.apache.commons.cli.Options> commandOptions
TOOL_NAME
private static final java.lang.String TOOL_NAME
- See Also:
- Constant Field Values
Runner
public Runner()
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
buildCommandOptions
private static void buildCommandOptions()
buildManifestOptions
private static void buildManifestOptions()
buildTransformOptions
private static void buildTransformOptions()
runManifest
private static void runManifest(java.lang.String[] args,
org.apache.commons.cli.Options options)
throws java.io.IOException
- Throws:
java.io.IOException
runTransform
private static void runTransform(java.lang.String[] args,
org.apache.commons.cli.Options options)
throws java.io.FileNotFoundException,
java.io.IOException
- Throws:
java.io.FileNotFoundException
java.io.IOException
loadManifest
private static com.springsource.util.parser.manifest.ManifestContents loadManifest(java.lang.String path)
throws java.io.IOException
- Throws:
java.io.IOException
displayUsage
private static void displayUsage()
displayUsage
private static void displayUsage(org.apache.commons.cli.ParseException pe)