source: trunk/openjdk/jdk/src/windows/resource/version.rc

Last change on this file was 278, checked in by dmik, 14 years ago

trunk: Merged in openjdk6 b22 from branches/vendor/oracle.

File size: 2.5 KB
Line 
1//
2// Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.
3// DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4//
5// This code is free software; you can redistribute it and/or modify it
6// under the terms of the GNU General Public License version 2 only, as
7// published by the Free Software Foundation. Oracle designates this
8// particular file as subject to the "Classpath" exception as provided
9// by Oracle in the LICENSE file that accompanied this code.
10//
11// This code is distributed in the hope that it will be useful, but WITHOUT
12// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14// version 2 for more details (a copy is included in the LICENSE file that
15// accompanied this code).
16//
17// You should have received a copy of the GNU General Public License version
18// 2 along with this work; if not, write to the Free Software Foundation,
19// Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20//
21// Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22// or visit www.oracle.com if you need additional information or have any
23// questions.
24//
25
26#include "afxres.h"
27
28// Need 2 defines so macro argument to XSTR will get expanded before quoting.
29#define XSTR(x) STR(x)
30#define STR(x) #x
31
32LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
33
34/////////////////////////////////////////////////////////////////////////////
35//
36// Version
37//
38
39VS_VERSION_INFO VERSIONINFO
40 FILEVERSION J2SE_FVER
41 PRODUCTVERSION J2SE_FVER
42 FILEFLAGSMASK 0x3fL
43#ifdef _DEBUG
44 FILEFLAGS 0x1L
45#else
46 FILEFLAGS 0x0L
47#endif
48 // FILEOS 0x4 is Win32, 0x40004 is Win32 NT only
49 FILEOS 0x4L
50 // FILETYPE should be 0x1 for .exe and 0x2 for .dll
51 FILETYPE J2SE_FTYPE
52 FILESUBTYPE 0x0L
53BEGIN
54 BLOCK "StringFileInfo"
55 BEGIN
56 BLOCK "000004b0"
57 BEGIN
58 VALUE "CompanyName", XSTR(J2SE_COMPANY) "\0"
59 VALUE "FileDescription", XSTR(J2SE_COMPONENT) "\0"
60 VALUE "FileVersion", XSTR(J2SE_VER) "\0"
61 VALUE "Full Version", XSTR(J2SE_BUILD_ID) "\0"
62 VALUE "InternalName", XSTR(J2SE_INTERNAL_NAME) "\0"
63 VALUE "LegalCopyright", XSTR(J2SE_COPYRIGHT) "\0"
64 VALUE "OriginalFilename", XSTR(J2SE_FNAME) "\0"
65 VALUE "ProductName", XSTR(J2SE_NAME) "\0"
66 VALUE "ProductVersion", XSTR(J2SE_VER) "\0"
67 END
68 END
69 BLOCK "VarFileInfo"
70 BEGIN
71 VALUE "Translation", 0x0, 1200
72 END
73END
Note: See TracBrowser for help on using the repository browser.