Resolves dependencies of json-tck osgi
authorJaroslav Tulach <jaroslav.tulach@netbeans.org>
Sat, 04 Jan 2014 08:11:47 +0100
branchosgi
changeset 390186c98dc8550
parent 389 ae9892efb9fa
child 391 ab693b8dc2e0
Resolves dependencies of json-tck
ko-osgi-test/pom.xml
ko-osgi-test/src/test/java/org/netbeans/html/ko/osgi/test/KnockoutEquinoxTest.java
     1.1 --- a/ko-osgi-test/pom.xml	Sat Jan 04 07:27:11 2014 +0100
     1.2 +++ b/ko-osgi-test/pom.xml	Sat Jan 04 08:11:47 2014 +0100
     1.3 @@ -9,6 +9,9 @@
     1.4      <artifactId>ko-osgi-test</artifactId>
     1.5      <packaging>jar</packaging>
     1.6      <description>Runs the TCK for Knockout in an OSGi Container</description>
     1.7 +    <properties>
     1.8 +        <netbeans.compile.on.save>none</netbeans.compile.on.save>
     1.9 +    </properties>
    1.10      <build>
    1.11          <plugins>
    1.12              <plugin>
     2.1 --- a/ko-osgi-test/src/test/java/org/netbeans/html/ko/osgi/test/KnockoutEquinoxTest.java	Sat Jan 04 07:27:11 2014 +0100
     2.2 +++ b/ko-osgi-test/src/test/java/org/netbeans/html/ko/osgi/test/KnockoutEquinoxTest.java	Sat Jan 04 08:11:47 2014 +0100
     2.3 @@ -105,7 +105,23 @@
     2.4              dir.mkdirs();
     2.5              config.put(Constants.FRAMEWORK_STORAGE, dir.getPath());
     2.6              config.put(Constants.FRAMEWORK_STORAGE_CLEAN, "true");
     2.7 -            config.put(Constants.FRAMEWORK_SYSTEMPACKAGES_EXTRA, "sun.misc");
     2.8 +            config.put(Constants.FRAMEWORK_SYSTEMPACKAGES_EXTRA, "sun.misc,"
     2.9 +                + "javafx.application,"
    2.10 +                + "javafx.beans.property,"
    2.11 +                + "javafx.beans.value,"
    2.12 +                + "javafx.collections,"
    2.13 +                + "javafx.concurrent,"
    2.14 +                + "javafx.event,"
    2.15 +                + "javafx.geometry,"
    2.16 +                + "javafx.scene,"
    2.17 +                + "javafx.scene.control,"
    2.18 +                + "javafx.scene.layout,"
    2.19 +                + "javafx.scene.text,"
    2.20 +                + "javafx.scene.web,"
    2.21 +                + "javafx.stage,"
    2.22 +                + "javafx.util,"
    2.23 +                + "netscape.javascript"
    2.24 +            );
    2.25              framework = ff.newFramework(config);
    2.26              framework.init();
    2.27              loadClassPathBundles(framework);
    2.28 @@ -143,6 +159,7 @@
    2.29          for (String jar : System.getProperty("java.class.path").split(File.pathSeparator)) {
    2.30              File file = new File(jar);
    2.31              if (!file.isFile()) {
    2.32 +                LOG.info("Not loading " + file);
    2.33                  continue;
    2.34              }
    2.35              JarFile jf = new JarFile(file);