Need to include PatternConvertorImpl in the command line runner.
1.1 --- a/cmdline/tool/test/unit/src/org/netbeans/modules/jackpot30/cmdline/CreateTool.java Tue Oct 09 08:18:39 2012 -0700
1.2 +++ b/cmdline/tool/test/unit/src/org/netbeans/modules/jackpot30/cmdline/CreateTool.java Tue Oct 09 18:26:45 2012 -0700
1.3 @@ -41,7 +41,9 @@
1.4 import java.util.regex.Pattern;
1.5 import org.netbeans.modules.jackpot30.cmdline.lib.CreateStandaloneJar;
1.6 import org.netbeans.modules.jackpot30.cmdline.lib.CreateStandaloneJar.Info;
1.7 +import org.netbeans.modules.java.hints.declarative.PatternConvertorImpl;
1.8 import org.netbeans.modules.java.hints.declarative.test.api.DeclarativeHintsTestBase;
1.9 +import org.netbeans.modules.java.hints.jackpot.spi.PatternConvertor;
1.10 import org.netbeans.modules.java.j2seproject.J2SEProject;
1.11 import org.netbeans.modules.java.platform.DefaultJavaPlatformProvider;
1.12 import org.netbeans.modules.project.ui.OpenProjectsTrampolineImpl;
1.13 @@ -58,10 +60,11 @@
1.14
1.15 @Override
1.16 protected Info computeInfo() {
1.17 - return new Info().addAdditionalRoots(Main.class.getName(), DeclarativeHintsTestBase.class.getName(), OpenProjectsTrampolineImpl.class.getName(), J2SEProject.class.getName(), DefaultJavaPlatformProvider.class.getName())
1.18 + return new Info().addAdditionalRoots(Main.class.getName(), DeclarativeHintsTestBase.class.getName(), OpenProjectsTrampolineImpl.class.getName(), J2SEProject.class.getName(), DefaultJavaPlatformProvider.class.getName(), PatternConvertorImpl.class.getName())
1.19 .addAdditionalResources("org/netbeans/modules/java/hints/resources/Bundle.properties")
1.20 .addAdditionalLayers("org/netbeans/modules/java/hints/resources/layer.xml")
1.21 .addMetaInfRegistrations(new MetaInfRegistration(org.netbeans.modules.project.uiapi.OpenProjectsTrampoline.class, OpenProjectsTrampolineImpl.class))
1.22 + .addMetaInfRegistrationToCopy(PatternConvertor.class.getName())
1.23 .addExcludePattern(Pattern.compile("junit\\.framework\\..*"))
1.24 .setEscapeJavaxLang();
1.25 }