blob: 2fd51a02170b5cdddaf4dd468e3b73a61bc3f0c8 [file] [log] [blame]
J. Duke319a3b92007-12-01 00:00:00 +00001#
2#
3# Copyright 2005-2007 Sun Microsystems, Inc. All Rights Reserved.
4# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5#
6# This code is free software; you can redistribute it and/or modify it
7# under the terms of the GNU General Public License version 2 only, as
8# published by the Free Software Foundation. Sun designates this
9# particular file as subject to the "Classpath" exception as provided
10# by Sun in the LICENSE file that accompanied this code.
11#
12# This code is distributed in the hope that it will be useful, but WITHOUT
13# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15# version 2 for more details (a copy is included in the LICENSE file that
16# accompanied this code).
17#
18# You should have received a copy of the GNU General Public License version
19# 2 along with this work; if not, write to the Free Software Foundation,
20# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
21#
22# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
23# CA 95054 USA or visit www.sun.com if you need additional information or
24# have any questions.
25#
26
27
28#*****************************************************************************
29#* Copyright (c) IBM Corporation 1998 *
30#* *
31#* (C) Copyright IBM Corp. 1998 *
32#* *
33#*****************************************************************************
34
35# To add a generator sun.rmi.rmic.Foo which is invoked via the -foo option:
36#
37# 1. Add "foo" to generator.args list.
38# 2. Add line: generator.class.foo=sun.rmi.rmic.Foo
39# 3. Update rmic.usage string to include new arguments.
40
41# For each available generator, list the command line argument used
42# to invoke it. The value can be a single item or a comma separated
43# list.
44
45generator.args=v1.1,vcompat,v1.2,iiop,idl,xprint
46
47# For each generator, specify the class to invoke, using the following
48# syntax:
49#
50# generator.class.{arg}=fullClassName
51#
52# The 'default' entry is required and will be used if none of the args
53# specified in generator.args is passed. Note that {arg} is compared
54# using String.equalsIgnoreCase().
55
56generator.class.default=sun.rmi.rmic.RMIGenerator
57
58generator.class.v1.1=sun.rmi.rmic.RMIGenerator
59generator.class.vcompat=sun.rmi.rmic.RMIGenerator
60generator.class.v1.2=sun.rmi.rmic.RMIGenerator
61generator.class.iiop=sun.rmi.rmic.iiop.StubGenerator
62generator.class.idl=sun.rmi.rmic.iiop.IDLGenerator
63generator.class.xprint=sun.rmi.rmic.iiop.PrintGenerator
64
65# If a generator needs a BatchEnvironment other than
66# sun.rmi.rmic.BatchEnvironment, specify it as follows:
67#
68# generator.env.{arg}=fullClassName
69
70generator.env.iiop=sun.rmi.rmic.iiop.BatchEnvironment
71generator.env.idl=sun.rmi.rmic.iiop.BatchEnvironment
72generator.env.xprint=sun.rmi.rmic.iiop.BatchEnvironment
73
74rmic.usage=\u7528\u6cd5\uff1a{0} <\u9009\u9879> <\u7c7b\u540d\u79f0>\
75\n\
76\n\u5176\u4e2d <\u9009\u9879> \u5305\u62ec\uff1a\
77\n -keep \u4e0d\u5220\u9664\u4e2d\u95f4\u751f\u6210\u7684\u6e90\u6587\u4ef6\
78\n -keepgenerated\uff08\u4e0e "-keep" \u76f8\u540c\uff09\
79\n -v1.1 \u521b\u5efa 1.1 \u5b58\u6839\u534f\u8bae\u7248\u672c\u7684\u5b58\u6839/\u6846\u67b6\
80\n -vcompat \u521b\u5efa\u4e0e 1.1 \u548c 1.2 \u5b58\u6839\u534f\u8bae\u7248\u672c\u90fd\u517c\u5bb9\u7684\
81\n \u5b58\u6839/\u6846\u67b6\
82\n -v1.2 \uff08\u9ed8\u8ba4\u503c\uff09\u4ec5\u521b\u5efa 1.2 \u5b58\u6839\u534f\u8bae\u7248\u672c\u7684\u5b58\u6839\
83\n -iiop \u521b\u5efa IIOP \u7684\u5b58\u6839\u3002\u4f7f\u7528\u6b64\u9009\u9879\u65f6\uff0c<\u9009\u9879> \u8fd8\u5305\u62ec\uff1a\
84\n\
85\n -always \u5373\u4f7f\u5f53\u524d\u663e\u793a\u5b58\u6839\uff0c\u4ecd\u521b\u5efa\u5b83\u4eec\
86\n -alwaysgenerate \uff08\u4e0e "-always" \u76f8\u540c\uff09\
87\n -nolocalstubs \u4e0d\u521b\u5efa\u4e3a\u76f8\u540c\u8fdb\u7a0b\u4f18\u5316\u7684\u5b58\u6839\
88\n\
89\n -idl \u521b\u5efa IDL\u3002\u4f7f\u7528\u6b64\u9009\u9879\u65f6\uff0c<\u9009\u9879> \u8fd8\u5305\u62ec\uff1a\
90\n\
91\n -noValueMethods \u4e0d\u751f\u6210 valuetypes \u7684\u65b9\u6cd5\
92\n -always \u5373\u4f7f\u5f53\u524d\u663e\u793a IDL\uff0c\u4ecd\u521b\u5efa\u5b83\
93\n -alwaysgenerate \uff08\u4e0e "-always" \u76f8\u540c\uff09\
94\n\
95\n -g \u751f\u6210\u8c03\u8bd5\u4fe1\u606f\
96\n -nowarn \u4e0d\u751f\u6210\u4efb\u4f55\u8b66\u544a\
97\n -nowrite \u4e0d\u5411\u6587\u4ef6\u7cfb\u7edf\u5199\u5165\u7f16\u8bd1\u7684\u7c7b\
98\n -verbose \u8f93\u51fa\u6709\u5173\u7f16\u8bd1\u5668\u6b63\u5728\u6267\u884c\u7684\u64cd\u4f5c\u7684\u6d88\u606f\
99\n -classpath <\u8def\u5f84> \u6307\u5b9a\u67e5\u627e\u8f93\u5165\u7c7b\u6587\u4ef6\u7684\u4f4d\u7f6e\
100\n -bootclasspath <\u8def\u5f84> \u8986\u76d6\u5f15\u5bfc\u7c7b\u6587\u4ef6\u7684\u4f4d\u7f6e\
101\n -extdirs <\u8def\u5f84> \u8986\u76d6\u5b89\u88c5\u7684\u6269\u5c55\u76ee\u5f55\u7684\u4f4d\u7f6e\
102\n -d <\u76ee\u5f55> \u6307\u5b9a\u5b58\u653e\u751f\u6210\u7684\u7c7b\u6587\u4ef6\u7684\u4f4d\u7f6e\
103\n -J <\u8fd0\u884c\u65f6\u6807\u5fd7> \u5411 java \u89e3\u91ca\u7a0b\u5e8f\u4f20\u9012\u53c2\u6570
104\n\
105
106#
107# Generic Messages
108#
109
110rmic.cant.read=\u65e0\u6cd5\u8bfb\u53d6\uff1a{0}
111rmic.cant.write=\u65e0\u6cd5\u5199\u5165\uff1a{0}
112rmic.option.unsupported=\u4e0d\u518d\u652f\u6301 {0} \u9009\u9879\u3002
113rmic.option.unimplemented=\u4ecd\u672a\u5b9e\u73b0 {0} \u9009\u9879\u3002
114rmic.option.already.seen={0} \u9009\u9879\u53ea\u80fd\u88ab\u6307\u5b9a\u4e00\u6b21\u3002
115rmic.option.requires.argument=\u9009\u9879 {0} \u9700\u8981\u53c2\u6570\u3002
116rmic.no.such.directory={0} \u76ee\u5f55\u4e0d\u5b58\u5728\u3002
117rmic.no.such.option={0} \u4e3a\u65e0\u6548\u9009\u9879\u6216\u53c2\u6570\u3002
118rmic.wrote=[\u5df2\u5199\u5165 {0}]
119rmic.errors={0} \u4e2a\u9519\u8bef
120rmic.1error=1 \u4e2a\u9519\u8bef
121rmic.warnings={0} \u4e2a\u8b66\u544a
122rmic.1warning=1 \u4e2a\u8b66\u544a
123rmic.done_in=[\u5728 {0} \u6beb\u79d2\u5185\u5b8c\u6210]
124rmic.no.memory=\
125 \u7f16\u8bd1\u5668\u6240\u7528\u5185\u5b58\u4e0d\u8db3\u3002\u8bf7\u8003\u8651\u4f7f\u7528\u201c-J-Xmx<\u5927\u5c0f>\u201d\u547d\u4ee4\u884c\u9009\u9879\u6765\u589e\u52a0\u5806\u5927\u5c0f\u7684\u6700\u5927\u503c\u3002
126rmic.stack.overflow=\
127 \u7f16\u8bd1\u5668\u6240\u7528\u5806\u6808\u7a7a\u95f4\u4e0d\u8db3\u3002\u8bf7\u8003\u8651\u4f7f\u7528\u201c-J-Xss<\u5927\u5c0f>\u201d\u547d\u4ee4\u884c\u9009\u9879\u6765\u589e\u52a0\u5206\u914d\u7ed9 Java \u5806\u6808\u7684\u5185\u5b58\u5927\u5c0f\u3002
128rmic.class.not.found=\
129 \u672a\u627e\u5230\u7c7b {0}\u3002
130rmic.missing.property=\u7f3a\u5c11\u5c5e\u6027 generator.class.{0}
131rmic.cannot.instantiate=\u65e0\u6cd5\u5b9e\u4f8b\u5316\u7c7b {0}
132rmic.cannot.use.both=\u65e0\u6cd5\u540c\u65f6\u4f7f\u7528 {0} \u548c {1}
133rmic.resource.not.found=\u672a\u627e\u5230 {0}\u3002
134rmic.no.output.dir=\
135 \u65e0\u6cd5\u627e\u5230\u9002\u7528\u4e8e {0} \u7684\u8f93\u51fa\u76ee\u5f55\u3002\u8bf7\u4f7f\u7528 -d \u9009\u9879\u6765\u6307\u5b9a\u6839\u76ee\u5f55\u3002
136rmic.cannot.create.dir=\
137 \u65e0\u6cd5\u521b\u5efa\u8f93\u51fa\u76ee\u5f55 {0}\u3002
138
139#
140# JRMP Messages
141#
142
143rmic.cant.make.stubs.for.interface=\
144 {0} \u662f\u63a5\u53e3\uff1b\u4ec5\u8fdc\u7a0b\u5bf9\u8c61\u7c7b\u9700\u8981\u5b58\u6839\u3002
145rmic.must.implement.remote=\
146 \u7c7b {0} \u4e0d\u5b9e\u73b0\u6269\u5c55 java.rmi.Remote \u7684\u63a5\u53e3\uff1b\u4ec5\u8fdc\u7a0b\u5bf9\u8c61\u9700\u8981\u5b58\u6839\u548c\u6846\u67b6\u3002
147rmic.must.implement.remote.directly=\
148 \u4ec5\u76f4\u63a5\u5b9e\u73b0\u6269\u5c55 java.rmi.Remote \u7684\u63a5\u53e3\u7684\u7c7b\u9700\u8981\u5b58\u6839\uff1b\u7c7b {0} \u4e0d\u76f4\u63a5\u5b9e\u73b0\u8fdc\u7a0b\u63a5\u53e3\u3002
149rmic.must.throw.remoteexception=\
150 {0} \u4e0d\u662f\u6709\u6548\u8fdc\u7a0b\u63a5\u53e3\uff1a\u65b9\u6cd5 {1} \u5fc5\u987b\u629b\u51fa java.rmi.RemoteException\u3002
151rmic.must.only.throw.exception=\
152 \u65b9\u6cd5 {0} \u4e0d\u662f\u6709\u6548\u7684\u8fdc\u7a0b\u65b9\u6cd5\u5b9e\u73b0\uff0c\u56e0\u4e3a\u5b83\u629b\u51fa\u4e86 {1}\uff1b\u8fdc\u7a0b\u65b9\u6cd5\u5b9e\u73b0\u53ea\u53ef\u80fd\u629b\u51fa java.lang.Exception \u6216\u5176\u5b50\u7c7b\u3002
153warn.rmic.tie.found=\
154 \u5bf9\u4e8e\u7c7b {0}\uff0c\u5b58\u5728 IIOP "tie"\uff1a\
155 \n {1}\
156 \n\u5982\u679c\u4f7f\u7528 PortableRemoteObject.exportObject\uff0c\u5219\u5e94\u8be5\u5220\u9664\u6b64\u6587\u4ef6\uff0c\u5426\u5219\uff0c\u60a8\u7684\u670d\u52a1\u5668\u5bf9\u8c61\u5c06\u4f1a\u88ab\u5bfc\u51fa\u5230 IIOP \u800c\u975e JRMP\u3002
157
158#
159# RMI-IIOP Messages
160#
161
162rmic.generated=[\u5728 {1} \u6beb\u79d2\u5185\u751f\u6210\u7684 {0}]
163rmic.previously.generated=[\u4ee5\u524d\u751f\u6210\u7684\u6587\u4ef6 {0} \u4e3a\u5f53\u524d\u6587\u4ef6]
164warn.rmic.member.not.mapped=\
165\u7c7b {1} \u7684\u6570\u636e\u6210\u5458 {0} \u672a\u6620\u5c04\u5230 IDL\u3002
166
167rmic.iiop.constraint.1=\
168{0} \u4e0d\u662f\u6709\u6548\u63a5\u53e3\uff1a\u6ca1\u6709\u4ece java.rmi.Remote \u7ee7\u627f\u3002
169rmic.iiop.constraint.2=\
170\u7c7b {0} \u7684 serialPersistentFields \u6570\u7ec4\u65e0\u6548\uff1a\u5f15\u7528\u4e86\u4e0d\u5b58\u5728\u7684\u6210\u5458\u3002
171rmic.iiop.constraint.3=\
172{0} \u4e0d\u662f\u6709\u6548\u8fdc\u7a0b\u63a5\u53e3\uff1a{1} \u4e0d\u662f\u6709\u6548\u7684\u539f\u59cb\u6216\u5b57\u7b26\u4e32\u5e38\u91cf\u3002
173rmic.iiop.constraint.4=\
174{0} \u4e0d\u662f\u6709\u6548\u503c\uff1aserialPersistentFields \u5fc5\u987b\u4e3a\u4e13\u7528\u9759\u6001\u6700\u7ec8\u7c7b\u578b\u3002
175rmic.iiop.constraint.5=\
176{0} \u4e0d\u662f\u6709\u6548\u8fdc\u7a0b\u63a5\u53e3\uff1a\u65b9\u6cd5 {1} \u5fc5\u987b\u629b\u51fa RemoteException \u6216 RemoteException \u7684\u7236\u7c7b\u3002
177rmic.iiop.constraint.6=\
178{0} \u4e0d\u662f\u6709\u6548\u8fdc\u7a0b\u63a5\u53e3\uff1a\u7ee7\u627f\u7684\u63a5\u53e3 {1} \u5747\u58f0\u660e\u4e86\u65b9\u6cd5 {2}\u3002
179rmic.iiop.constraint.7=\
180{0} \u4e0d\u662f\u6709\u6548\u7c7b\u578b\uff1a{1} \u4ec5\u5728\u5927\u5c0f\u5199\u4e0a\u4e0d\u540c\u3002
181rmic.iiop.constraint.8=\
182{0} \u4e0d\u662f\u6709\u6548\u8fdc\u7a0b\u5b9e\u73b0\uff1a\u4e0d\u5177\u6709\u8fdc\u7a0b\u63a5\u53e3\u3002
183rmic.iiop.constraint.9=\
184\u7c7b {1} \u7684 serialPersistentFields \u6570\u7ec4\u6210\u5458 {0} \u65e0\u6548\uff1a\u7c7b\u578b\u4e0e\u58f0\u660e\u7684\u6210\u5458\u4e0d\u5339\u914d\u3002
185rmic.iiop.constraint.10=\
186{0} \u4e0d\u662f\u6709\u6548\u503c\uff1a\u5b9e\u73b0 java.rmi.Remote\u3002
187rmic.iiop.constraint.11=\
188{0} \u4e0d\u662f\u6709\u6548\u503c\uff1a\u4e0d\u5b9e\u73b0 java.io.Serializable\u3002
189rmic.iiop.constraint.12=\
190{0} \u4e0d\u662f\u6709\u6548\u503c\uff1a\u7236\u503c\u65e0\u6548\u3002
191rmic.iiop.constraint.13=\
192{0} \u4e0d\u662f\u6709\u6548\u63a5\u53e3\uff1a\u65b9\u6cd5 {1} \u7684 idl \u540d\u79f0\u4e0e\u5176\u4ed6\u65b9\u6cd5\u51b2\u7a81\u3002
193rmic.iiop.constraint.14=\
194{0} \u4e0d\u662f\u6709\u6548\u62bd\u8c61\u63a5\u53e3\uff1a\u4e0d\u662f\u63a5\u53e3\u3002
195rmic.iiop.constraint.15=\
196{0} \u4e0d\u662f\u6709\u6548\u62bd\u8c61\u63a5\u53e3\uff1a\u5b9e\u73b0 java.rmi.Remote\u3002
197rmic.iiop.constraint.16=\
198{0} \u4e0d\u662f\u6709\u6548\u8fdc\u7a0b\u63a5\u53e3\uff1a\u4e0d\u662f\u63a5\u53e3\u3002
199rmic.iiop.constraint.17=\
200{0} \u4e0d\u662f\u6709\u6548\u8fdc\u7a0b\u5b9e\u73b0\uff1a\u4e0d\u662f\u7c7b\u3002
201rmic.iiop.constraint.18=\
202{0} \u4e0d\u662f\u6709\u6548\u63a5\u53e3\uff1a\u65b9\u6cd5 {1} \u4e0d\u80fd\u4f20\u9012\u5b9e\u73b0 org.omg.CORBA.portable.IDLEntity \u7684\u5f02\u5e38\u3002
203rmic.iiop.constraint.19=\
204{0} \u4e0d\u662f\u6709\u6548\u63a5\u53e3\uff1a\u5e38\u91cf {1} \u7684 idl \u540d\u79f0\u4e0e\u5176\u4ed6\u5e38\u91cf\u51b2\u7a81\u3002
205rmic.iiop.constraint.20=\
206{0} \u4e0d\u662f\u6709\u6548\u7c7b\uff1a\u6210\u5458 {1} \u7684 idl \u540d\u79f0\u4e0e\u5176\u4ed6\u6210\u5458\u51b2\u7a81\u3002
207rmic.iiop.constraint.21=\
208{0} \u662f\u8fdc\u7a0b\u5b9e\u73b0\u7c7b\u5e76\u4e14\u4e0d\u80fd\u7528\u4f5c {1} \u4e2d\u7684\u65b9\u6cd5\u53c2\u6570\u6216\u8fd4\u56de\u7c7b\u578b\u3002
209rmic.iiop.constraint.22=\
210\u5185\u90e8\u5931\u8d25\uff1a\uff08\u65b9\u6cd5\uff09\u5f02\u5e38 {0} \u4e0d\u662f\u7c7b\u7c7b\u578b\u3002
211rmic.iiop.constraint.23=\
212\u5185\u90e8\u5931\u8d25\uff1a\uff08\u65b9\u6cd5\uff09\u6355\u6349\u5230 {0} \u7684\u7a7a\u6307\u9488\u5f02\u5e38\u3002
213rmic.iiop.constraint.24=\
214\u7c7b {0} \u5305\u542b\u65e0\u6548\u8fd4\u56de\u7c7b\u578b\u3002
215rmic.iiop.constraint.25=\
216\u7c7b {0} \u5305\u542b\u65b9\u6cd5 {1} \u4e2d\u7684\u65e0\u6548\u53c2\u6570\u7c7b\u578b\u3002
217rmic.iiop.constraint.26=\
218\u65e0\u6cd5\u7f16\u8bd1 {0}\u3002
219rmic.iiop.constraint.27=\
220\u65e0\u6cd5\u88c5\u5165\u7c7b {0}\u3002
221rmic.iiop.constraint.28=\
222{0} \u662f\u8fdc\u7a0b\u5b9e\u73b0\u7c7b\u5e76\u4e14\u65e0\u6cd5\u7528\u4f5c {1} \u4e2d\u7684\u6570\u636e\u6210\u5458\u3002