org.codehaus.mojo.appassembler.booter
Class AppassemblerBooter

java.lang.Object
  extended by org.codehaus.mojo.appassembler.booter.AppassemblerBooter

public class AppassemblerBooter
extends Object

Reads the appassembler manifest file from the repo, and executes the specified main class.

Author:
Kaare Nilsen

Constructor Summary
AppassemblerBooter()
           
 
Method Summary
static URLClassLoader createClassLoader(File repoDir)
           
static void executeMain(URLClassLoader classLoader, String[] args)
           
static void main(String[] args)
           
static void setSystemProperties()
          Pass any given system properties to the java system properties.
static URLClassLoader setup()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppassemblerBooter

public AppassemblerBooter()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

setup

public static URLClassLoader setup()
                            throws Exception
Throws:
Exception

createClassLoader

public static URLClassLoader createClassLoader(File repoDir)
                                        throws Exception
Throws:
Exception

setSystemProperties

public static void setSystemProperties()
Pass any given system properties to the java system properties.


executeMain

public static void executeMain(URLClassLoader classLoader,
                               String[] args)
                        throws Exception
Throws:
Exception


Copyright © 2006-2011 Codehaus. All Rights Reserved.