Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8066545

Simplify parameters in deploy.args

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • deploy
    • mac10.10 or maybe all platforms

    • b45
    • generic
    • generic
    • Verified

        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

        Note before building this target, you have to build "compile-driver" target as this liveconnect does depends on this, but somehow, no this dependency in ws. This needs to be fixed in another bug.
        10) java test GUI will be launched

        Expectation: at step 10), https port should be opened to be used by this suite in tomcat
        Actual results: port 8443 is not available while 8080 is fine
         after have the exact same value for TOMCAT_HOME and TOMCAT_HOME_MANUAL in that arg file, no issue then.

        But these two parameters are not needed both in this file. This could be improved.

        BTW, pls check TEST_FX_HOME is needed in jdk9 as FX is co-bundled already.

              qgong Fred Gong (Inactive)
              michaelw Michael Wang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: