org.apache.aries.application.repository.generator
Class AriesRepositoryGenerator
java.lang.Object
org.apache.aries.application.repository.generator.AriesRepositoryGenerator
public class AriesRepositoryGenerator
- extends Object
|
Method Summary |
static void |
main(String[] args)
Execute this program using
java -jar thisbundlename arg0 arg1... |
org.osgi.framework.BundleContext |
startFramework()
Start OSGi framework and install the necessary bundles |
static void |
usage()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_TIMEOUT
public static final long DEFAULT_TIMEOUT
- See Also:
- Constant Field Values
ERROR_LEVEL
public static final String ERROR_LEVEL
- See Also:
- Constant Field Values
DEFAULT_REPO_NAME
public static final String DEFAULT_REPO_NAME
- See Also:
- Constant Field Values
AriesRepositoryGenerator
public AriesRepositoryGenerator()
startFramework
public org.osgi.framework.BundleContext startFramework()
throws org.osgi.framework.BundleException
- Start OSGi framework and install the necessary bundles
- Returns:
-
- Throws:
org.osgi.framework.BundleException
usage
public static void usage()
main
public static void main(String[] args)
- Execute this program using
java -jar thisbundlename arg0 arg1...
arg0 can be the location of the repository xml or a url
arg1... a list of url. If there is a file url, all jar/wars under the url are to be included.
e.g. file:///c:/temp/, all jars/wars under temp or its subdirectory are to be included.
- Parameters:
args -
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.