org.netbeans.core.startup
Class TestModuleDeployer
java.lang.Object
org.netbeans.core.startup.TestModuleDeployer
public final class TestModuleDeployer
- extends Object
Interface for deploying test modules.
- Since:
- org.netbeans.core/1 1.1
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestModuleDeployer
public TestModuleDeployer()
deployTestModule
public static void deployTestModule(File jar)
throws IOException
- Deploy a module in test mode.
You pass the JAR file.
Module system figures out the rest (i.e. whether it needs
to be installed, reinstalled, etc.).
The deployment is run synchronously so do not call this
method from a sensitive thread (e.g. event queue), nor
call it with any locks held. Best to call it e.g. from the
execution engine.
- Parameters:
jar - the path to the module JAR
- Throws:
IOException - if there is some error in the process