1 #
   2 #
   3 # Copyright (c) 1996, 2010, Oracle and/or its affiliates. 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.  Oracle designates this
   9 # particular file as subject to the "Classpath" exception as provided
  10 # by Oracle 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 Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  23 # or visit www.oracle.com if you need additional information or have any
  24 # 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 
  45 generator.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 
  56 generator.class.default=sun.rmi.rmic.RMIGenerator
  57 
  58 generator.class.v1.1=sun.rmi.rmic.RMIGenerator
  59 generator.class.vcompat=sun.rmi.rmic.RMIGenerator
  60 generator.class.v1.2=sun.rmi.rmic.RMIGenerator
  61 generator.class.iiop=sun.rmi.rmic.iiop.StubGenerator
  62 generator.class.idl=sun.rmi.rmic.iiop.IDLGenerator
  63 generator.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 
  70 generator.env.iiop=sun.rmi.rmic.iiop.BatchEnvironment
  71 generator.env.idl=sun.rmi.rmic.iiop.BatchEnvironment
  72 generator.env.xprint=sun.rmi.rmic.iiop.BatchEnvironment
  73 
  74 rmic.usage=用法: {0} <options> <class names>\n\n其中, <options> 包括:\n  -keep          不删除临时生成的源文件\n  -keepgenerated (与 "-keep" 相同)\n  -v1.1          创建 1.1 存根协议版本的存根/骨架\n  -vcompat       创建与 1.1 和 1.2 存根协议版本\n                           都兼容的存根/骨架\n  -v1.2          (默认值) 仅创建 1.2 存根协议版本的存根\n  -iiop          创建 IIOP 的存根。如果提供, <options> 还包括:\n\n                   -always           创建存根 (即使当前显示)\n                   -alwaysgenerate   (与 "-always" 相同)\n                   -nolocalstubs     不创建对相同进程优化的存根\n\n  -idl           创建 IDL。如果提供, <options> 还包括:\n\n                   -noValueMethods   不为 valuetype 生成方法\n                   -always           创建 IDL (即使当前显示)\n                   -alwaysgenerate   (与 "-always" 相同)\n\n  -g             生成调试信息\n  -nowarn        不生成任何警告\n  -nowrite       不将编译的类写入文件系统\n  -verbose       输出有关编译器正在执行的操作的消息\n  -classpath <path>      指定查找输入类文件的位置\n  -bootclasspath <path>  覆盖引导类文件的位置\n  -extdirs <path>        覆盖所安装扩展的位置\n  -d <directory>         指定放置生成的类文件的位置\n  -J<runtime flag>       将参数传递给 java 解释器\n
  75 
  76 #
  77 # Generic Messages
  78 #
  79 
  80 rmic.cant.read=无法读取: {0}
  81 rmic.cant.write=无法写入: {0}
  82 rmic.option.unsupported=不再支持{0}选项。
  83 rmic.option.unimplemented=尚未实现{0}选项。
  84 rmic.option.already.seen={0}选项只能指定一次。
  85 rmic.option.requires.argument=选项{0}需要参数。
  86 rmic.no.such.directory={0} 目录不存在。
  87 rmic.no.such.option={0}是无效选项或参数。
  88 rmic.wrote=[已写入{0}]
  89 rmic.errors={0} 个错误
  90 rmic.1error=1 个错误
  91 rmic.warnings={0} 个警告
  92 rmic.1warning=1 个警告
  93 rmic.done_in=[在 {0} 毫秒内完成]
  94 rmic.no.memory=编译器所用内存不足。请考虑使用 "-J-Xmx<size>" 命令行选项来增加堆大小的最大值。
  95 rmic.stack.overflow=编译器所用堆栈空间不足。请考虑使用 "-J-Xss<size>" 命令行选项来增加分配给 Java 堆栈的内存大小。
  96 rmic.class.not.found=找不到类{0}。
  97 rmic.missing.property=缺少属性 generator.class.{0}
  98 rmic.cannot.instantiate=无法实例化类{0}
  99 rmic.cannot.use.both=不能同时使用{0}和{1}
 100 rmic.resource.not.found=找不到{0}。
 101 rmic.no.output.dir=无法找到适用于{0}的输出目录。请使用 -d 选项来指定根目录。
 102 rmic.cannot.create.dir=无法创建输出目录 {0}。
 103 
 104 #
 105 # JRMP Messages
 106 #
 107 
 108 rmic.cant.make.stubs.for.interface={0}是接口; 仅远程对象类需要存根。
 109 rmic.must.implement.remote=类{0}不实现扩展 java.rmi.Remote 的接口; 仅远程对象需要存根和框架。
 110 rmic.must.implement.remote.directly=仅直接实现扩展 java.rmi.Remote 的接口的类需要存根; 类{0}不直接实现远程接口。
 111 rmic.must.throw.remoteexception={0}不是有效远程接口: 方法{1}必须抛出 java.rmi.RemoteException。
 112 rmic.must.only.throw.exception=方法{0}不是有效的远程方法实现, 因为它抛出了{1}; 远程方法实现只可能抛出 java.lang.Exception 或其子类。
 113 warn.rmic.tie.found=对于类{0}, 存在 IIOP "tie":\n  {1}\n如果使用 PortableRemoteObject.exportObject, 则应该删除此文件, 否则, 您的服务器对象将会导出到 IIOP 而非 JRMP。
 114 
 115 #
 116 # RMI-IIOP Messages
 117 #
 118 
 119 rmic.generated=[在 {1} 毫秒内生成{0}]
 120 rmic.previously.generated=[以前生成的文件{0}为当前文件]
 121 warn.rmic.member.not.mapped=类{1}的数据成员{0}未映射到 IDL。
 122 
 123 rmic.iiop.constraint.1={0}不是有效接口: 没有从 java.rmi.Remote 继承。
 124 rmic.iiop.constraint.2=类{0}的 serialPersistentFields 数组无效: 引用了不存在的成员。
 125 rmic.iiop.constraint.3={0}不是有效远程接口: {1}不是有效的基元或字符串常量。
 126 rmic.iiop.constraint.4={0}不是有效值: serialPersistentFields 必须为专用静态最终类型。
 127 rmic.iiop.constraint.5={0}不是有效远程接口: 方法{1}必须抛出 RemoteException 或 RemoteException 的超类。
 128 rmic.iiop.constraint.6={0}不是有效远程接口: 继承的接口{1}均声明了方法{2}。
 129 rmic.iiop.constraint.7={0}不是有效类型: {1}仅在大小写上不同。
 130 rmic.iiop.constraint.8={0}不是有效远程实现: 不具有远程接口。
 131 rmic.iiop.constraint.9=类{1}的 serialPersistentFields 数组成员{0}无效: 类型与声明的成员不匹配。
 132 rmic.iiop.constraint.10={0}不是有效值: 实现 java.rmi.Remote。
 133 rmic.iiop.constraint.11={0}不是有效值: 不实现 java.io.Serializable。
 134 rmic.iiop.constraint.12={0}不是有效值: 父级无效。
 135 rmic.iiop.constraint.13={0}不是有效接口: 方法{1}的 idl 名称与其他方法冲突。
 136 rmic.iiop.constraint.14={0}不是有效抽象接口: 不是接口。
 137 rmic.iiop.constraint.15={0}不是有效抽象接口: 实现 java.rmi.Remote。
 138 rmic.iiop.constraint.16={0}不是有效远程接口: 不是接口。
 139 rmic.iiop.constraint.17={0}不是有效远程实现: 不是类。
 140 rmic.iiop.constraint.18={0}不是有效接口: 方法{1}不能传递实现 org.omg.CORBA.portable.IDLEntity 的异常错误。
 141 rmic.iiop.constraint.19={0}不是有效接口: 常量{1}的 idl 名称与其他常量冲突。
 142 rmic.iiop.constraint.20={0}不是有效类: 成员{1}的 idl 名称与其他成员冲突。
 143 rmic.iiop.constraint.21={0}是远程实现类并且不能用作{1}中的方法参数或返回类型。
 144 rmic.iiop.constraint.22=内部失败: (方法) 异常错误{0}不是类类型。
 145 rmic.iiop.constraint.23=内部失败: (方法) 捕获到{0}的空值指针异常错误。
 146 rmic.iiop.constraint.24=类{0}包含无效返回类型。
 147 rmic.iiop.constraint.25=类{0}包含方法{1}中的无效参数类型。
 148 rmic.iiop.constraint.26=无法编译{0}。
 149 rmic.iiop.constraint.27=无法加载类{0}。
 150 rmic.iiop.constraint.28={0}是远程实现类并且无法用作{1}中的数据成员。