Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
InstalledLocalContainer container = new Jonas5xInstalledLocalContainer(
    new Jonas5xStandaloneLocalConfiguration("target/jonas5x"));
container.setHome("c:/jonas/jonas-5.1.2");

Deployable rar = new DefaultDeployableFactory().createDeployable(
    container.getId(), RAR("src/data/mysql-5.1-localhost.rar", DeployableType.RAR);
container.getConfiguration().addDeployable(rar);

container.start();

...