< prev index next >

test/tools/jlink/IntegrationTest.java

Print this page

        

*** 239,249 **** // Post processor { lst.add(new MyPostProcessor()); } // Image builder ! DefaultImageBuilder builder = new DefaultImageBuilder(true, output); PluginsConfiguration plugins = new Jlink.PluginsConfiguration(lst, builder, null); jlink.build(config, plugins); --- 239,249 ---- // Post processor { lst.add(new MyPostProcessor()); } // Image builder ! DefaultImageBuilder builder = new DefaultImageBuilder(output); PluginsConfiguration plugins = new Jlink.PluginsConfiguration(lst, builder, null); jlink.build(config, plugins);
*** 252,265 **** } File jimage = new File(output.toString(), "lib" + File.separator + "modules"); if (!jimage.exists()) { throw new AssertionError("jimage not generated"); } - File bom = new File(output.toString(), "bom"); - if (!bom.exists()) { - throw new AssertionError("bom not generated"); - } File release = new File(output.toString(), "release"); if (!release.exists()) { throw new AssertionError("release not generated"); } --- 252,261 ----
*** 309,319 **** before.add(MyPlugin1.NAME+"2"); lst.add(new MyPlugin1(1, Collections.emptySet(), before)); } // Image builder ! DefaultImageBuilder builder = new DefaultImageBuilder(false, output); PluginsConfiguration plugins = new Jlink.PluginsConfiguration(lst, builder, null); jlink.build(config, plugins); --- 305,315 ---- before.add(MyPlugin1.NAME+"2"); lst.add(new MyPlugin1(1, Collections.emptySet(), before)); } // Image builder ! DefaultImageBuilder builder = new DefaultImageBuilder(output); PluginsConfiguration plugins = new Jlink.PluginsConfiguration(lst, builder, null); jlink.build(config, plugins);
*** 357,367 **** before.add(MyPlugin1.NAME+"1"); lst.add(new MyPlugin1(2, Collections.emptySet(), before)); } // Image builder ! DefaultImageBuilder builder = new DefaultImageBuilder(false, output); PluginsConfiguration plugins = new Jlink.PluginsConfiguration(lst, builder, null); boolean failed = false; try { jlink.build(config, plugins); --- 353,363 ---- before.add(MyPlugin1.NAME+"1"); lst.add(new MyPlugin1(2, Collections.emptySet(), before)); } // Image builder ! DefaultImageBuilder builder = new DefaultImageBuilder(output); PluginsConfiguration plugins = new Jlink.PluginsConfiguration(lst, builder, null); boolean failed = false; try { jlink.build(config, plugins);
< prev index next >