Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8082433 | emb-9 | Stephen Hu | P3 | Resolved | Fixed | b44 |
steps to reproduce:
1) get a test jre from http://jre.us.oracle.com/java/re/jdk/9-jigsaw-m2/nightly/b40_2014-11-21-1021_1764/bundles/macosx-amd64/jre-9-ea-macosx-amd64.dmg and install it
2) get a stable JDK (8u20 or above) for launching the java test below
3) get ant 1.9.3 or above
4) get the ws from http://closedjdk.us.oracle.com/jdk9/client/deploy
5) go to directory of this ws: <ws>/test/functional
6) modify "deploy.args" to make sure parameters are correct for JRE/others, but try to intend to have different values for TOMCAT_HOME and TOMCAT_HOME_MANUAL, like we have:
TOMCAT_HOME=/Users/egtc/Desktop/tomcat1
TOMCAT_HOME_MANUAL=/Users/egtc/Desktop/tomcat2
7) export JAVA_HOME to point to that stable JDK
8) export PATH to include "ant" command
9) run the following plugin suite as:
ant -f buildpluginmanual.xml liveconnect
10) java test GUI will be launched
Expection: there should be no issue to see java test GUI at step 9
Actual Results:
at step 9), you will see the following errors:
-------------
localhost:functional egtc$ ~/Desktop/apache-ant-1.9.3/bin/ant -f buildpluginmanual.xml liveconnect
Buildfile: /Users/egtc/Desktop/deploy/test/functional/buildpluginmanual.xml
[echo] warning[aurora]: build xml file not supporting code coverage.
liveconnect:
[mkdir] Created dir: /Users/egtc/Desktop/deploy/test/functional/manual_reports
[mkdir] Created dir: /Users/egtc/Desktop/deploy/test/functional/manual_reports/liveconnect
[echo] warning[aurora]: build xml file not supporting code coverage.
compile-test:
[echo] TEST_JRE_HOME is /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/
[echo] Compile tests to /Users/egtc/Desktop/deploy/test/functional/plugin/manual/liveconnect/classes
[mkdir] Created dir: /Users/egtc/Desktop/deploy/test/functional/plugin/manual/liveconnect/classes
[javac] Compiling 3 source files to /Users/egtc/Desktop/deploy/test/functional/plugin/manual/liveconnect/classes
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
[javac] 1 warning
[jar] Building jar: /Users/egtc/Desktop/deploy/test/functional/plugin/manual/liveconnect/classes/Test7156918Applet.jar
[jar] Building jar: /Users/egtc/Desktop/deploy/test/functional/plugin/manual/liveconnect/classes/MixedCodeAppletCACHttps.jar
[jar] Building jar: /Users/egtc/Desktop/deploy/test/functional/plugin/manual/liveconnect/classes/MixedCodeAppletHttps.jar
[jar] Building jar: /Users/egtc/Desktop/deploy/test/functional/plugin/manual/liveconnect/classes/PublisherFiledTestApplet.jar
[java] Error: Could not find or load main class deploy.sqe.util.CertUtil
BUILD FAILED
/Users/egtc/Desktop/deploy/test/functional/buildpluginmanual.xml:812: Java returned: 1
---------------------
you have to build "compile-driver" target as this liveconnect does depends on this, but somehow, no this dependency in ws.
Not sure for other suites, please double check.
1) get a test jre from http://jre.us.oracle.com/java/re/jdk/9-jigsaw-m2/nightly/b40_2014-11-21-1021_1764/bundles/macosx-amd64/jre-9-ea-macosx-amd64.dmg and install it
2) get a stable JDK (8u20 or above) for launching the java test below
3) get ant 1.9.3 or above
4) get the ws from http://closedjdk.us.oracle.com/jdk9/client/deploy
5) go to directory of this ws: <ws>/test/functional
6) modify "deploy.args" to make sure parameters are correct for JRE/others, but try to intend to have different values for TOMCAT_HOME and TOMCAT_HOME_MANUAL, like we have:
TOMCAT_HOME=/Users/egtc/Desktop/tomcat1
TOMCAT_HOME_MANUAL=/Users/egtc/Desktop/tomcat2
7) export JAVA_HOME to point to that stable JDK
8) export PATH to include "ant" command
9) run the following plugin suite as:
ant -f buildpluginmanual.xml liveconnect
10) java test GUI will be launched
Expection: there should be no issue to see java test GUI at step 9
Actual Results:
at step 9), you will see the following errors:
-------------
localhost:functional egtc$ ~/Desktop/apache-ant-1.9.3/bin/ant -f buildpluginmanual.xml liveconnect
Buildfile: /Users/egtc/Desktop/deploy/test/functional/buildpluginmanual.xml
[echo] warning[aurora]: build xml file not supporting code coverage.
liveconnect:
[mkdir] Created dir: /Users/egtc/Desktop/deploy/test/functional/manual_reports
[mkdir] Created dir: /Users/egtc/Desktop/deploy/test/functional/manual_reports/liveconnect
[echo] warning[aurora]: build xml file not supporting code coverage.
compile-test:
[echo] TEST_JRE_HOME is /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/
[echo] Compile tests to /Users/egtc/Desktop/deploy/test/functional/plugin/manual/liveconnect/classes
[mkdir] Created dir: /Users/egtc/Desktop/deploy/test/functional/plugin/manual/liveconnect/classes
[javac] Compiling 3 source files to /Users/egtc/Desktop/deploy/test/functional/plugin/manual/liveconnect/classes
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
[javac] 1 warning
[jar] Building jar: /Users/egtc/Desktop/deploy/test/functional/plugin/manual/liveconnect/classes/Test7156918Applet.jar
[jar] Building jar: /Users/egtc/Desktop/deploy/test/functional/plugin/manual/liveconnect/classes/MixedCodeAppletCACHttps.jar
[jar] Building jar: /Users/egtc/Desktop/deploy/test/functional/plugin/manual/liveconnect/classes/MixedCodeAppletHttps.jar
[jar] Building jar: /Users/egtc/Desktop/deploy/test/functional/plugin/manual/liveconnect/classes/PublisherFiledTestApplet.jar
[java] Error: Could not find or load main class deploy.sqe.util.CertUtil
BUILD FAILED
/Users/egtc/Desktop/deploy/test/functional/buildpluginmanual.xml:812: Java returned: 1
---------------------
you have to build "compile-driver" target as this liveconnect does depends on this, but somehow, no this dependency in ws.
Not sure for other suites, please double check.
- backported by
-
JDK-8082433 miss dependency on ant target "compile-driver" when just running liveconnect suite for plugin manual on a new clean machine
-
- Resolved
-