-
Bug
-
Resolution: Fixed
-
P3
-
7u3
-
b01
-
b31
-
x86
-
windows_xp
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2222350 | 7u6 | Thomas Ng | P3 | Closed | Fixed | b03 |
JDK-2222329 | 7u4 | Thomas Ng | P2 | Closed | Fixed | b17 |
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
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
- backported by
-
JDK-2222329 Build error occurs in JDK7u3 src archive on WinXP
-
- Closed
-
-
JDK-2222350 Build error occurs in JDK7u3 src archive on WinXP
-
- Closed
-
- relates to
-
JDK-7156253 Deploy build failed caused by the lack of deploy/src/plugin/win32
-
- Closed
-