/** * Add the specified jar to the remote app's system classpath. * * @param path the absolute path to the .jar file. * @throws Exception in case of failure. */ public void installHelperJar(String path) throws Exception { List<String> jarPaths = new LinkedList<String>(); jarPaths.add(path); submit.addJarsToSystemClassloader(jarPaths); Properties properties = new Properties(); properties.setProperty(BytemanTestHelper.RMIREGISTRY_PORT_PROPERTY_NAME, ""+rmiRegistryPort); submit.setSystemProperties(properties); }
results = client.addJarsToBootClassloader(argsList); } else if (addSys) { results = client.addJarsToSystemClassloader(argsList); } else if (sysProps) { Properties propsToSet = new Properties();