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

Build error occurs in JDK7u3 src archive on WinXP

XMLWordPrintable

    • b01
    • 7
    • b31
    • x86
    • windows_xp
    • Not verified

        A customer has found an error during JDK7u3 build on WindowsXP.

        OS: WindowsXP(SP3, Japanese)
        JDK: JDK7u3 (source archive name : jdk-7u3-fcs-src-b05-solwin-03_feb_2012.zip )

        Error Message:
        -----
        -headers-windows:

        BUILD FAILED
        C:\build7_3\master\deploy\make\ant\common.build.xml:60: The following error occurred while executing this line:
        C:\build7_3\master\deploy\make\ant\common.build.xml:74: Warning: Could not find file C:\build7_3\master\deploy\src\plugin\win32\common\PluginVersion.hpp to copy.
        -----


        INVESTIGATION:
        Because there is not the file,
          deploy\src\plugin\win32\common\PluginVersion.hpp
        in jdk-7u3-fcs-src-b05-solwin-03_feb_2012.zip.


        The following is some portion of src code of
        deploy\make\ant\common.build.xml .

        deploy\make\ant\common.build.xml)
        ------------------------
            52 <target name="headers" depends="compile"
            53 description="Prepare native headers for JNI code">
            54 <mkdir dir="${dir.generated.headers}" />
            55 <javah destdir="${dir.generated.headers}"
            56 classpath="${dir.build.classes.common}">
            57 <class name="com.sun.deploy.perf.NativePerfHelper"/>
            58 <class name="com.sun.deploy.net.socket.UnixSocketImpl"/>
            59 </javah>
            60 <antcall target="-headers-${ws.platform.flavor}"/>
            61 </target>
            62
            63 <!-- Windows specific JNI headers -->
            64 <target name="-headers-windows" depends="compile">
            65 <mkdir dir="${dir.generated.headers}" />
            66 <javah destdir="${dir.generated.headers}"
            67 classpath="${dir.build.classes.common}">
            68 <class name="com.sun.deploy.security.MSCryptoDSASignature"/>
            69 <class name="com.sun.deploy.config.WinPlatform"/>
            70 <class name="com.sun.deploy.ui.WindowsJavaTrayIcon"/>
            71 <class name="com.sun.deploy.association.utility.WinRegistryWrapper"/>
            72 </javah>
            73 <copy file="${ws.source.plugin.platform}/common/PluginVersion.hpp"
            74 tofile="${dir.generated.headers}/DeployVersion.h">
            75 <filterchain refid="deploy_version_filter"/>
            76 </copy>
            77 </target>
        ------------------------


        ${ws.source.plugin.platform} at the line#74 is defined in
        deploy\make\common\ant.gmk as follows.

           $(ECHO) "ws.source.plugin.platform=$(PLUGIN_PLATFORM_SRC_REL)" >> $(ANTENV)

        PLUGIN_PLATFORM_SRC_REL is defined in deploy\make\common\Defs-windows.gmk.

           PLUGIN_PLATFORM_SRC_REL := src/plugin/win32

        However, the above folder(directory) is not included in
        jdk-7u3-fcs-src-b05-solwin-03_feb_2012.zip.

        Only the following 3 folders are under "deploy" folder.

        deploy\src\plugin
         |-macosx
         |-share
         |-solaris

              ngthomas Thomas Ng (Inactive)
              tbaba Tadayuki Baba (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: