From 466d690eac81de7541fe703007ce5f6269b6f8a4 Mon Sep 17 00:00:00 2001 From: Andrew John Hughes Date: Thu, 21 Feb 2008 10:39:20 +0000 Subject: 2008-02-21 Andrew John Hughes PR classpath/35111: * resource/com/sun/tools/javac/messages.properties, * resource/gnu/classpath/tools/appletviewer/messages.properties, * resource/gnu/classpath/tools/common/Messages.properties, * resource/gnu/classpath/tools/getopt/Messages.properties, * resource/gnu/classpath/tools/jar/messages.properties, * resource/gnu/classpath/tools/jarsigner/messages.properties, * resource/gnu/classpath/tools/keytool/messages.properties, * resource/gnu/classpath/tools/native2ascii/messages.properties, * resource/gnu/classpath/tools/orbd/messages.properties, * resource/gnu/classpath/tools/rmic/messages.properties, * resource/gnu/classpath/tools/rmid/messages.properties, * resource/gnu/classpath/tools/rmiregistry/messages.properties, * resource/gnu/classpath/tools/serialver/messages.properties, * resource/gnu/classpath/tools/tnameserv/messages.properties, * resource/sun/rmi/rmic/messages.properties: Removed. * tools/Makefile.am: Copy .jav template files and use resource subdirectory of tools. * tools/gnu/classpath/tools/rmic/templates/ImplTie.jav, * tools/gnu/classpath/tools/rmic/templates/Stub.jav, * tools/gnu/classpath/tools/rmic/templates/StubMethod.jav, * tools/gnu/classpath/tools/rmic/templates/StubMethodVoid.jav, * tools/gnu/classpath/tools/rmic/templates/Stub_12.jav, * tools/gnu/classpath/tools/rmic/templates/Stub_12Method.jav, * tools/gnu/classpath/tools/rmic/templates/Stub_12MethodVoid.jav, * tools/gnu/classpath/tools/rmic/templates/Tie.jav, * tools/gnu/classpath/tools/rmic/templates/TieMethod.jav, * tools/gnu/classpath/tools/rmic/templates/TieMethodVoid.jav: Removed. * tools/resource/com/sun/tools/javac/messages.properties, * tools/resource/gnu/classpath/tools/appletviewer/messages.properties, * tools/resource/gnu/classpath/tools/common/Messages.properties, * tools/resource/gnu/classpath/tools/getopt/Messages.properties, * tools/resource/gnu/classpath/tools/jar/messages.properties, * tools/resource/gnu/classpath/tools/jarsigner/messages.properties, * tools/resource/gnu/classpath/tools/keytool/messages.properties, * tools/resource/gnu/classpath/tools/native2ascii/messages.properties, * tools/resource/gnu/classpath/tools/orbd/messages.properties, * tools/resource/gnu/classpath/tools/rmic/messages.properties, * tools/resource/gnu/classpath/tools/rmic/templates/ImplTie.jav, * tools/resource/gnu/classpath/tools/rmic/templates/Stub.jav, * tools/resource/gnu/classpath/tools/rmic/templates/StubMethod.jav, * tools/resource/gnu/classpath/tools/rmic/templates/StubMethodVoid.jav, * tools/resource/gnu/classpath/tools/rmic/templates/Stub_12.jav, * tools/resource/gnu/classpath/tools/rmic/templates/Stub_12Method.jav, * tools/resource/gnu/classpath/tools/rmic/templates/Stub_12MethodVoid.jav, * tools/resource/gnu/classpath/tools/rmic/templates/Tie.jav, * tools/resource/gnu/classpath/tools/rmic/templates/TieMethod.jav, * tools/resource/gnu/classpath/tools/rmic/templates/TieMethodVoid.jav, * tools/resource/gnu/classpath/tools/rmid/messages.properties, * tools/resource/gnu/classpath/tools/rmiregistry/messages.properties, * tools/resource/gnu/classpath/tools/serialver/messages.properties, * tools/resource/gnu/classpath/tools/tnameserv/messages.properties, * tools/resource/sun/rmi/rmic/messages.properties: Added. --- ChangeLog | 60 +++ resource/com/sun/tools/javac/messages.properties | 42 -- .../tools/appletviewer/messages.properties | 102 ---- .../gnu/classpath/tools/common/Messages.properties | 40 -- .../gnu/classpath/tools/getopt/Messages.properties | 46 -- .../gnu/classpath/tools/jar/messages.properties | 72 --- .../classpath/tools/jarsigner/messages.properties | 126 ----- .../classpath/tools/keytool/messages.properties | 570 --------------------- .../tools/native2ascii/messages.properties | 44 -- .../gnu/classpath/tools/orbd/messages.properties | 46 -- .../gnu/classpath/tools/rmic/messages.properties | 61 --- .../gnu/classpath/tools/rmid/messages.properties | 50 -- .../tools/rmiregistry/messages.properties | 48 -- .../classpath/tools/serialver/messages.properties | 44 -- .../classpath/tools/tnameserv/messages.properties | 43 -- resource/sun/rmi/rmic/messages.properties | 38 -- tools/Makefile.am | 11 +- .../gnu/classpath/tools/rmic/templates/ImplTie.jav | 152 ------ tools/gnu/classpath/tools/rmic/templates/Stub.jav | 47 -- .../classpath/tools/rmic/templates/StubMethod.jav | 33 -- .../tools/rmic/templates/StubMethodVoid.jav | 32 -- .../gnu/classpath/tools/rmic/templates/Stub_12.jav | 62 --- .../tools/rmic/templates/Stub_12Method.jav | 26 - .../tools/rmic/templates/Stub_12MethodVoid.jav | 25 - tools/gnu/classpath/tools/rmic/templates/Tie.jav | 184 ------- .../classpath/tools/rmic/templates/TieMethod.jav | 11 - .../tools/rmic/templates/TieMethodVoid.jav | 9 - .../com/sun/tools/javac/messages.properties | 42 ++ .../tools/appletviewer/messages.properties | 102 ++++ .../gnu/classpath/tools/common/Messages.properties | 40 ++ .../gnu/classpath/tools/getopt/Messages.properties | 46 ++ .../gnu/classpath/tools/jar/messages.properties | 72 +++ .../classpath/tools/jarsigner/messages.properties | 126 +++++ .../classpath/tools/keytool/messages.properties | 570 +++++++++++++++++++++ .../tools/native2ascii/messages.properties | 44 ++ .../gnu/classpath/tools/orbd/messages.properties | 46 ++ .../gnu/classpath/tools/rmic/messages.properties | 61 +++ .../gnu/classpath/tools/rmic/templates/ImplTie.jav | 152 ++++++ .../gnu/classpath/tools/rmic/templates/Stub.jav | 47 ++ .../classpath/tools/rmic/templates/StubMethod.jav | 33 ++ .../tools/rmic/templates/StubMethodVoid.jav | 32 ++ .../gnu/classpath/tools/rmic/templates/Stub_12.jav | 62 +++ .../tools/rmic/templates/Stub_12Method.jav | 26 + .../tools/rmic/templates/Stub_12MethodVoid.jav | 25 + .../gnu/classpath/tools/rmic/templates/Tie.jav | 184 +++++++ .../classpath/tools/rmic/templates/TieMethod.jav | 11 + .../tools/rmic/templates/TieMethodVoid.jav | 9 + .../gnu/classpath/tools/rmid/messages.properties | 50 ++ .../tools/rmiregistry/messages.properties | 48 ++ .../classpath/tools/serialver/messages.properties | 44 ++ .../classpath/tools/tnameserv/messages.properties | 43 ++ tools/resource/sun/rmi/rmic/messages.properties | 38 ++ 52 files changed, 2018 insertions(+), 1959 deletions(-) delete mode 100644 resource/com/sun/tools/javac/messages.properties delete mode 100644 resource/gnu/classpath/tools/appletviewer/messages.properties delete mode 100644 resource/gnu/classpath/tools/common/Messages.properties delete mode 100644 resource/gnu/classpath/tools/getopt/Messages.properties delete mode 100644 resource/gnu/classpath/tools/jar/messages.properties delete mode 100644 resource/gnu/classpath/tools/jarsigner/messages.properties delete mode 100644 resource/gnu/classpath/tools/keytool/messages.properties delete mode 100644 resource/gnu/classpath/tools/native2ascii/messages.properties delete mode 100644 resource/gnu/classpath/tools/orbd/messages.properties delete mode 100644 resource/gnu/classpath/tools/rmic/messages.properties delete mode 100644 resource/gnu/classpath/tools/rmid/messages.properties delete mode 100644 resource/gnu/classpath/tools/rmiregistry/messages.properties delete mode 100644 resource/gnu/classpath/tools/serialver/messages.properties delete mode 100644 resource/gnu/classpath/tools/tnameserv/messages.properties delete mode 100644 resource/sun/rmi/rmic/messages.properties delete mode 100644 tools/gnu/classpath/tools/rmic/templates/ImplTie.jav delete mode 100644 tools/gnu/classpath/tools/rmic/templates/Stub.jav delete mode 100644 tools/gnu/classpath/tools/rmic/templates/StubMethod.jav delete mode 100644 tools/gnu/classpath/tools/rmic/templates/StubMethodVoid.jav delete mode 100644 tools/gnu/classpath/tools/rmic/templates/Stub_12.jav delete mode 100644 tools/gnu/classpath/tools/rmic/templates/Stub_12Method.jav delete mode 100644 tools/gnu/classpath/tools/rmic/templates/Stub_12MethodVoid.jav delete mode 100644 tools/gnu/classpath/tools/rmic/templates/Tie.jav delete mode 100644 tools/gnu/classpath/tools/rmic/templates/TieMethod.jav delete mode 100644 tools/gnu/classpath/tools/rmic/templates/TieMethodVoid.jav create mode 100644 tools/resource/com/sun/tools/javac/messages.properties create mode 100644 tools/resource/gnu/classpath/tools/appletviewer/messages.properties create mode 100644 tools/resource/gnu/classpath/tools/common/Messages.properties create mode 100644 tools/resource/gnu/classpath/tools/getopt/Messages.properties create mode 100644 tools/resource/gnu/classpath/tools/jar/messages.properties create mode 100644 tools/resource/gnu/classpath/tools/jarsigner/messages.properties create mode 100644 tools/resource/gnu/classpath/tools/keytool/messages.properties create mode 100644 tools/resource/gnu/classpath/tools/native2ascii/messages.properties create mode 100644 tools/resource/gnu/classpath/tools/orbd/messages.properties create mode 100644 tools/resource/gnu/classpath/tools/rmic/messages.properties create mode 100644 tools/resource/gnu/classpath/tools/rmic/templates/ImplTie.jav create mode 100644 tools/resource/gnu/classpath/tools/rmic/templates/Stub.jav create mode 100644 tools/resource/gnu/classpath/tools/rmic/templates/StubMethod.jav create mode 100644 tools/resource/gnu/classpath/tools/rmic/templates/StubMethodVoid.jav create mode 100644 tools/resource/gnu/classpath/tools/rmic/templates/Stub_12.jav create mode 100644 tools/resource/gnu/classpath/tools/rmic/templates/Stub_12Method.jav create mode 100644 tools/resource/gnu/classpath/tools/rmic/templates/Stub_12MethodVoid.jav create mode 100644 tools/resource/gnu/classpath/tools/rmic/templates/Tie.jav create mode 100644 tools/resource/gnu/classpath/tools/rmic/templates/TieMethod.jav create mode 100644 tools/resource/gnu/classpath/tools/rmic/templates/TieMethodVoid.jav create mode 100644 tools/resource/gnu/classpath/tools/rmid/messages.properties create mode 100644 tools/resource/gnu/classpath/tools/rmiregistry/messages.properties create mode 100644 tools/resource/gnu/classpath/tools/serialver/messages.properties create mode 100644 tools/resource/gnu/classpath/tools/tnameserv/messages.properties create mode 100644 tools/resource/sun/rmi/rmic/messages.properties diff --git a/ChangeLog b/ChangeLog index a7806ef27..66c11c9c7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,63 @@ +2008-02-21 Andrew John Hughes + + PR classpath/35111: + * resource/com/sun/tools/javac/messages.properties, + * resource/gnu/classpath/tools/appletviewer/messages.properties, + * resource/gnu/classpath/tools/common/Messages.properties, + * resource/gnu/classpath/tools/getopt/Messages.properties, + * resource/gnu/classpath/tools/jar/messages.properties, + * resource/gnu/classpath/tools/jarsigner/messages.properties, + * resource/gnu/classpath/tools/keytool/messages.properties, + * resource/gnu/classpath/tools/native2ascii/messages.properties, + * resource/gnu/classpath/tools/orbd/messages.properties, + * resource/gnu/classpath/tools/rmic/messages.properties, + * resource/gnu/classpath/tools/rmid/messages.properties, + * resource/gnu/classpath/tools/rmiregistry/messages.properties, + * resource/gnu/classpath/tools/serialver/messages.properties, + * resource/gnu/classpath/tools/tnameserv/messages.properties, + * resource/sun/rmi/rmic/messages.properties: + Removed. + * tools/Makefile.am: + Copy .jav template files and use resource subdirectory + of tools. + * tools/gnu/classpath/tools/rmic/templates/ImplTie.jav, + * tools/gnu/classpath/tools/rmic/templates/Stub.jav, + * tools/gnu/classpath/tools/rmic/templates/StubMethod.jav, + * tools/gnu/classpath/tools/rmic/templates/StubMethodVoid.jav, + * tools/gnu/classpath/tools/rmic/templates/Stub_12.jav, + * tools/gnu/classpath/tools/rmic/templates/Stub_12Method.jav, + * tools/gnu/classpath/tools/rmic/templates/Stub_12MethodVoid.jav, + * tools/gnu/classpath/tools/rmic/templates/Tie.jav, + * tools/gnu/classpath/tools/rmic/templates/TieMethod.jav, + * tools/gnu/classpath/tools/rmic/templates/TieMethodVoid.jav: + Removed. + * tools/resource/com/sun/tools/javac/messages.properties, + * tools/resource/gnu/classpath/tools/appletviewer/messages.properties, + * tools/resource/gnu/classpath/tools/common/Messages.properties, + * tools/resource/gnu/classpath/tools/getopt/Messages.properties, + * tools/resource/gnu/classpath/tools/jar/messages.properties, + * tools/resource/gnu/classpath/tools/jarsigner/messages.properties, + * tools/resource/gnu/classpath/tools/keytool/messages.properties, + * tools/resource/gnu/classpath/tools/native2ascii/messages.properties, + * tools/resource/gnu/classpath/tools/orbd/messages.properties, + * tools/resource/gnu/classpath/tools/rmic/messages.properties, + * tools/resource/gnu/classpath/tools/rmic/templates/ImplTie.jav, + * tools/resource/gnu/classpath/tools/rmic/templates/Stub.jav, + * tools/resource/gnu/classpath/tools/rmic/templates/StubMethod.jav, + * tools/resource/gnu/classpath/tools/rmic/templates/StubMethodVoid.jav, + * tools/resource/gnu/classpath/tools/rmic/templates/Stub_12.jav, + * tools/resource/gnu/classpath/tools/rmic/templates/Stub_12Method.jav, + * tools/resource/gnu/classpath/tools/rmic/templates/Stub_12MethodVoid.jav, + * tools/resource/gnu/classpath/tools/rmic/templates/Tie.jav, + * tools/resource/gnu/classpath/tools/rmic/templates/TieMethod.jav, + * tools/resource/gnu/classpath/tools/rmic/templates/TieMethodVoid.jav, + * tools/resource/gnu/classpath/tools/rmid/messages.properties, + * tools/resource/gnu/classpath/tools/rmiregistry/messages.properties, + * tools/resource/gnu/classpath/tools/serialver/messages.properties, + * tools/resource/gnu/classpath/tools/tnameserv/messages.properties, + * tools/resource/sun/rmi/rmic/messages.properties: + Added. + 2008-02-18 Roman Kennke * gnu/java/awt/peer/x/XGraphics2D.java diff --git a/resource/com/sun/tools/javac/messages.properties b/resource/com/sun/tools/javac/messages.properties deleted file mode 100644 index 995e871d9..000000000 --- a/resource/com/sun/tools/javac/messages.properties +++ /dev/null @@ -1,42 +0,0 @@ -# messages.properties -- English language messages -# Copyright (C) 2007 Free Software Foundation, Inc. -# -# This file is part of GNU Classpath. -# -# GNU Classpath is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# GNU Classpath is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with GNU Classpath; see the file COPYING. If not, write to the -# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -# 02110-1301 USA. -# -# Linking this library statically or dynamically with other modules is -# making a combined work based on this library. Thus, the terms and -# conditions of the GNU General Public License cover the whole -# combination. -# -# As a special exception, the copyright holders of this library give you -# permission to link this library with independent modules to produce an -# executable, regardless of the license terms of these independent -# modules, and to copy and distribute the resulting executable under -# terms of your choice, provided that you also meet, for each linked -# independent module, the terms and conditions of the license of that -# module. An independent module is a module which is not derived from -# or based on this library. If you modify this library, you may extend -# this exception to your version of the library, but you are not -# obligated to do so. If you do not wish to do so, delete this -# exception statement from your version. - -Main.FailedToRead:failed to read ecj.jar (reconfigure with --with-ecj-jar): {0} -Main.MalformedURL:malformed URL for ecj.jar: {0} -Main.FailedToLoad:failed to load {0} from ecj.jar: {1} -Main.FailedConstructor:failed to find ecj constructor -Main.FailedCompile:failed to find ecj compile method diff --git a/resource/gnu/classpath/tools/appletviewer/messages.properties b/resource/gnu/classpath/tools/appletviewer/messages.properties deleted file mode 100644 index c826afa21..000000000 --- a/resource/gnu/classpath/tools/appletviewer/messages.properties +++ /dev/null @@ -1,102 +0,0 @@ -# messages.properties -- English language messages -# Copyright (C) 2004, 2006 Free Software Foundation, Inc. -# -# This file is part of GNU Classpath. -# -# GNU Classpath is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# GNU Classpath is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with GNU Classpath; see the file COPYING. If not, write to the -# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -# 02110-1301 USA. -# -# Linking this library statically or dynamically with other modules is -# making a combined work based on this library. Thus, the terms and -# conditions of the GNU General Public License cover the whole -# combination. -# -# As a special exception, the copyright holders of this library give you -# permission to link this library with independent modules to produce an -# executable, regardless of the license terms of these independent -# modules, and to copy and distribute the resulting executable under -# terms of your choice, provided that you also meet, for each linked -# independent module, the terms and conditions of the license of that -# module. An independent module is a module which is not derived from -# or based on this library. If you modify this library, you may extend -# this exception to your version of the library, but you are not -# obligated to do so. If you do not wish to do so, delete this -# exception statement from your version. - -Main.ErrorApplet=An error occurred while loading this applet. -Main.Usage=Usage: appletviewer [OPTION] -code CODE | URL... -Main.AppletTagOptions=Applet tag options -Main.CodeDescription=specify the code attribute -Main.CodeArgument=CODE -Main.CodebaseDescription=specify the codebase attribute -Main.CodebaseArgument=CODEBASE -Main.ArchiveDescription=specify the archive attribute -Main.ArchiveArgument=ARCHIVE -Main.WidthDescription=specify the width attribute -Main.WidthArgument=WIDTH -Main.HeightDescription=specify the height attribute -Main.HeightArgument=HEIGHT -Main.ParamDescription=specify the parameter arguments -Main.ParamArgument=NAME,VALUE -Main.PluginOption=Plugin option -Main.PluginDescription=enable plugin mode -Main.PluginArgument=INPUT,OUTPUT -Main.DebuggingOption=Debugging option -Main.VerboseDescription=enable verbose mode -Main.CompatibilityOptions=Compatibility options -Main.DebugDescription=enable debugging mode (not implemented) -Main.EncodingDescription=specify the HTML character encoding -Main.EncodingArgument=CHARSET -Main.SecurityWarning=WARNING: CURRENTLY GAPPLETVIEWER RUNS WITH NO\ - SECURITY MANAGER.\n\ -THIS MEANS THAT APPLETS YOU LOAD CAN DO ANYTHING A JAVA APPLICATION\n\ -THAT YOU DOWNLOAD AND RUN CAN DO. BE *VERY* CAREFUL WHICH APPLETS YOU RUN.\n\ -DO NOT USE GAPPLETVIEWER ON YOUR SYSTEM IF YOUR SYSTEM STORES IMPORTANT\ - DATA.\n\ -THIS DATA CAN BE DESTROYED OR STOLEN IF YOU LOAD A MALICIOUS APPLET. -Main.ContinuationPrompt=[press 'c' or 'C' to continue or anything else to quit] -Main.NoInputFiles=appletviewer: no input files -Main.RawArguments=Raw arguments: - -PluginAppletViewer.AppletViewerWrote=PIPE: applet viewer wrote: -PluginAppletViewer.AppletViewerRead=PIPE: applet viewer read: -PluginAppletViewer.AppletViewerExiting=appletviewer: exiting plugin applet\ - viewer - -StandaloneAppletContext.ShowDocumentError=showDocument is not implemented in\ - standalone mode - -StandaloneAppletViewer.ParsedAppletTags=Parsed applet tags: -StandaloneAppletViewer.Tag=tag -StandaloneAppletViewer.CodeOptionError=appletviewer: option '--code' requires\ - a class filename - -StandaloneAppletWindow.MenuTitle=Applet -StandaloneAppletWindow.MenuReload=Reload -StandaloneAppletWindow.MenuRestart=Restart -StandaloneAppletWindow.MenuStart=Start -StandaloneAppletWindow.MenuStop=Stop -StandaloneAppletWindow.MenuClone=Clone ... -StandaloneAppletWindow.MenuQuit=Quit -StandaloneAppletWindow.MenuClose=Close -StandaloneAppletWindow.MenuTag=Tag ... -StandaloneAppletWindow.MenuInfo=Info ... -StandaloneAppletWindow.MenuEdit=Edit -StandaloneAppletWindow.MenuEncoding=Character Encoding -StandaloneAppletWindow.MenuPrint=Print ... -StandaloneAppletWindow.MenuProperties=Properties ... -StandaloneAppletWindow.MenuCancel=Cancel -StandaloneAppletWindow.MenuSave=Save ... -StandaloneAppletWindow.WindowTitle=GNU Classpath Applet Viewer: diff --git a/resource/gnu/classpath/tools/common/Messages.properties b/resource/gnu/classpath/tools/common/Messages.properties deleted file mode 100644 index 989fde74e..000000000 --- a/resource/gnu/classpath/tools/common/Messages.properties +++ /dev/null @@ -1,40 +0,0 @@ -# MessagesBundle.properties -- English language messages -# Copyright (C) 2006 Free Software Foundation, Inc. -# -# This file is part of GNU Classpath. -# -# GNU Classpath is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# GNU Classpath is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with GNU Classpath; see the file COPYING. If not, write to the -# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -# 02110-1301 USA. -# -# Linking this library statically or dynamically with other modules is -# making a combined work based on this library. Thus, the terms and -# conditions of the GNU General Public License cover the whole -# combination. -# -# As a special exception, the copyright holders of this library give you -# permission to link this library with independent modules to produce an -# executable, regardless of the license terms of these independent -# modules, and to copy and distribute the resulting executable under -# terms of your choice, provided that you also meet, for each linked -# independent module, the terms and conditions of the license of that -# module. An independent module is a module which is not derived from -# or based on this library. If you modify this library, you may extend -# this exception to your version of the library, but you are not -# obligated to do so. If you do not wish to do so, delete this -# exception statement from your version. - -ClasspathToolParser.JArgument=pass argument to the Java runtime -ClasspathToolParser.JName=OPTION -ClasspathToolParser.VersionFormat={0} (GNU Classpath) {1}\n\nCopyright 2006 Free Software Foundation, Inc.\nThis is free software; see the source for copying conditions. There is NO\nwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. diff --git a/resource/gnu/classpath/tools/getopt/Messages.properties b/resource/gnu/classpath/tools/getopt/Messages.properties deleted file mode 100644 index a747ab4b4..000000000 --- a/resource/gnu/classpath/tools/getopt/Messages.properties +++ /dev/null @@ -1,46 +0,0 @@ -# MessagesBundle.properties -- English language messages -# Copyright (C) 2006 Free Software Foundation, Inc. -# -# This file is part of GNU Classpath. -# -# GNU Classpath is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# GNU Classpath is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with GNU Classpath; see the file COPYING. If not, write to the -# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -# 02110-1301 USA. -# -# Linking this library statically or dynamically with other modules is -# making a combined work based on this library. Thus, the terms and -# conditions of the GNU General Public License cover the whole -# combination. -# -# As a special exception, the copyright holders of this library give you -# permission to link this library with independent modules to produce an -# executable, regardless of the license terms of these independent -# modules, and to copy and distribute the resulting executable under -# terms of your choice, provided that you also meet, for each linked -# independent module, the terms and conditions of the license of that -# module. An independent module is a module which is not derived from -# or based on this library. If you modify this library, you may extend -# this exception to your version of the library, but you are not -# obligated to do so. If you do not wish to do so, delete this -# exception statement from your version. - -Parser.StdOptions=Standard options -Parser.PrintHelp=print this help, then exit -Parser.PrintVersion=print version number, then exit -Parser.ArgReqd=option ''{0}'' requires an argument -Parser.Unrecognized=unrecognized option ''{0}'' -Parser.NoArg=option ''{0}'' doesn''t allow an argument -Parser.UnrecDash=unrecognized option ''-{0}'' -Parser.TryHelpShort=Try ''{0} -help'' for more information -Parser.TryHelpLong=Try ''{0} --help'' for more information diff --git a/resource/gnu/classpath/tools/jar/messages.properties b/resource/gnu/classpath/tools/jar/messages.properties deleted file mode 100644 index a456fe243..000000000 --- a/resource/gnu/classpath/tools/jar/messages.properties +++ /dev/null @@ -1,72 +0,0 @@ -# messages.properties -- English language messages -# Copyright (C) 2006 Free Software Foundation, Inc. -# -# This file is part of GNU Classpath. -# -# GNU Classpath is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# GNU Classpath is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with GNU Classpath; see the file COPYING. If not, write to the -# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -# 02110-1301 USA. -# -# Linking this library statically or dynamically with other modules is -# making a combined work based on this library. Thus, the terms and -# conditions of the GNU General Public License cover the whole -# combination. -# -# As a special exception, the copyright holders of this library give you -# permission to link this library with independent modules to produce an -# executable, regardless of the license terms of these independent -# modules, and to copy and distribute the resulting executable under -# terms of your choice, provided that you also meet, for each linked -# independent module, the terms and conditions of the license of that -# module. An independent module is a module which is not derived from -# or based on this library. If you modify this library, you may extend -# this exception to your version of the library, but you are not -# obligated to do so. If you do not wish to do so, delete this -# exception statement from your version. - -Creator.Ignoring=ignoring entry {0} -Creator.Adding=adding: {0} (in={1,number,integer}) (out={2,number,integer}) (stored {3,number,integer}%) -Extractor.Created=\ \ created: {0} -Extractor.Extracted=\ extracted: {0} -Extractor.Inflated=\ \ inflated: {0} -Indexer.Indexing=indexing: {0} -Main.ArchiveAlreadySet=archive file name already set to {0} -Main.ModeAlreaySet=operation mode already specified -Main.MustSpecify=must specify one of -t, -c, -u, -x, or -i -Main.TwoArgsReqd=-C argument requires both directory and filename -Main.CantHaveBoth=can't specify both -m and -M -Main.NoFilesWithi=can't specify file arguments when using -i -Main.NoMAndi=can't specify -M with -i -Main.AnotherNomAndi=can't specify -m with -i -Main.Usage=Usage: jar -ctxui [OPTIONS] jar-file [-C DIR FILE] FILE... -Main.OpMode=Operation mode -Main.Create=create a new archive -Main.Extract=extract from archive -Main.List=list archive contents -Main.Update=update archive -Main.Index=compute archive index -Main.FileArg=FILE -Main.OpMods=Operation modifiers -Main.ArchiveName=specify archive file name -Main.FileArg2=FILE -Main.NoZip=store only; no ZIP compression -Main.Verbose=verbose operation -Main.NoManifest=do not create a manifest file -Main.ManifestName=specify manifest file -Main.ManifestArgName=FILE -Main.FileNameGroup=File name selection -Main.ChangeDir=change to directory before the next file -Main.ChangeDirArg=DIR FILE -Main.InternalError=jar: internal error: -Main.Stdin=Read file names from stdin diff --git a/resource/gnu/classpath/tools/jarsigner/messages.properties b/resource/gnu/classpath/tools/jarsigner/messages.properties deleted file mode 100644 index d4088177c..000000000 --- a/resource/gnu/classpath/tools/jarsigner/messages.properties +++ /dev/null @@ -1,126 +0,0 @@ -# messages.properties -- English language messages and message formats -# Copyright (C) 2006 Free Software Foundation, Inc. -# -# This file is part of GNU Classpath. -# -# GNU Classpath is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# GNU Classpath is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with GNU Classpath; see the file COPYING. If not, write to the -# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -# 02110-1301 USA. -# -# Linking this library statically or dynamically with other modules is -# making a combined work based on this library. Thus, the terms and -# conditions of the GNU General Public License cover the whole -# combination. -# -# As a special exception, the copyright holders of this library give you -# permission to link this library with independent modules to produce an -# executable, regardless of the license terms of these independent -# modules, and to copy and distribute the resulting executable under -# terms of your choice, provided that you also meet, for each linked -# independent module, the terms and conditions of the license of that -# module. An independent module is a module which is not derived from -# or based on this library. If you modify this library, you may extend -# this exception to your version of the library, but you are not -# obligated to do so. If you do not wish to do so, delete this -# exception statement from your version. -# -# for gnu.classpath.tools.jarsigner package -# - -Main.7=jarsigner: -Main.9=jarsigner error: -Main.70=JAR file [{0}] is NOT a file object -Main.72=JAR file [{0}] is NOT readable -#Main.85=Option '-keystore' is not defined or is an empty string, and 'user.home' is unknown -Main.85=Unable to locate a valid key store -Main.92=Enter key store password: -Main.6=Designated alias [{0}] MUST be known to the key store in use -Main.2=\ -Usage: jarsigner [OPTION]... FILE ALIAS\n\ -\ \ \ \ \ \ \ \ jarsigner -verify [OPTION]... FILE\n\ -Java ARchive (JAR) file signing and verification tool.\n\ -\n\ -FILE is the .JAR file to sign or to verify.\n\ -\n\ -ALIAS must be a known Alias of a Key Entry in the designated key store. The \ -private key material associated with this Alias is used for signing FILE. if \ -ALIAS is required, but was omitted, "mykey" will be used instead. -Main.1=Please report bugs at http://www.gnu.org/software/classpath/bugs.html -Main.0=Signing options -Main.95=Designated alias [{0}] MUST be an Alias of a Key Entry -Main.97=Enter key password for <{0}>: -Main.99=Key associated with [{0}] MUST be a private key -Main.101=Location of the key store to use. The default value is a file-based \ -scheme whose path is the file named ".keystore" in your home directory.\n\ -If URL is malformed, the tool will use URL as a file-name of a key store; \ -i.e. as if the protocol was "file:". -Main.102=URL -Main.104=Type of the key store to use. If omitted, the default value is that \ -of the property "keystore.type" in the security properties file. -Main.105=STORE_TYPE -Main.107=Password to unlock the key store. If omitted, you will be prompted \ -to provide a password. -Main.108=PASSWORD -Main.110=Password to unlock the Key Entry associated with ALIAS. If omitted, \ -the tool will use the same password protecting the key store. If this fails, \ -you will be prompted to provide a password. -Main.111=PASSWORD -Main.113=A literal to construct file names for both the .SF and .DSA signature \ -files --which will be placed in the META-INF directory of the signed JAR. \ -Permissible characters are in the range [a-zA-Z0-9_-].\n\ -If omitted, the first 8 characters of ALIAS will be used. Characters outside \ -that range will be replaced by underscores. -Main.114=NAME -Main.116=Name of the signed JAR file. If omitted, the signed JAR will be \ -named the same as FILE; i.e. the input file will be replaced with its signed \ -copy. -Main.117=FILE -Main.118=Verification options -Main.120=Verify an already signed FILE. -Main.122=Use with -verbose to see more detailed information about the \ -certificates of ALIAS. -Main.123=Common options -Main.125=Output more verbose messages during processing. -Main.127=Include --otherwise do not-- the .SF file in the .DSA generated file. -Main.129=Include in the .SF generated file --otherwise do not-- a header \ -containing a hash of the whole manifest file. -Main.131=Fully qualified class name of a Security Provider to add to the JVM \ -in-use. -Main.132=PROVIDER_CLASS_NAME -Main.133=Missing FILE argument. - -JarSigner.1=\ \ signing: -JarSigner.2=\ updating: -JarSigner.8=\ \ \ adding: -JarSigner.14=Jar signed. - -JarVerifier.2=Jar is not signed --no signature files found. -JarVerifier.3=Jar verification failed. -JarVerifier.4=Jar partially verified --{0,numer} of {1,number} signers. -JarVerifier.7=Jar verified --{0,number} signer(s). -JarVerifier.13=Signature Block missing for {0} -JarVerifier.14=At least one SignerInfo element MUST be present in a Signature \ -Block (.DSA file) -JarVerifier.16=Missing EncryptedDigest in Signature Block (.DSA file) first \ -SignerInfo element - -SFHelper.1=Helper is NOT finished -SFHelper.4=.SF file has NOT been generated -SFHelper.6=Unknown or unsupported private key algorithm -SFHelper.9=Helper is NOT ready -SFHelper.0=Warning: The certificate issued by {0}, for {1}, has expired as of {3,date,full} - {3,time,full}. -SFHelper.10=Helper is NOT started -SFHelper.11=Warning: The certificate issued by {0}, for {1}, is only valid after {3,date,full} - {3,time,full}. -SFHelper.14=[unknown] -SFHelper.17=[unnamed] diff --git a/resource/gnu/classpath/tools/keytool/messages.properties b/resource/gnu/classpath/tools/keytool/messages.properties deleted file mode 100644 index 98f4e6842..000000000 --- a/resource/gnu/classpath/tools/keytool/messages.properties +++ /dev/null @@ -1,570 +0,0 @@ -# messages.properties -- English language messages and message formats -# Copyright (C) 2006 Free Software Foundation, Inc. -# -# This file is part of GNU Classpath. -# -# GNU Classpath is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# GNU Classpath is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with GNU Classpath; see the file COPYING. If not, write to the -# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -# 02110-1301 USA. -# -# Linking this library statically or dynamically with other modules is -# making a combined work based on this library. Thus, the terms and -# conditions of the GNU General Public License cover the whole -# combination. -# -# As a special exception, the copyright holders of this library give you -# permission to link this library with independent modules to produce an -# executable, regardless of the license terms of these independent -# modules, and to copy and distribute the resulting executable under -# terms of your choice, provided that you also meet, for each linked -# independent module, the terms and conditions of the license of that -# module. An independent module is a module which is not derived from -# or based on this library. If you modify this library, you may extend -# this exception to your version of the library, but you are not -# obligated to do so. If you do not wish to do so, delete this -# exception statement from your version. -# -# for gnu.classpath.tools.keytool package -# - -Main.6=keytool: {0} -Main.8=keytool error: {0} -Main.5=Import a CA's Trusted Certificate.\n\ -[-file FILE] [-storetype STORE_TYPE] [-keystore URL]\n\ -[-storepass PASSWORD] [-provider PROVIDER_CLASS_NAME] [-v]. -Main.18=Unrecognized command: {0} -Main.19=Usage: keytool [COMMAND] [-- COMMAND]...\n\ -Manage private keys and public certificates. -Main.20=Please report bugs at http://www.gnu.org/software/classpath/bugs.html -Main.21=Available commands -Main.22=Generate a Key Entry, eventually creating a key store.\n\ -[-alias ALIAS] [-keyalg ALGORITHM] [-keysize KEY_SIZE]\n\ -[-sigalg ALGORITHM] [-dname NAME] [-keypass PASSWORD]\n\ -[-validity DAY_COUNT] [-storetype STORE_TYPE]\n\ -[-keystore URL] [-storepass PASSWORD]\n\ -[-provider PROVIDER_CLASS_NAME] [-v]. -Main.23=Add Key Entries and Trusted Certificates.\n\ -[-alias ALIAS] [-file FILE] [-keypass PASSWORD]\n\ -[-noprompt] [-trustcacerts] [-storetype STORE_TYPE]\n\ -[-keystore URL] [-storepass PASSWORD]\n\ -[-provider PROVIDER_CLASS_NAME] [-v]. -Main.24=Generate a self-signed Trusted Certificate.\n\ -[-alias ALIAS] [-sigalg ALGORITHM] [-dname NAME]\n\ -[-validity DAY_COUNT] [-keypass PASSWORD]\n\ -[-storetype STORE_TYPE] [-keystore URL]\n\ -[-storepass PASSWORD] [-provider PROVIDER_CLASS_NAME] [-v]. -Main.25=NOT IMPLEMENTED YET. Import JDK1.1 Identity Database.\n\ -[-file FILE] [-storetype STORE_TYPE] [-keystore URL]\n\ -[-storepass PASSWORD] [-provider PROVIDER_CLASS_NAME] [-v]. -Main.26=Issue a Certificate Signing Request (CSR).\n\ -[-alias ALIAS] [-sigalg ALGORITHM] [-file FILE]\n\ -[-keypass PASSWORD] [-storetype STORE_TYPE] [-keystore URL]\n\ -[-storepass PASSWORD] [-provider PROVIDER_CLASS_NAME] [-v]\n\ -[-attributes]. -Main.27=Export a Certificate from a key store.\n\ -[-alias ALIAS] [-file FILE] [-storetype STORE_TYPE]\n\ -[-keystore URL] [-storepass PASSWORD]\n\ -[-provider PROVIDER_CLASS_NAME] [-rfc] [-v]. -Main.28=Print one or all Certificates in a key store to STDOUT.\n\ -[-alias ALIAS] [-storetype STORE_TYPE] [-keystore URL]\n\ -[-storepass PASSWORD] [-provider PROVIDER_CLASS_NAME] [-rfc] [-v]. -Main.29=Print a human-readable form of a Certificate in a FILE.\n\ -[-file FILE] [-v]. -Main.30=Clone a Key Entry in a key store.\n\ -[-alias ALIAS] [-dest ALIAS] [-keypass PASSWORD]\n\ -[-new PASSWORD] [-storetype STORE_TYPE] [-keystore URL]\n\ -[-storepass PASSWORD] [-provider PROVIDER_CLASS_NAME] [-v]. -Main.31=Change the password protecting a key store.\n\ -[-new PASSWORD] [-storetype STORE_TYPE] [-keystore URL]\n\ -[-storepass PASSWORD] [-provider PROVIDER_CLASS_NAME] [-v]. -Main.32=Change the password protecting a Key Entry in a key store.\n\ -[-alias ALIAS] [-keypass PASSWORD] [-new PASSWORD]\n\ -[-storetype STORE_TYPE] [-keystore URL]\n\ -[-storepass PASSWORD] [-provider PROVIDER_CLASS_NAME] [-v]. -Main.33=Delete a Key Entry or a Trusted Certificate from a key store.\n\ -[-alias ALIAS] [-storetype STORE_TYPE] [-keystore URL]\n\ -[-storepass PASSWORD] [-provider PROVIDER_CLASS_NAME] [-v]. - -Command.19=Failed creating new file at {0} -Command.20=Unable to find a suitable signature algorithm named {0}, although we found a key-pair generation algorithm named {1} -Command.21=Enter key password for <{0}>: -Command.23=A correct key password MUST be provided -Command.24=Enter key store password: -#Command.36=Option '-keystore' is undefined, or is an empty string, and 'user.home' is unknown -Command.36=Unable to locate a valid key store -Command.40=Provider fully qualified class name: -Command.42=File object [{0}] exists but is NOT a file -Command.44=File [{0}] exists but is NOT writable -Command.46=File object [{0}] MUST be an existing readable file -Command.48=Signature algorithm is missing and private key is of unknown or unsupported type -Command.51=Validity period MUST be greater than zero -Command.52=Unable to get signature algorithm name -Command.60=Unknown or unsupported signature algorithm: {0} -Command.63=Saving key store at {0} -Command.66=Owner: {0} -Command.67=Issuer: {0} -Command.68=Serial number: {0,number} -Command.69=Valid from: {0,date,full} - {0,time,full} -Command.70=\ \ \ \ \ until: {0,date,full} - {0,time,full} -Command.71=Certificate fingerprints -Command.72=\ \ \ \ \ \ MD5: {0} -Command.73=\ \ SHA-160: {0} -Command.75=Alias [{0}] MUST be knwon to the key store -Command.77=Alias [{0}] MUST be associated with a Key Entry - -CertReqCmd.27=Certification request stored in {0} -CertReqCmd.28=Submit this to your CA -CertReqCmd.25=Usage: keytool -certreq [OPTION]...\n\ -Generate a PKCS#10 Certificate Signing Request (CSR) and write it to a \ -designated output destination.\n\n\ -IMPORTANT: Some documentation claims that the Attributes field, in the CSR is \ -OPTIONAL while RFC-2986 implies the opposite. This implementation considers \ -this field, by default, as OPTIONAL, unless option -attributes is specified. -CertReqCmd.24=Please report bugs at http://www.gnu.org/software/classpath/bugs.html -CertReqCmd.23=Command options -CertReqCmd.22=Alias of an entry in the key store on whose behalf the CSR is \ -generated. The value "mykey" (all lower case, without the enclosing quotes) \ -is used when this option is omitted. -CertReqCmd.21=ALIAS -CertReqCmd.20=Name of the digital signature algorithm to use for signing the \ -certificate. If omitted, a default value is chosen based on the type of the \ -private key associated with ALIAS. If the key is a "DSA" one, the value for \ -signature algorithm will be "SHA1withDSA". If on the other hand the key is \ -an "RSA" one, then "MD5withRSA" will be the signature algorithm. -CertReqCmd.19=ALGORITHM -CertReqCmd.18=Destination of the generated CSR. STDOUT is used if this \ -option is omitted. -CertReqCmd.17=FILE -CertReqCmd.16=Password to unlock the Key Entry associated with ALIAS. If \ -omitted, the tool will attempt to unlock the Key Entry using the same password \ -protecting the key store. If this fails, you will be prompted for a password. -CertReqCmd.14=Type of the key store to use. If omitted, the default value is \ -that of the property "keystore.type" in the security properties file. -CertReqCmd.13=STORE_TYPE -CertReqCmd.12=Location of the key store to use. The default value is a \ -file-based scheme whose path is the file named ".keystore" in your home \ -directory.\n\ -If URL is malformed, the tool will use URL as a file-name of a key store; \ -i.e. as if the protocol was "file:". -CertReqCmd.11=URL -CertReqCmd.10=Password to unlock the key store. If omitted, you will be \ -prompted for one. -CertReqCmd.9=PASSWORD -CertReqCmd.8=Fully qualified class name of a Security Provider to add to the \ -JVM in-use. -CertReqCmd.7=PROVIDER_CLASS_NAME -CertReqCmd.6=Emit more verbose messages. -CertReqCmd.5=Force the tool to encode a NULL DER value in the CSR as the value \ -of the Attributes field. - -DeleteCmd.19=Enter the Alias to delete: -DeleteCmd.18=Usage: keytool -delete [OPTION]...\n\ -Delete a designated key store entry. -DeleteCmd.17=Please report bugs at http://www.gnu.org/software/classpath/bugs.html -DeleteCmd.16=Command options -DeleteCmd.15=Alias of an entry to delete. The value "mykey" (all lower case, \ -without the enclosing quotes) is used when this option is omitted. -DeleteCmd.14=ALIAS -DeleteCmd.13=Type of the key store to use. If omitted, the default value is \ -that of the property "keystore.type" in the security properties file. -DeleteCmd.12=STORE_TYPE -DeleteCmd.11=Location of the key store to use. The default value is a \ -file-based scheme whose path is the file named ".keystore" in your home \ -directory.\n\ -If URL is malformed, the tool will use URL as a file-name of a key store; \ -i.e. as if the protocol was "file:". -DeleteCmd.10=URL -DeleteCmd.20=Alias MUST NOT be null or an empty string -DeleteCmd.9=Password to unlock the key store. If omitted, you will be \ -prompted for one. -DeleteCmd.8=PASSWORD -DeleteCmd.7=Fully qualified class name of a Security Provider to add to the \ -JVM in-use. -DeleteCmd.6=PROVIDER_CLASS_NAME -DeleteCmd.5=Emit more verbose messages. - -GenKeyCmd.0=\nYou are about to enter information that will be incorporated into\n\ -your certificate request. This information is what is called a\n\ -Distinguished Name or DN. There are quite a few fields but you\n\ -can use supplied default values, displayed between brackets, by just\n\ -hitting , or blank the field by entering the <.> character\n\ -before hitting .\n\n -GenKeyCmd.6=The Sample Company -GenKeyCmd.7=Sydney -GenKeyCmd.8=NSW -GenKeyCmd.9=AU -GenKeyCmd.10=Common Name (hostname, IP, or your name): -GenKeyCmd.11=Organization Name (company) [{0}]: -GenKeyCmd.13=Organizational Unit Name (department, division): -GenKeyCmd.14=Locality Name (city, district) [{0}]: -GenKeyCmd.16=State or Province Name (full name) [{0}]: -GenKeyCmd.18=Country Name (2 letter code) [{0}]: -GenKeyCmd.54=Key size MUST be greater than zero -GenKeyCmd.57=Usage: keytool -genkey [OPTION]...\n\ -Generate a new key-pair and save these credentials in the key store as a Key \ -Entry, associated with a designated Alias. -GenKeyCmd.58=Please report bugs at http://www.gnu.org/software/classpath/bugs.html -GenKeyCmd.59=Command options -GenKeyCmd.60=Alias of the Key Entry to generate. The value "mykey" (all lower \ -case, without the enclosing quotes) is used when this option is omitted. -GenKeyCmd.61=ALIAS -GenKeyCmd.62=Name of the key-pair generation algorithm. The default value is \ -"DSS" (a synonym for the Digital Signature Algorithm also known as DSA). -GenKeyCmd.63=ALGORITHM -GenKeyCmd.64=Number of bits of the shared modulus, for both the public and \ -private keys, to use for the new keys. If omitted, 1024 is used. -GenKeyCmd.65=SIZE -GenKeyCmd.66=Name of the digital signature algorithm to use for signing the \ -certificate. If omitted, a default value is chosen based on the type of the \ -private key associated with ALIAS. If the key is a "DSA" one, the value for \ -signature algorithm will be "SHA1withDSA". If on the other hand the key is \ -an "RSA" one, then "MD5withRSA" will be the signature algorithm. -GenKeyCmd.68=The X.500 Distinguished Name of the Subject of the generated \ -certificate. If omitted you will be prompted for one. -GenKeyCmd.69=NAME -GenKeyCmd.70=Password to protect the newly created Key Entry. If omitted, \ -you will be prompted to provide a password. -GenKeyCmd.71=PASSWORD -GenKeyCmd.72=Number of days the generated certificate is valid for. If \ -omitted, 90 is used. -GenKeyCmd.73=DAY_COUNT -GenKeyCmd.74=Type of the key store to use. If omitted, the default value is \ -that of the property "keystore.type" in the security properties file. -GenKeyCmd.75=STORE_TYPE -GenKeyCmd.76=Location of the key store to use. The default value is a \ -file-based scheme whose path is the file named ".keystore" in your home \ -directory.\n\ -If URL is malformed, the tool will use URL as a file-name of a key store; \ -i.e. as if the protocol was "file:". -GenKeyCmd.77=URL -GenKeyCmd.78=Password to unlock the key store. If omitted, you will be \ -prompted for one. -GenKeyCmd.80=Fully qualified class name of a Security Provider to add to the \ -JVM in-use. -GenKeyCmd.81=PROVIDER_CLASS_NAME -GenKeyCmd.82=Emit more verbose messages. - -StorePasswdCmd.19=Too many failed attempts -StorePasswdCmd.18=Usage: keytool -storepasswd [OPTION]...\n\ -Change the password protecting a key store. -StorePasswdCmd.17=Please report bugs at http://www.gnu.org/software/classpath/bugs.html -StorePasswdCmd.16=Command options -StorePasswdCmd.15=The new, and different, password to protect the key store. \ -If omitted, you will be prompted for one. -StorePasswdCmd.13=Type of the key store to use. If omitted, the default value is \ -that of the property "keystore.type" in the security properties file. -StorePasswdCmd.12=STORE_TYPE -StorePasswdCmd.11=Location of the key store to use. The default value is a \ -file-based scheme whose path is the file named ".keystore" in your home \ -directory.\n\ -If URL is malformed, the tool will use URL as a file-name of a key store; \ -i.e. as if the protocol was "file:". -StorePasswdCmd.10=URL -StorePasswdCmd.20=Enter new key store password: -StorePasswdCmd.21=Password MUST be at least 6 characters. -StorePasswdCmd.22=New password MUST be different than the old one. -StorePasswdCmd.23=Re-enter new key store password: -StorePasswdCmd.24=Passwords MUST be the same in both attempts. -StorePasswdCmd.9=Password to unlock the key store. If omitted, you will be \ -prompted for one. -StorePasswdCmd.8=PASSWORD -StorePasswdCmd.7=Fully qualified class name of a Security Provider to add to the \ -JVM in-use. -StorePasswdCmd.6=PROVIDER_CLASS_NAME -StorePasswdCmd.5=Emit more verbose messages. - -KeyPasswdCmd.24=Enter new key password for <{0}>: -KeyPasswdCmd.28=Re-enter new key password for <{0}>: -KeyPasswdCmd.23=Usage: keytool -keypasswd [OPTION]...\n\ -Change the password protecting a Key Entry. -KeyPasswdCmd.22=Please report bugs at http://www.gnu.org/software/classpath/bugs.html -KeyPasswdCmd.21=Command options -KeyPasswdCmd.20=The Alias which password is to be changed. -KeyPasswdCmd.19=ALIAS -KeyPasswdCmd.18=Password to unlock ALIAS. If omitted, the tool will attempt \ -to unlock the Key Entry using the same password protecting the key store. If \ -this fails, you will be prompted for a password. -KeyPasswdCmd.16=The new, and different, password to protect ALIAS. -KeyPasswdCmd.14=Type of the key store to use. If omitted, the default value is \ -that of the property "keystore.type" in the security properties file. -KeyPasswdCmd.13=STORE_TYPE -KeyPasswdCmd.12=Location of the key store to use. The default value is a \ -file-based scheme whose path is the file named ".keystore" in your home \ -directory.\n\ -If URL is malformed, the tool will use URL as a file-name of a key store; \ -i.e. as if the protocol was "file:". -KeyPasswdCmd.11=URL -KeyPasswdCmd.10=Password to unlock the key store. If omitted, you will be \ -prompted for one. -KeyPasswdCmd.9=PASSWORD -KeyPasswdCmd.8=Fully qualified class name of a Security Provider to add to the \ -JVM in-use. -KeyPasswdCmd.7=PROVIDER_CLASS_NAME -KeyPasswdCmd.6=Emit more verbose messages. - -KeyCloneCmd.23=Destination Alias MUST NOT exist in key store -KeyCloneCmd.26=Enter destination alias: -KeyCloneCmd.27=Destination alias MUST NOT be null nor empty -KeyCloneCmd.28=Enter new key password for <{0}> [{1}]: -KeyCloneCmd.22=Usage: keytool -keyclone [OPTION]...\n\ -Clone an existing Key Entry and store it under a new (different) Alias \ -protecting its private key material with possibly a new password. -KeyCloneCmd.21=Please report bugs at http://www.gnu.org/software/classpath/bugs.html -KeyCloneCmd.20=Command options -KeyCloneCmd.19=Alias of an entry to clone. The value "mykey" (all lower case, \ -without the enclosing quotes) is used when this option is omitted. -KeyCloneCmd.17=Alias to identify the cloned copy of the Key Entry. -KeyCloneCmd.16=ALIAS -KeyCloneCmd.15=Password to unlock the Key Entry associated with the Alias to \ -clone. If omitted, the tool will attempt to unlock the Key Entry using the \ -same password protecting the key store. If this fails, you will be prompted \ -for a password. -KeyCloneCmd.13=Password to protect the cloned copy of the Key Entry. If \ -omitted, you will be prompted to provide one. -KeyCloneCmd.11=Type of the key store to use. If omitted, the default value is \ -that of the property "keystore.type" in the security properties file. -KeyCloneCmd.10=STORE_TYPE -KeyCloneCmd.9=Location of the key store to use. The default value is a \ -file-based scheme whose path is the file named ".keystore" in your home \ -directory.\n\ -If URL is malformed, the tool will use URL as a file-name of a key store; \ -i.e. as if the protocol was "file:". -KeyCloneCmd.8=URL -KeyCloneCmd.7=Password to unlock the key store. If omitted, you will be \ -prompted for one. -KeyCloneCmd.6=PASSWORD -KeyCloneCmd.5=Fully qualified class name of a Security Provider to add to the \ -JVM in-use. -KeyCloneCmd.4=PROVIDER_CLASS_NAME -KeyCloneCmd.3=Emit more verbose messages. - -ListCmd.21=Key store type: {0} -ListCmd.22=Key store provider: {0} -ListCmd.24=Key store contains {0,number} entry(ies) -ListCmd.20=Usage: keytool -list [OPTION]...\n\ -Print one or all of the key store entries to STDOUT. Usually this command \ -will only print a fingerprint of the certificate, unless either -rfc or -v \ -is specified. -ListCmd.30=Alias name: {0} -ListCmd.31=Creation timestamp: {0,date,full} - {0,time,full} -ListCmd.32=Entry type: trusted-certificate -ListCmd.33=Entry type: key-entry -ListCmd.34=Alias [{0}] is unknown to the key store -ListCmd.38=Certificate chain length: {0,number} -ListCmd.39=Certificate[1]: -ListCmd.40=Certificate[{0,number}]: -ListCmd.42=******************************************* -ListCmd.43=-----BEGIN CERTIFICATE----- -ListCmd.44=-----END CERTIFICATE----- -ListCmd.45=Certificate fingerprint (MD5): {0} -ListCmd.19=Please report bugs at http://www.gnu.org/software/classpath/bugs.html -ListCmd.18=Command options -ListCmd.17=Alias of an entry to list. If omitted, all entries are listed. -ListCmd.16=ALIAS -ListCmd.15=Type of the key store to use. If omitted, the default value is \ -that of the property "keystore.type" in the security properties file. -ListCmd.14=STORE_TYPE -ListCmd.13=Location of the key store to use. The default value is a \ -file-based scheme whose path is the file named ".keystore" in your home \ -directory.\n\ -If URL is malformed, the tool will use URL as a file-name of a key store; \ -i.e. as if the protocol was "file:". -ListCmd.12=URL -ListCmd.11=Password to unlock the key store. If omitted, you will be \ -prompted for one. -ListCmd.10=PASSWORD -ListCmd.9=Fully qualified class name of a Security Provider to add to the \ -JVM in-use. -ListCmd.8=PROVIDER_CLASS_NAME -ListCmd.7=Output the certificate in human-readable format, even if -rfc is \ -also specified. -ListCmd.6=Use RFC-1421 specifications when encoding the output. - -ImportCmd.34=Failed to establish chain-of-trust from reply -ImportCmd.37=Unable to find anchor certificate for {0} -ImportCmd.38=Public keys, in key store and certificate, MUST be of the same type -ImportCmd.32=Can this certificate be trusted? -ImportCmd.40=Key entry associated with {0} has an unknown or unsupported public key type {1} -ImportCmd.41=Public keys, in key store and certificate, MUST be the same -ImportCmd.29=Certificate was added to the key store -ImportCmd.28=Certificate was not added to the key store -ImportCmd.27=Usage: keytool -import [OPTION]...\n\ -Read an X.509 certificate, or a PKCS#7 Certificate Reply from a designated \ -input source and incorporate the certificates into the key store. -ImportCmd.26=Please report bugs at http://www.gnu.org/software/classpath/bugs.html -ImportCmd.25=Command options -ImportCmd.24=If ALIAS does not already exist in the key store, the tool treats \ -the certificate in FILE as a new Trusted Certificate.\n\ -If ALIAS exists in the key store, the tool will treat the certificate(s) in \ -FILE as a Certificate Reply (which can be a chain of certificates). -ImportCmd.23=ALIAS -ImportCmd.22=Location of the Certificate or Certificate Reply to import. -ImportCmd.21=FILE -ImportCmd.20=Password to protect the Key Entry associated with ALIAS. If \ -this option is omitted, and the chain-of-trust for the Certificate Reply has \ -been established, the tool will first attempt to unlock the Key Entry using \ -the same password protecting the key store. If this fails, you will be \ -prompted to provide a password. -ImportCmd.19=PASSWORD -ImportCmd.18=Prevent the tool from prompting the user. -ImportCmd.17=Additionally use a key store, of type "JKS", named "cacerts", \ -and located in lib/security in an installed Java Runtime Environment, when \ -trying to establish chains-of-trust. -ImportCmd.16=Type of the key store to use. If omitted, the default value is \ -that of the property "keystore.type" in the security properties file. -ImportCmd.15=STORE_TYPE -ImportCmd.14=Location of the key store to use. The default value is a \ -file-based scheme whose path is the file named ".keystore" in your home \ -directory.\n\ -If URL is malformed, the tool will use URL as a file-name of a key store; \ -i.e. as if the protocol was "file:". -ImportCmd.13=URL -ImportCmd.12=Password to unlock the key store. If omitted, you will be \ -prompted for one. -ImportCmd.11=PASSWORD -ImportCmd.10=Fully qualified class name of a Security Provider to add to the \ -JVM in-use. -ImportCmd.9=PROVIDER_CLASS_NAME -ImportCmd.8=Emit more verbose messages. -ImportCmd.7=Was unable to build a certificate-chain. Only {0,number} out of {1,number} certificates were processed - -ExportCmd.17=Usage: keytool -export [OPTION]...\n\ -Export a certificate stored in the key store to a designated output \ -destination, either in binary format or in RFC-1421 compliant encoding. -ExportCmd.18=Please report bugs at http://www.gnu.org/software/classpath/bugs.html -ExportCmd.19=Command options -ExportCmd.20=Alias of an entry to export. The value "mykey" (all lower case, \ -without the enclosing quotes) is used when this option is omitted. -ExportCmd.21=ALIAS -ExportCmd.22=Destination of the exported certificate. STDOUT is used if this \ -option is omitted. -ExportCmd.23=FILE -ExportCmd.24=Type of the key store to use. If omitted, the default value is \ -that of the property "keystore.type" in the security properties file. -ExportCmd.25=STORE_TYPE -ExportCmd.26=Location of the key store to use. The default value is a \ -file-based scheme whose path is the file named ".keystore" in your home \ -directory.\n\ -If URL is malformed, the tool will use URL as a file-name of a key store; \ -i.e. as if the protocol was "file:". -ExportCmd.27=URL -ExportCmd.28=Password to unlock the key store. If omitted, you will be \ -prompted for one. -ExportCmd.29=PASSWORD -ExportCmd.30=Fully qualified class name of a Security Provider to add to the \ -JVM in-use. -ExportCmd.31=PROVIDER_CLASS_NAME -ExportCmd.32=Use RFC-1421 specifications when encoding the output. -ExportCmd.33=Output the certificate in binary DER encoding, which is the \ -default format. If -rfc is also present, this option is ignored. - -IdentityDBCmd.7=Usage: keytool -identitydb [OPTION]...\n\ -NOT IMPLEMENTED YET. Import a JDK 1.1 style Identity Database. -IdentityDBCmd.8=Please report bugs at http://www.gnu.org/software/classpath/bugs.html -IdentityDBCmd.9=Command options -IdentityDBCmd.10=Location of the Identity Database to import. If omitted, \ -STDIN is used. -IdentityDBCmd.11=FILE -IdentityDBCmd.12=Type of the key store to use. If omitted, the default value is \ -that of the property "keystore.type" in the security properties file. -IdentityDBCmd.13=STORE_TYPE -IdentityDBCmd.14=Location of the key store to use. The default value is a \ -file-based scheme whose path is the file named ".keystore" in your home \ -directory.\n\ -If URL is malformed, the tool will use URL as a file-name of a key store; \ -i.e. as if the protocol was "file:". -IdentityDBCmd.15=URL -IdentityDBCmd.16=Password to unlock the key store. If omitted, you will be \ -prompted for one. -IdentityDBCmd.17=PASSWORD -IdentityDBCmd.18=Fully qualified class name of a Security Provider to add to the \ -JVM in-use. -IdentityDBCmd.19=PROVIDER_CLASS_NAME -IdentityDBCmd.20=Emit more verbose messages. - -PrintCertCmd.5=Usage: keytool -printcert [OPTION]...\n\ -Read a certificate from FILE and print it to STDOUT in a human-readable form. -PrintCertCmd.6=Please report bugs at http://www.gnu.org/software/classpath/bugs.html -PrintCertCmd.7=Command options -PrintCertCmd.8=Location of the certificate to print. If omitted, STDIN is used. -PrintCertCmd.9=FILE -PrintCertCmd.10=Emit more verbose messages. - -SelfCertCmd.14=Usage: keytool -selfcert [OPTION]...\n\ -Generate a self-signed X.509 version 1 certificate.\n\n\ -The newly generated certificate will form a chain of one element which will \ -replace the previous chain associated with ALIAS. -SelfCertCmd.15=Please report bugs at http://www.gnu.org/software/classpath/bugs.html -SelfCertCmd.16=Command options -SelfCertCmd.17=Alias of the Key Entry to select. The value "mykey" (all lower \ -case, without the enclosing quotes) is used when this option is omitted. -SelfCertCmd.18=ALIAS -SelfCertCmd.19=Name of the digital signature algorithm to use for signing the \ -certificate. If omitted, a default value is chosen based on the type of the \ -private key associated with ALIAS. If the key is a "DSA" one, the value for \ -signature algorithm will be "SHA1withDSA". If on the other hand the key is \ -an "RSA" one, then "MD5withRSA" will be the signature algorithm. -SelfCertCmd.20=ALGORITHM -SelfCertCmd.21=The X.500 Distinguished Name of the Subject of the generated \ -certificate. If omitted the Distinguished Name of the base certificate in \ -the chain associated with ALIAS is used instead. -SelfCertCmd.22=NAME -SelfCertCmd.23=Password to unlock the Key Entry associated with ALIAS. If \ -omitted, the tool will attempt to unlock the Key Entry using the same password \ -protecting the key store. If this fails, you will be prompted for a password. -SelfCertCmd.24=PASSWORD -SelfCertCmd.25=Number of days the generated certificate is valid for. If \ -omitted, 90 is used. -SelfCertCmd.26=DAY_COUNT -SelfCertCmd.27=Type of the key store to use. If omitted, the default value is \ -that of the property "keystore.type" in the security properties file. -SelfCertCmd.28=STORE_TYPE -SelfCertCmd.29=Location of the key store to use. The default value is a \ -file-based scheme whose path is the file named ".keystore" in your home \ -directory.\n\ -If URL is malformed, the tool will use URL as a file-name of a key store; \ -i.e. as if the protocol was "file:". -SelfCertCmd.30=URL -SelfCertCmd.31=Password to unlock the key store. If omitted, you will be \ -prompted for one. -SelfCertCmd.32=PASSWORD -SelfCertCmd.33=Fully qualified class name of a Security Provider to add to the \ -JVM in-use. -SelfCertCmd.34=PROVIDER_CLASS_NAME -SelfCertCmd.35=Emit more verbose messages. - -CACertCmd.0=Alias [{0}] is already present in key store -CACertCmd.1=Certificate in file "{0}" was added to the key store under the alias "{1}" -CACertCmd.2=Usage: keytool -cacert [OPTION]...\n\ -Import a trusted CA certificate. -CACertCmd.3=Please report bugs at http://www.gnu.org/software/classpath/bugs.html -CACertCmd.4=Command options -CACertCmd.5=Location of the trusted CA certificate to import. -CACertCmd.6=FILE -CACertCmd.7=Type of the key store to use. If omitted, the default value is \ -that of the property "keystore.type" in the security properties file. -CACertCmd.8=STORE_TYPE -CACertCmd.9=Location of the key store to use. The default value is a \ -file-based scheme whose path is the file named ".keystore" in your home \ -directory.\n\ -If URL is malformed, the tool will use URL as a file-name of a key store; \ -i.e. as if the protocol was "file:". -CACertCmd.10=URL -CACertCmd.11=Password to unlock the key store. If omitted, you will be \ -prompted for one. -CACertCmd.12=PASSWORD -CACertCmd.13=Fully qualified class name of a Security Provider to add to the \ -JVM in-use. -CACertCmd.14=PROVIDER_CLASS_NAME -CACertCmd.15=Emit more verbose messages. diff --git a/resource/gnu/classpath/tools/native2ascii/messages.properties b/resource/gnu/classpath/tools/native2ascii/messages.properties deleted file mode 100644 index f04d184f2..000000000 --- a/resource/gnu/classpath/tools/native2ascii/messages.properties +++ /dev/null @@ -1,44 +0,0 @@ -# messages.properties -- English language messages -# Copyright (C) 2006, 2008 Free Software Foundation, Inc. -# -# This file is part of GNU Classpath. -# -# GNU Classpath is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# GNU Classpath is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with GNU Classpath; see the file COPYING. If not, write to the -# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -# 02110-1301 USA. -# -# Linking this library statically or dynamically with other modules is -# making a combined work based on this library. Thus, the terms and -# conditions of the GNU General Public License cover the whole -# combination. -# -# As a special exception, the copyright holders of this library give you -# permission to link this library with independent modules to produce an -# executable, regardless of the license terms of these independent -# modules, and to copy and distribute the resulting executable under -# terms of your choice, provided that you also meet, for each linked -# independent module, the terms and conditions of the license of that -# module. An independent module is a module which is not derived from -# or based on this library. If you modify this library, you may extend -# this exception to your version of the library, but you are not -# obligated to do so. If you do not wish to do so, delete this -# exception statement from your version. - -Native2ASCII.TooManyFiles=too many files specified -Native2ASCII.Usage=Usage: native2ascii [OPTIONS]... [INPUTFILE [OUTPUTFILE]] -Native2ASCII.EncodingHelp=encoding to use -Native2ASCII.EncodingArgName=NAME -Native2ASCII.EncodingSpecified=encoding already specified -Native2ASCII.ReverseHelp=convert from encoding to native - diff --git a/resource/gnu/classpath/tools/orbd/messages.properties b/resource/gnu/classpath/tools/orbd/messages.properties deleted file mode 100644 index b427d102b..000000000 --- a/resource/gnu/classpath/tools/orbd/messages.properties +++ /dev/null @@ -1,46 +0,0 @@ -# messages.properties -- English language messages -# Copyright (C) 2006 Free Software Foundation, Inc. -# -# This file is part of GNU Classpath. -# -# GNU Classpath is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# GNU Classpath is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with GNU Classpath; see the file COPYING. If not, write to the -# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -# 02110-1301 USA. -# -# Linking this library statically or dynamically with other modules is -# making a combined work based on this library. Thus, the terms and -# conditions of the GNU General Public License cover the whole -# combination. -# -# As a special exception, the copyright holders of this library give you -# permission to link this library with independent modules to produce an -# executable, regardless of the license terms of these independent -# modules, and to copy and distribute the resulting executable under -# terms of your choice, provided that you also meet, for each linked -# independent module, the terms and conditions of the license of that -# module. An independent module is a module which is not derived from -# or based on this library. If you modify this library, you may extend -# this exception to your version of the library, but you are not -# obligated to do so. If you do not wish to do so, delete this -# exception statement from your version. - -Main.Usage=Usage: orbd [OPTIONS] -Main.ORBInitialPort=port on which persistent naming service is to be started -Main.Port=PORT -Main.IOR=file in which to store persistent naming service's IOR reference -Main.IORFile=FILE -Main.Restart=restart persistent naming service, clearing persistent naming database -Main.Directory=directory in which to store persistent data -Main.DirectoryArgument=DIRECTORY -Main.InternalError=orbd: internal error: diff --git a/resource/gnu/classpath/tools/rmic/messages.properties b/resource/gnu/classpath/tools/rmic/messages.properties deleted file mode 100644 index 7be7cb0c7..000000000 --- a/resource/gnu/classpath/tools/rmic/messages.properties +++ /dev/null @@ -1,61 +0,0 @@ -# messages.properties -- English language messages -# Copyright (C) 2006 Free Software Foundation, Inc. -# -# This file is part of GNU Classpath. -# -# GNU Classpath is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# GNU Classpath is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with GNU Classpath; see the file COPYING. If not, write to the -# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -# 02110-1301 USA. -# -# Linking this library statically or dynamically with other modules is -# making a combined work based on this library. Thus, the terms and -# conditions of the GNU General Public License cover the whole -# combination. -# -# As a special exception, the copyright holders of this library give you -# permission to link this library with independent modules to produce an -# executable, regardless of the license terms of these independent -# modules, and to copy and distribute the resulting executable under -# terms of your choice, provided that you also meet, for each linked -# independent module, the terms and conditions of the license of that -# module. An independent module is a module which is not derived from -# or based on this library. If you modify this library, you may extend -# this exception to your version of the library, but you are not -# obligated to do so. If you do not wish to do so, delete this -# exception statement from your version. - -Main.Usage:rmic [OPTIONS] CLASSNAME... -Main.NoWarn:show no warnings -Main.NoWrite:check for errors and do not write any files -Main.Verbose:show verbose output -Main.DirOpt:write generated files to given directory -Main.DirArg:DIRECTORY -Main.ClasspathOpt:where to find input classes -Main.ClasspathArg:PATH -Main.BootclasspathOpt:where to find classes used to run rmic (ignored) -Main.BootclasspathArg:PATH -Main.ExtdirsOpt:where to find extension classes used to run rmic (ignored) -Main.ExtdirsArg:PATH -Main.IIOP:generate stubs and ties for IIOP -Main.Always:always overwrite generated files (ignored) -Main.AlwaysGenerate:same as -always -Main.NoLocalStubs:do not create same-process stubs (ignored) -Main.POA:generate servant-based ties -Main.Keep:keep generated stub, skeleton and tie sources -Main.KeepGenerated:same as -keep -Main.v11:generate JDK 1.1 protocol stubs and skeletons -Main.v12:generate JDK 1.2 JRMP stubs (default) -Main.vcompat:generate JDK 1.1 protocol and JDK 1.2 JRMP stubs -Main.DebugInfo:include debugging information in generated classes -Main.InternalError:rmic: internal error: diff --git a/resource/gnu/classpath/tools/rmid/messages.properties b/resource/gnu/classpath/tools/rmid/messages.properties deleted file mode 100644 index 234cea12a..000000000 --- a/resource/gnu/classpath/tools/rmid/messages.properties +++ /dev/null @@ -1,50 +0,0 @@ -# messages.properties -- English language messages -# Copyright (C) 2006 Free Software Foundation, Inc. -# -# This file is part of GNU Classpath. -# -# GNU Classpath is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# GNU Classpath is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with GNU Classpath; see the file COPYING. If not, write to the -# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -# 02110-1301 USA. -# -# Linking this library statically or dynamically with other modules is -# making a combined work based on this library. Thus, the terms and -# conditions of the GNU General Public License cover the whole -# combination. -# -# As a special exception, the copyright holders of this library give you -# permission to link this library with independent modules to produce an -# executable, regardless of the license terms of these independent -# modules, and to copy and distribute the resulting executable under -# terms of your choice, provided that you also meet, for each linked -# independent module, the terms and conditions of the license of that -# module. An independent module is a module which is not derived from -# or based on this library. If you modify this library, you may extend -# this exception to your version of the library, but you are not -# obligated to do so. If you do not wish to do so, delete this -# exception statement from your version. - -Main.Usage=Usage: rmid [OPTIONS] -Main.ControlGroup=Activation process control -Main.PortOption=port on which activation system is to be started -Main.Port=PORT -Main.Restart=restart activation system, clearing persistent naming database, if any -Main.Stop=stop activation system -Main.PersistenceGroup=Persistence -Main.Persistent=make activation system persistent -Main.Directory=directory in which to store persistent data -Main.DirectoryArgument=DIRECTORY -Main.DebugGroup=Debugging -Main.Verbose=log binding events to standard out -Main.InternalError=rmid: internal error: diff --git a/resource/gnu/classpath/tools/rmiregistry/messages.properties b/resource/gnu/classpath/tools/rmiregistry/messages.properties deleted file mode 100644 index 46f7cfdb7..000000000 --- a/resource/gnu/classpath/tools/rmiregistry/messages.properties +++ /dev/null @@ -1,48 +0,0 @@ -# messages.properties -- English language messages -# Copyright (C) 2006 Free Software Foundation, Inc. -# -# This file is part of GNU Classpath. -# -# GNU Classpath is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# GNU Classpath is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with GNU Classpath; see the file COPYING. If not, write to the -# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -# 02110-1301 USA. -# -# Linking this library statically or dynamically with other modules is -# making a combined work based on this library. Thus, the terms and -# conditions of the GNU General Public License cover the whole -# combination. -# -# As a special exception, the copyright holders of this library give you -# permission to link this library with independent modules to produce an -# executable, regardless of the license terms of these independent -# modules, and to copy and distribute the resulting executable under -# terms of your choice, provided that you also meet, for each linked -# independent module, the terms and conditions of the license of that -# module. An independent module is a module which is not derived from -# or based on this library. If you modify this library, you may extend -# this exception to your version of the library, but you are not -# obligated to do so. If you do not wish to do so, delete this -# exception statement from your version. - -Main.Usage=Usage: rmiregistry [OPTIONS] [PORT] -Main.ControlGroup=Registry process control -Main.Restart=restart RMI naming service, clearing persistent naming database, if any -Main.Stop=stop RMI naming service -Main.PersistenceGroup=Persistence -Main.Persistent=make RMI naming service persistent -Main.Directory=directory in which to store persistent data -Main.DirectoryArgument=DIRECTORY -Main.DebugGroup=Debugging -Main.Verbose=log binding events to standard out -Main.InternalError=rmiregistry: internal error: diff --git a/resource/gnu/classpath/tools/serialver/messages.properties b/resource/gnu/classpath/tools/serialver/messages.properties deleted file mode 100644 index 8900795d4..000000000 --- a/resource/gnu/classpath/tools/serialver/messages.properties +++ /dev/null @@ -1,44 +0,0 @@ -# messages.properties -- English language messages -# Copyright (C) 2006 Free Software Foundation, Inc. -# -# This file is part of GNU Classpath. -# -# GNU Classpath is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# GNU Classpath is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with GNU Classpath; see the file COPYING. If not, write to the -# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -# 02110-1301 USA. -# -# Linking this library statically or dynamically with other modules is -# making a combined work based on this library. Thus, the terms and -# conditions of the GNU General Public License cover the whole -# combination. -# -# As a special exception, the copyright holders of this library give you -# permission to link this library with independent modules to produce an -# executable, regardless of the license terms of these independent -# modules, and to copy and distribute the resulting executable under -# terms of your choice, provided that you also meet, for each linked -# independent module, the terms and conditions of the license of that -# module. An independent module is a module which is not derived from -# or based on this library. If you modify this library, you may extend -# this exception to your version of the library, but you are not -# obligated to do so. If you do not wish to do so, delete this -# exception statement from your version. - -SerialVer.NoClassesSpecd=no classes specified -SerialVer.HelpHeader=serialver [OPTIONS]... CLASS...\n\nPrint the serialVersionUID of the specified classes -SerialVer.5=classpath -SerialVer.ClasspathHelp=class path to use to find classes -SerialVer.ClassNotSerial=serialver: class {0} is not serializable -SerialVer.ClassNotFound=serialver: class {0} not found -SerialVer.DupClasspath=classpath already specified diff --git a/resource/gnu/classpath/tools/tnameserv/messages.properties b/resource/gnu/classpath/tools/tnameserv/messages.properties deleted file mode 100644 index 3861e24ba..000000000 --- a/resource/gnu/classpath/tools/tnameserv/messages.properties +++ /dev/null @@ -1,43 +0,0 @@ -# messages.properties -- English language messages -# Copyright (C) 2006 Free Software Foundation, Inc. -# -# This file is part of GNU Classpath. -# -# GNU Classpath is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# GNU Classpath is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with GNU Classpath; see the file COPYING. If not, write to the -# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -# 02110-1301 USA. -# -# Linking this library statically or dynamically with other modules is -# making a combined work based on this library. Thus, the terms and -# conditions of the GNU General Public License cover the whole -# combination. -# -# As a special exception, the copyright holders of this library give you -# permission to link this library with independent modules to produce an -# executable, regardless of the license terms of these independent -# modules, and to copy and distribute the resulting executable under -# terms of your choice, provided that you also meet, for each linked -# independent module, the terms and conditions of the license of that -# module. An independent module is a module which is not derived from -# or based on this library. If you modify this library, you may extend -# this exception to your version of the library, but you are not -# obligated to do so. If you do not wish to do so, delete this -# exception statement from your version. - -Main.Usage=Usage: tnameserv [OPTIONS] -Main.ORBInitialPort=port on which naming service is to be started -Main.Port=PORT -Main.IOR=file in which to store naming service's IOR reference -Main.IORFile=FILE -Main.InternalError=tnameserv: internal error: diff --git a/resource/sun/rmi/rmic/messages.properties b/resource/sun/rmi/rmic/messages.properties deleted file mode 100644 index 4c897fd5e..000000000 --- a/resource/sun/rmi/rmic/messages.properties +++ /dev/null @@ -1,38 +0,0 @@ -# messages.properties -- English language messages -# Copyright (C) 2007 Free Software Foundation, Inc. -# -# This file is part of GNU Classpath. -# -# GNU Classpath is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# GNU Classpath is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with GNU Classpath; see the file COPYING. If not, write to the -# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -# 02110-1301 USA. -# -# Linking this library statically or dynamically with other modules is -# making a combined work based on this library. Thus, the terms and -# conditions of the GNU General Public License cover the whole -# combination. -# -# As a special exception, the copyright holders of this library give you -# permission to link this library with independent modules to produce an -# executable, regardless of the license terms of these independent -# modules, and to copy and distribute the resulting executable under -# terms of your choice, provided that you also meet, for each linked -# independent module, the terms and conditions of the license of that -# module. An independent module is a module which is not derived from -# or based on this library. If you modify this library, you may extend -# this exception to your version of the library, but you are not -# obligated to do so. If you do not wish to do so, delete this -# exception statement from your version. - -Main.InternalError:sun.rmi.rmic: failed to run rmic main method diff --git a/tools/Makefile.am b/tools/Makefile.am index d6724ef60..6dd92abd3 100755 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -115,7 +115,7 @@ TOOLS_ZIP = tools.zip BUILT_SOURCES = $(TOOLS_ZIP) # RMIC templates that must be included in the generated zip file. -RMIC_TEMPLATES = $(srcdir)/gnu/classpath/tools/rmic/templates/*.jav +RMIC_TEMPLATES = $(srcdir)/resource/gnu/classpath/tools/rmic/templates/*.jav # All the files we find "interesting" ALL_TOOLS_FILES = $(TOOLS_JAVA_FILES) $(RMIC_TEMPLATES) @@ -161,14 +161,13 @@ $(TOOLS_ZIP): $(TOOLS_JAVA_FILES) $(JCOMPILER) -g -d classes @classes.lst cat classes.lst asm.lst > all-classes.lst ## Copy over tools resource files. - @list=`cd $(top_srcdir)/resource && find gnu/classpath/tools \ - com/sun/javadoc com/sun/tools/doclets com/sun/tools/javac \ - sun/rmi/rmic -name \*.properties -print`; \ + @list=`cd $(srcdir)/resource && find gnu/classpath/tools com/sun/tools/javac \ + sun/rmi/rmic -name \*.properties -print -o -name \*.jav -print`; \ for p in $$list; do \ dirname=classes/`dirname $$p`; \ if ! test -d "$$dirname"; then mkdir -p "$$dirname"; fi; \ - echo " cp $(top_srcdir)/resource/$$p classes/$$p"; \ - cp $(top_srcdir)/resource/$$p classes/$$p; \ + echo " cp $(srcdir)resource/$$p classes/$$p"; \ + cp $(srcdir)/resource/$$p classes/$$p; \ done ## First add classpath tools stuff. (cd classes; \ diff --git a/tools/gnu/classpath/tools/rmic/templates/ImplTie.jav b/tools/gnu/classpath/tools/rmic/templates/ImplTie.jav deleted file mode 100644 index aff606b90..000000000 --- a/tools/gnu/classpath/tools/rmic/templates/ImplTie.jav +++ /dev/null @@ -1,152 +0,0 @@ -package #package; - -#imports -import java.rmi.Remote; -import javax.rmi.PortableRemoteObject; -import javax.rmi.CORBA.Tie; - -import org.omg.CORBA.BAD_OPERATION; -import org.omg.CORBA.ORB; -import org.omg.CORBA.SystemException; -import org.omg.CORBA.portable.OutputStream; -import org.omg.CORBA.portable.ResponseHandler; -import org.omg.CORBA.portable.UnknownException; -import org.omg.PortableServer.Servant; - -import org.omg.CORBA_2_3.portable.ObjectImpl; -import org.omg.CORBA_2_3.portable.InputStream; - -// This Tie type is obsolete. Use the POA - based tie (key -poa). - -/** - * This class accepts remote calls to the served GIOP object and delegates them - * to the enclosed implementing class. Being derived from the ObjectImpl, - * it directly implements the GIOP Object. - * - * It is normally generated with grmic -impl - */ -public class _#nameImpl_Tie extends ObjectImpl implements Tie -{ - /** - * All decoded remote calls are forwarded to this target. - */ - #implName target; - - /** - * The array of repository ids, supported by this GIOP Object - */ - private static final String[] type_ids = - { -#idList - }; - - /** - * Get an array of all interfaces (repository ids), - * supported by this Object. - * - * @return the array of Ids. - */ - public String[] _ids() - { - return type_ids; - } - - /** - * Set the invocation target, where all received calls are finally - * forwarded. - * - * @param a_target the forwarding target - * - * @throws ClassCastException if the target is not an instance of - * #implName - */ - public void setTarget(Remote a_target) - { - this.target = (#implName) a_target; - } - - /** - * Get the invocation target, where all received calls are finally - * forwarded. - * - * @return the target, an instance of - * #implName - */ - public Remote getTarget() - { - return target; - } - - /** - * Return the actual GIOP object that would handle this request. - * - * @return this, always. - */ - public org.omg.CORBA.Object thisObject() - { - return this; - } - - /** - * Deactivates this object, disconnecting it from the orb. - */ - public void deactivate() - { - _orb().disconnect(this); - _set_delegate(null); - target = null; - } - - /** - * Get the {@link ORB} where this {@link Servant} is connected. - * - * @return the ORB - */ - public ORB orb() - { - return _orb(); - } - - /** - * Connect this servant to the given ORB. - */ - public void orb(ORB orb) - { - orb.connect(this); - } - -/** - * This method is invoked by ORB in response to the remote call. It redirects - * the call to one of the methods in the target. - * - * @param method the name of the method to call. - * @param parameter_stream the input stream, from where the parameters must be - * read. - * @param reply the response hander, providing methods to return the result. - * - * @return the output stream, created by the response handler - * - * @throws SystemException if one occurs during method invocation. - */ - public OutputStream _invoke(String method, - org.omg.CORBA.portable.InputStream parameter_stream, - ResponseHandler reply) - { - try - { - InputStream in =(InputStream) parameter_stream; - -#tie_methods - - throw new BAD_OPERATION("No such method: '"+method+"'"); - } - catch (SystemException ex) - { - throw ex; - } - catch (Throwable ex) - { - throw new UnknownException(ex); - } - } -} \ No newline at end of file diff --git a/tools/gnu/classpath/tools/rmic/templates/Stub.jav b/tools/gnu/classpath/tools/rmic/templates/Stub.jav deleted file mode 100644 index 371e12d44..000000000 --- a/tools/gnu/classpath/tools/rmic/templates/Stub.jav +++ /dev/null @@ -1,47 +0,0 @@ -package #package; - -#imports -import java.rmi.UnexpectedException; - -import javax.rmi.CORBA.Stub; -import javax.rmi.CORBA.Util; - -import org.omg.CORBA.SystemException; -import org.omg.CORBA.portable.ApplicationException; -import org.omg.CORBA.portable.InputStream; -import org.omg.CORBA.portable.RemarshalException; - -import org.omg.CORBA_2_3.portable.OutputStream; - -/** - * This class delegates its method calls to the remote GIOP object. - * It is normally generated with grmic. - */ -public class _#name_Stub extends Stub - implements #interfaces -{ - /** - * Use serialVersionUID for interoperability. - */ - private static final long serialVersionUID = 1; - - /** - * The array of repository ids, supported by this GIOP Object - */ - private static final String[] type_ids = - { -#idList - }; - - /** - * Return the array of repository ids, supported by this GIOP Object. - * - * @return the array of Ids. - */ - public String[] _ids() - { - return type_ids; - } - -#stub_methods -} \ No newline at end of file diff --git a/tools/gnu/classpath/tools/rmic/templates/StubMethod.jav b/tools/gnu/classpath/tools/rmic/templates/StubMethod.jav deleted file mode 100644 index 17636deb6..000000000 --- a/tools/gnu/classpath/tools/rmic/templates/StubMethod.jav +++ /dev/null @@ -1,33 +0,0 @@ - /** @inheritDoc */ - public #return_type #method_name(#argument_list) #throws - { - try - { - InputStream in = null; - try - { - OutputStream out = - (OutputStream) _request("#giop_method_name", true); -#argument_write - in = _invoke(out); - #read_return - } - catch (ApplicationException ex) - { - in = ex.getInputStream(); - throw new UnexpectedException(in.read_string()); - } - catch (RemarshalException ex) - { - return #method_name(#argument_names); - } - finally - { - _releaseReply(in); - } - } - catch (SystemException ex) - { - throw Util.mapSystemException(ex); - } - } diff --git a/tools/gnu/classpath/tools/rmic/templates/StubMethodVoid.jav b/tools/gnu/classpath/tools/rmic/templates/StubMethodVoid.jav deleted file mode 100644 index 0125a02b0..000000000 --- a/tools/gnu/classpath/tools/rmic/templates/StubMethodVoid.jav +++ /dev/null @@ -1,32 +0,0 @@ - /** @inheritDoc */ - public #return_type #method_name(#argument_list) #throws - { - try - { - InputStream in = null; - try - { - OutputStream out = - (OutputStream) _request("#giop_method_name", true); -#argument_write - in = _invoke(out); - } - catch (ApplicationException ex) - { - in = ex.getInputStream(); - throw new UnexpectedException(in.read_string()); - } - catch (RemarshalException ex) - { - #method_name(#argument_names); - } - finally - { - _releaseReply(in); - } - } - catch (SystemException ex) - { - throw Util.mapSystemException(ex); - } - } diff --git a/tools/gnu/classpath/tools/rmic/templates/Stub_12.jav b/tools/gnu/classpath/tools/rmic/templates/Stub_12.jav deleted file mode 100644 index 1c55a0597..000000000 --- a/tools/gnu/classpath/tools/rmic/templates/Stub_12.jav +++ /dev/null @@ -1,62 +0,0 @@ -package #package; - -#imports -import java.lang.reflect.Method; -import java.rmi.server.RemoteRef; -import java.rmi.server.RemoteStub; -import java.rmi.UnexpectedException; - -/** - * This class delegates its method calls to the remote RMI object, referenced - * by {@link RemoteRef}. - * - * It is normally generated with rmic. - */ -public final class #name_Stub - extends RemoteStub - implements #interfaces -{ - /** - * Use serialVersionUID for interoperability - */ - private static final long serialVersionUID = 2; - - /** - * The explaining message for {@ling UnexpectedException}. - */ - private static final String exception_message = - "undeclared checked exception"; - - /* All remote methods, invoked by this stub: */ -#stub_method_declarations - #zeroSizeObjecArray - static - { - #zeroSizeClassArray - try - { -#stub_method_initializations - } - catch (NoSuchMethodException nex) - { - NoSuchMethodError err = new NoSuchMethodError( - "#name_Stub class initialization failed"); - err.initCause(nex); - throw err; - } - } - - /** - * Create the instance for _#name_Stub that forwards method calls to the - * remote object. - * - * @para the reference to the remote object. - */ - public #name_Stub(RemoteRef reference) - { - super(reference); - } - - /* Methods */ -#stub_methods -} diff --git a/tools/gnu/classpath/tools/rmic/templates/Stub_12Method.jav b/tools/gnu/classpath/tools/rmic/templates/Stub_12Method.jav deleted file mode 100644 index 9aaf8f5ad..000000000 --- a/tools/gnu/classpath/tools/rmic/templates/Stub_12Method.jav +++ /dev/null @@ -1,26 +0,0 @@ - /** @inheritDoc */ - public #return_type #method_name(#argument_list) #throws - { - try - { - Object result = ref.invoke(this, met_#method_name, - #object_arg_list, - #method_hash); - #return_statement - } - catch (RuntimeException e) - { - throw e; - } - catch (RemoteException e) - { - throw e; - } - catch (Exception e) - { - UnexpectedException uex = new UnexpectedException(exception_message); - uex.detail = e; - throw uex; - } - } - \ No newline at end of file diff --git a/tools/gnu/classpath/tools/rmic/templates/Stub_12MethodVoid.jav b/tools/gnu/classpath/tools/rmic/templates/Stub_12MethodVoid.jav deleted file mode 100644 index 860a93c84..000000000 --- a/tools/gnu/classpath/tools/rmic/templates/Stub_12MethodVoid.jav +++ /dev/null @@ -1,25 +0,0 @@ - /** @inheritDoc */ - public void #method_name(#argument_list) #throws - { - try - { - ref.invoke(this, met_#method_name, - #object_arg_list, - #method_hash); - } - catch (RuntimeException e) - { - throw e; - } - catch (RemoteException e) - { - throw e; - } - catch (Exception e) - { - UnexpectedException uex = new UnexpectedException(exception_message); - uex.detail = e; - throw uex; - } - } - \ No newline at end of file diff --git a/tools/gnu/classpath/tools/rmic/templates/Tie.jav b/tools/gnu/classpath/tools/rmic/templates/Tie.jav deleted file mode 100644 index 797ae1401..000000000 --- a/tools/gnu/classpath/tools/rmic/templates/Tie.jav +++ /dev/null @@ -1,184 +0,0 @@ -package #package; - -#imports -import java.rmi.Remote; -import javax.rmi.PortableRemoteObject; -import javax.rmi.CORBA.Tie; - -import org.omg.CORBA.BAD_OPERATION; -import org.omg.CORBA.ORB; -import org.omg.CORBA.SystemException; -import org.omg.CORBA.portable.OutputStream; -import org.omg.CORBA.portable.ResponseHandler; -import org.omg.CORBA.portable.UnknownException; -import org.omg.PortableServer.Servant; -import org.omg.PortableServer.POA; -import org.omg.PortableServer.POAPackage.WrongPolicy; -import org.omg.PortableServer.POAPackage.ObjectNotActive; -import org.omg.PortableServer.POAPackage.ServantNotActive; - -import org.omg.CORBA_2_3.portable.InputStream; - -/** - * This class accepts remote calls to the served GIOP object and delegates them - * to the enclosed implementing class. Being servant, it must be connected to - * the ORB Poa. - * It is normally generated with grmic -poa - */ -public class _#nameImpl_Tie extends Servant implements Tie -{ - /** - * All decoded remote calls are forwarded to this target. - */ - #implName target; - - /** - * The array of repository ids, supported by this GIOP Object - */ - private static final String[] type_ids = - { -#idList - }; - - /** - * Get an array of all interfaces, supported by this - * {@link Servant}. - * - * @param poa unused - * @param objectId unused - * - * @return the array of Ids. - */ - public String[] _all_interfaces(POA poa, - byte[] objectId - ) - { - return type_ids; - } - - - /** - * Set the invocation target, where all received calls are finally - * forwarded. - * - * @param a_target the forwarding target - * - * @throws ClassCastException if the target is not an instance of - * #implName - */ - public void setTarget(Remote a_target) - { - this.target = (#implName) a_target; - } - - /** - * Get the invocation target, where all received calls are finally - * forwarded. - * - * @return the target, an instance of - * #implName - */ - public Remote getTarget() - { - return target; - } - - /** - * Return the actual GIOP object that would handle this request. - * - * @return the GIOP object. - */ - public org.omg.CORBA.Object thisObject() - { - return _this_object(); - } - - /** - * Deactivate this {@link Servant}. The WrongPolicy, ObjectNotActive - * and ServantNotActive exceptions, if thrown during deactivation, are - * catched and silently ignored. - */ - public void deactivate() - { - try - { - _poa().deactivate_object(_poa().servant_to_id(this)); - } - catch (WrongPolicy exception) - { - } - catch (ObjectNotActive exception) - { - } - catch (ServantNotActive exception) - { - } - } - - /** - * Get the {@link ORB} where this {@link Servant} is connected. - * - * @return the ORB - */ - public ORB orb() - { - return _orb(); - } - - /** - * Connect this servant to the given ORB. It is recommended to connect - * servant to the ORBs root or other POA rather than using this method. - */ - public void orb(ORB orb) - { - try - { - ((org.omg.CORBA_2_3.ORB) orb).set_delegate(this); - } - catch (ClassCastException e) - { - throw new org.omg.CORBA.BAD_PARAM( - "POA Servant requires an instance of org.omg.CORBA_2_3.ORB" - ); - } - } - -/** - * This method is invoked by ORB in response to the remote call. It redirects - * the call to one of the methods in the target. - * - * @param method the name of the method to call. - * @param parameter_stream the input stream, from where the parameters must be - * read. - * @param reply the response hander, providing methods to return the result. - * - * @return the output stream, created by the response handler - * - * @throws SystemException if one occurs during method invocation. - */ - public OutputStream _invoke(String method, - org.omg.CORBA.portable.InputStream parameter_stream, - ResponseHandler reply - ) throws SystemException - { - try - { - InputStream in =(InputStream) parameter_stream; - switch (method.charAt(#hashCharPos)) - { -#tie_methods - default: break; - } - - throw new BAD_OPERATION("No such method: '"+method+"'"); - } - catch (SystemException ex) - { - throw ex; - } - catch (Throwable ex) - { - throw new UnknownException(ex); - } - } -} \ No newline at end of file diff --git a/tools/gnu/classpath/tools/rmic/templates/TieMethod.jav b/tools/gnu/classpath/tools/rmic/templates/TieMethod.jav deleted file mode 100644 index 493f0009b..000000000 --- a/tools/gnu/classpath/tools/rmic/templates/TieMethod.jav +++ /dev/null @@ -1,11 +0,0 @@ - #hashCodeLabel - // #method_name - if (method.equals("#giop_method_name")) - { -#read_and_define_args - OutputStream out = reply.createReply(); - #return_type result = - target.#method_name(#argument_names); - #write_result - return out; - } diff --git a/tools/gnu/classpath/tools/rmic/templates/TieMethodVoid.jav b/tools/gnu/classpath/tools/rmic/templates/TieMethodVoid.jav deleted file mode 100644 index 3db17da7c..000000000 --- a/tools/gnu/classpath/tools/rmic/templates/TieMethodVoid.jav +++ /dev/null @@ -1,9 +0,0 @@ - #hashCodeLabel - // #method_name - if (method.equals("#giop_method_name")) - { -#read_and_define_args - OutputStream out = reply.createReply(); - target.#method_name(#argument_names); - return out; - } diff --git a/tools/resource/com/sun/tools/javac/messages.properties b/tools/resource/com/sun/tools/javac/messages.properties new file mode 100644 index 000000000..995e871d9 --- /dev/null +++ b/tools/resource/com/sun/tools/javac/messages.properties @@ -0,0 +1,42 @@ +# messages.properties -- English language messages +# Copyright (C) 2007 Free Software Foundation, Inc. +# +# This file is part of GNU Classpath. +# +# GNU Classpath is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# GNU Classpath is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Classpath; see the file COPYING. If not, write to the +# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301 USA. +# +# Linking this library statically or dynamically with other modules is +# making a combined work based on this library. Thus, the terms and +# conditions of the GNU General Public License cover the whole +# combination. +# +# As a special exception, the copyright holders of this library give you +# permission to link this library with independent modules to produce an +# executable, regardless of the license terms of these independent +# modules, and to copy and distribute the resulting executable under +# terms of your choice, provided that you also meet, for each linked +# independent module, the terms and conditions of the license of that +# module. An independent module is a module which is not derived from +# or based on this library. If you modify this library, you may extend +# this exception to your version of the library, but you are not +# obligated to do so. If you do not wish to do so, delete this +# exception statement from your version. + +Main.FailedToRead:failed to read ecj.jar (reconfigure with --with-ecj-jar): {0} +Main.MalformedURL:malformed URL for ecj.jar: {0} +Main.FailedToLoad:failed to load {0} from ecj.jar: {1} +Main.FailedConstructor:failed to find ecj constructor +Main.FailedCompile:failed to find ecj compile method diff --git a/tools/resource/gnu/classpath/tools/appletviewer/messages.properties b/tools/resource/gnu/classpath/tools/appletviewer/messages.properties new file mode 100644 index 000000000..c826afa21 --- /dev/null +++ b/tools/resource/gnu/classpath/tools/appletviewer/messages.properties @@ -0,0 +1,102 @@ +# messages.properties -- English language messages +# Copyright (C) 2004, 2006 Free Software Foundation, Inc. +# +# This file is part of GNU Classpath. +# +# GNU Classpath is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# GNU Classpath is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Classpath; see the file COPYING. If not, write to the +# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301 USA. +# +# Linking this library statically or dynamically with other modules is +# making a combined work based on this library. Thus, the terms and +# conditions of the GNU General Public License cover the whole +# combination. +# +# As a special exception, the copyright holders of this library give you +# permission to link this library with independent modules to produce an +# executable, regardless of the license terms of these independent +# modules, and to copy and distribute the resulting executable under +# terms of your choice, provided that you also meet, for each linked +# independent module, the terms and conditions of the license of that +# module. An independent module is a module which is not derived from +# or based on this library. If you modify this library, you may extend +# this exception to your version of the library, but you are not +# obligated to do so. If you do not wish to do so, delete this +# exception statement from your version. + +Main.ErrorApplet=An error occurred while loading this applet. +Main.Usage=Usage: appletviewer [OPTION] -code CODE | URL... +Main.AppletTagOptions=Applet tag options +Main.CodeDescription=specify the code attribute +Main.CodeArgument=CODE +Main.CodebaseDescription=specify the codebase attribute +Main.CodebaseArgument=CODEBASE +Main.ArchiveDescription=specify the archive attribute +Main.ArchiveArgument=ARCHIVE +Main.WidthDescription=specify the width attribute +Main.WidthArgument=WIDTH +Main.HeightDescription=specify the height attribute +Main.HeightArgument=HEIGHT +Main.ParamDescription=specify the parameter arguments +Main.ParamArgument=NAME,VALUE +Main.PluginOption=Plugin option +Main.PluginDescription=enable plugin mode +Main.PluginArgument=INPUT,OUTPUT +Main.DebuggingOption=Debugging option +Main.VerboseDescription=enable verbose mode +Main.CompatibilityOptions=Compatibility options +Main.DebugDescription=enable debugging mode (not implemented) +Main.EncodingDescription=specify the HTML character encoding +Main.EncodingArgument=CHARSET +Main.SecurityWarning=WARNING: CURRENTLY GAPPLETVIEWER RUNS WITH NO\ + SECURITY MANAGER.\n\ +THIS MEANS THAT APPLETS YOU LOAD CAN DO ANYTHING A JAVA APPLICATION\n\ +THAT YOU DOWNLOAD AND RUN CAN DO. BE *VERY* CAREFUL WHICH APPLETS YOU RUN.\n\ +DO NOT USE GAPPLETVIEWER ON YOUR SYSTEM IF YOUR SYSTEM STORES IMPORTANT\ + DATA.\n\ +THIS DATA CAN BE DESTROYED OR STOLEN IF YOU LOAD A MALICIOUS APPLET. +Main.ContinuationPrompt=[press 'c' or 'C' to continue or anything else to quit] +Main.NoInputFiles=appletviewer: no input files +Main.RawArguments=Raw arguments: + +PluginAppletViewer.AppletViewerWrote=PIPE: applet viewer wrote: +PluginAppletViewer.AppletViewerRead=PIPE: applet viewer read: +PluginAppletViewer.AppletViewerExiting=appletviewer: exiting plugin applet\ + viewer + +StandaloneAppletContext.ShowDocumentError=showDocument is not implemented in\ + standalone mode + +StandaloneAppletViewer.ParsedAppletTags=Parsed applet tags: +StandaloneAppletViewer.Tag=tag +StandaloneAppletViewer.CodeOptionError=appletviewer: option '--code' requires\ + a class filename + +StandaloneAppletWindow.MenuTitle=Applet +StandaloneAppletWindow.MenuReload=Reload +StandaloneAppletWindow.MenuRestart=Restart +StandaloneAppletWindow.MenuStart=Start +StandaloneAppletWindow.MenuStop=Stop +StandaloneAppletWindow.MenuClone=Clone ... +StandaloneAppletWindow.MenuQuit=Quit +StandaloneAppletWindow.MenuClose=Close +StandaloneAppletWindow.MenuTag=Tag ... +StandaloneAppletWindow.MenuInfo=Info ... +StandaloneAppletWindow.MenuEdit=Edit +StandaloneAppletWindow.MenuEncoding=Character Encoding +StandaloneAppletWindow.MenuPrint=Print ... +StandaloneAppletWindow.MenuProperties=Properties ... +StandaloneAppletWindow.MenuCancel=Cancel +StandaloneAppletWindow.MenuSave=Save ... +StandaloneAppletWindow.WindowTitle=GNU Classpath Applet Viewer: diff --git a/tools/resource/gnu/classpath/tools/common/Messages.properties b/tools/resource/gnu/classpath/tools/common/Messages.properties new file mode 100644 index 000000000..989fde74e --- /dev/null +++ b/tools/resource/gnu/classpath/tools/common/Messages.properties @@ -0,0 +1,40 @@ +# MessagesBundle.properties -- English language messages +# Copyright (C) 2006 Free Software Foundation, Inc. +# +# This file is part of GNU Classpath. +# +# GNU Classpath is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# GNU Classpath is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Classpath; see the file COPYING. If not, write to the +# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301 USA. +# +# Linking this library statically or dynamically with other modules is +# making a combined work based on this library. Thus, the terms and +# conditions of the GNU General Public License cover the whole +# combination. +# +# As a special exception, the copyright holders of this library give you +# permission to link this library with independent modules to produce an +# executable, regardless of the license terms of these independent +# modules, and to copy and distribute the resulting executable under +# terms of your choice, provided that you also meet, for each linked +# independent module, the terms and conditions of the license of that +# module. An independent module is a module which is not derived from +# or based on this library. If you modify this library, you may extend +# this exception to your version of the library, but you are not +# obligated to do so. If you do not wish to do so, delete this +# exception statement from your version. + +ClasspathToolParser.JArgument=pass argument to the Java runtime +ClasspathToolParser.JName=OPTION +ClasspathToolParser.VersionFormat={0} (GNU Classpath) {1}\n\nCopyright 2006 Free Software Foundation, Inc.\nThis is free software; see the source for copying conditions. There is NO\nwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. diff --git a/tools/resource/gnu/classpath/tools/getopt/Messages.properties b/tools/resource/gnu/classpath/tools/getopt/Messages.properties new file mode 100644 index 000000000..a747ab4b4 --- /dev/null +++ b/tools/resource/gnu/classpath/tools/getopt/Messages.properties @@ -0,0 +1,46 @@ +# MessagesBundle.properties -- English language messages +# Copyright (C) 2006 Free Software Foundation, Inc. +# +# This file is part of GNU Classpath. +# +# GNU Classpath is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# GNU Classpath is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Classpath; see the file COPYING. If not, write to the +# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301 USA. +# +# Linking this library statically or dynamically with other modules is +# making a combined work based on this library. Thus, the terms and +# conditions of the GNU General Public License cover the whole +# combination. +# +# As a special exception, the copyright holders of this library give you +# permission to link this library with independent modules to produce an +# executable, regardless of the license terms of these independent +# modules, and to copy and distribute the resulting executable under +# terms of your choice, provided that you also meet, for each linked +# independent module, the terms and conditions of the license of that +# module. An independent module is a module which is not derived from +# or based on this library. If you modify this library, you may extend +# this exception to your version of the library, but you are not +# obligated to do so. If you do not wish to do so, delete this +# exception statement from your version. + +Parser.StdOptions=Standard options +Parser.PrintHelp=print this help, then exit +Parser.PrintVersion=print version number, then exit +Parser.ArgReqd=option ''{0}'' requires an argument +Parser.Unrecognized=unrecognized option ''{0}'' +Parser.NoArg=option ''{0}'' doesn''t allow an argument +Parser.UnrecDash=unrecognized option ''-{0}'' +Parser.TryHelpShort=Try ''{0} -help'' for more information +Parser.TryHelpLong=Try ''{0} --help'' for more information diff --git a/tools/resource/gnu/classpath/tools/jar/messages.properties b/tools/resource/gnu/classpath/tools/jar/messages.properties new file mode 100644 index 000000000..a456fe243 --- /dev/null +++ b/tools/resource/gnu/classpath/tools/jar/messages.properties @@ -0,0 +1,72 @@ +# messages.properties -- English language messages +# Copyright (C) 2006 Free Software Foundation, Inc. +# +# This file is part of GNU Classpath. +# +# GNU Classpath is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# GNU Classpath is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Classpath; see the file COPYING. If not, write to the +# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301 USA. +# +# Linking this library statically or dynamically with other modules is +# making a combined work based on this library. Thus, the terms and +# conditions of the GNU General Public License cover the whole +# combination. +# +# As a special exception, the copyright holders of this library give you +# permission to link this library with independent modules to produce an +# executable, regardless of the license terms of these independent +# modules, and to copy and distribute the resulting executable under +# terms of your choice, provided that you also meet, for each linked +# independent module, the terms and conditions of the license of that +# module. An independent module is a module which is not derived from +# or based on this library. If you modify this library, you may extend +# this exception to your version of the library, but you are not +# obligated to do so. If you do not wish to do so, delete this +# exception statement from your version. + +Creator.Ignoring=ignoring entry {0} +Creator.Adding=adding: {0} (in={1,number,integer}) (out={2,number,integer}) (stored {3,number,integer}%) +Extractor.Created=\ \ created: {0} +Extractor.Extracted=\ extracted: {0} +Extractor.Inflated=\ \ inflated: {0} +Indexer.Indexing=indexing: {0} +Main.ArchiveAlreadySet=archive file name already set to {0} +Main.ModeAlreaySet=operation mode already specified +Main.MustSpecify=must specify one of -t, -c, -u, -x, or -i +Main.TwoArgsReqd=-C argument requires both directory and filename +Main.CantHaveBoth=can't specify both -m and -M +Main.NoFilesWithi=can't specify file arguments when using -i +Main.NoMAndi=can't specify -M with -i +Main.AnotherNomAndi=can't specify -m with -i +Main.Usage=Usage: jar -ctxui [OPTIONS] jar-file [-C DIR FILE] FILE... +Main.OpMode=Operation mode +Main.Create=create a new archive +Main.Extract=extract from archive +Main.List=list archive contents +Main.Update=update archive +Main.Index=compute archive index +Main.FileArg=FILE +Main.OpMods=Operation modifiers +Main.ArchiveName=specify archive file name +Main.FileArg2=FILE +Main.NoZip=store only; no ZIP compression +Main.Verbose=verbose operation +Main.NoManifest=do not create a manifest file +Main.ManifestName=specify manifest file +Main.ManifestArgName=FILE +Main.FileNameGroup=File name selection +Main.ChangeDir=change to directory before the next file +Main.ChangeDirArg=DIR FILE +Main.InternalError=jar: internal error: +Main.Stdin=Read file names from stdin diff --git a/tools/resource/gnu/classpath/tools/jarsigner/messages.properties b/tools/resource/gnu/classpath/tools/jarsigner/messages.properties new file mode 100644 index 000000000..d4088177c --- /dev/null +++ b/tools/resource/gnu/classpath/tools/jarsigner/messages.properties @@ -0,0 +1,126 @@ +# messages.properties -- English language messages and message formats +# Copyright (C) 2006 Free Software Foundation, Inc. +# +# This file is part of GNU Classpath. +# +# GNU Classpath is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# GNU Classpath is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Classpath; see the file COPYING. If not, write to the +# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301 USA. +# +# Linking this library statically or dynamically with other modules is +# making a combined work based on this library. Thus, the terms and +# conditions of the GNU General Public License cover the whole +# combination. +# +# As a special exception, the copyright holders of this library give you +# permission to link this library with independent modules to produce an +# executable, regardless of the license terms of these independent +# modules, and to copy and distribute the resulting executable under +# terms of your choice, provided that you also meet, for each linked +# independent module, the terms and conditions of the license of that +# module. An independent module is a module which is not derived from +# or based on this library. If you modify this library, you may extend +# this exception to your version of the library, but you are not +# obligated to do so. If you do not wish to do so, delete this +# exception statement from your version. +# +# for gnu.classpath.tools.jarsigner package +# + +Main.7=jarsigner: +Main.9=jarsigner error: +Main.70=JAR file [{0}] is NOT a file object +Main.72=JAR file [{0}] is NOT readable +#Main.85=Option '-keystore' is not defined or is an empty string, and 'user.home' is unknown +Main.85=Unable to locate a valid key store +Main.92=Enter key store password: +Main.6=Designated alias [{0}] MUST be known to the key store in use +Main.2=\ +Usage: jarsigner [OPTION]... FILE ALIAS\n\ +\ \ \ \ \ \ \ \ jarsigner -verify [OPTION]... FILE\n\ +Java ARchive (JAR) file signing and verification tool.\n\ +\n\ +FILE is the .JAR file to sign or to verify.\n\ +\n\ +ALIAS must be a known Alias of a Key Entry in the designated key store. The \ +private key material associated with this Alias is used for signing FILE. if \ +ALIAS is required, but was omitted, "mykey" will be used instead. +Main.1=Please report bugs at http://www.gnu.org/software/classpath/bugs.html +Main.0=Signing options +Main.95=Designated alias [{0}] MUST be an Alias of a Key Entry +Main.97=Enter key password for <{0}>: +Main.99=Key associated with [{0}] MUST be a private key +Main.101=Location of the key store to use. The default value is a file-based \ +scheme whose path is the file named ".keystore" in your home directory.\n\ +If URL is malformed, the tool will use URL as a file-name of a key store; \ +i.e. as if the protocol was "file:". +Main.102=URL +Main.104=Type of the key store to use. If omitted, the default value is that \ +of the property "keystore.type" in the security properties file. +Main.105=STORE_TYPE +Main.107=Password to unlock the key store. If omitted, you will be prompted \ +to provide a password. +Main.108=PASSWORD +Main.110=Password to unlock the Key Entry associated with ALIAS. If omitted, \ +the tool will use the same password protecting the key store. If this fails, \ +you will be prompted to provide a password. +Main.111=PASSWORD +Main.113=A literal to construct file names for both the .SF and .DSA signature \ +files --which will be placed in the META-INF directory of the signed JAR. \ +Permissible characters are in the range [a-zA-Z0-9_-].\n\ +If omitted, the first 8 characters of ALIAS will be used. Characters outside \ +that range will be replaced by underscores. +Main.114=NAME +Main.116=Name of the signed JAR file. If omitted, the signed JAR will be \ +named the same as FILE; i.e. the input file will be replaced with its signed \ +copy. +Main.117=FILE +Main.118=Verification options +Main.120=Verify an already signed FILE. +Main.122=Use with -verbose to see more detailed information about the \ +certificates of ALIAS. +Main.123=Common options +Main.125=Output more verbose messages during processing. +Main.127=Include --otherwise do not-- the .SF file in the .DSA generated file. +Main.129=Include in the .SF generated file --otherwise do not-- a header \ +containing a hash of the whole manifest file. +Main.131=Fully qualified class name of a Security Provider to add to the JVM \ +in-use. +Main.132=PROVIDER_CLASS_NAME +Main.133=Missing FILE argument. + +JarSigner.1=\ \ signing: +JarSigner.2=\ updating: +JarSigner.8=\ \ \ adding: +JarSigner.14=Jar signed. + +JarVerifier.2=Jar is not signed --no signature files found. +JarVerifier.3=Jar verification failed. +JarVerifier.4=Jar partially verified --{0,numer} of {1,number} signers. +JarVerifier.7=Jar verified --{0,number} signer(s). +JarVerifier.13=Signature Block missing for {0} +JarVerifier.14=At least one SignerInfo element MUST be present in a Signature \ +Block (.DSA file) +JarVerifier.16=Missing EncryptedDigest in Signature Block (.DSA file) first \ +SignerInfo element + +SFHelper.1=Helper is NOT finished +SFHelper.4=.SF file has NOT been generated +SFHelper.6=Unknown or unsupported private key algorithm +SFHelper.9=Helper is NOT ready +SFHelper.0=Warning: The certificate issued by {0}, for {1}, has expired as of {3,date,full} - {3,time,full}. +SFHelper.10=Helper is NOT started +SFHelper.11=Warning: The certificate issued by {0}, for {1}, is only valid after {3,date,full} - {3,time,full}. +SFHelper.14=[unknown] +SFHelper.17=[unnamed] diff --git a/tools/resource/gnu/classpath/tools/keytool/messages.properties b/tools/resource/gnu/classpath/tools/keytool/messages.properties new file mode 100644 index 000000000..98f4e6842 --- /dev/null +++ b/tools/resource/gnu/classpath/tools/keytool/messages.properties @@ -0,0 +1,570 @@ +# messages.properties -- English language messages and message formats +# Copyright (C) 2006 Free Software Foundation, Inc. +# +# This file is part of GNU Classpath. +# +# GNU Classpath is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# GNU Classpath is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Classpath; see the file COPYING. If not, write to the +# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301 USA. +# +# Linking this library statically or dynamically with other modules is +# making a combined work based on this library. Thus, the terms and +# conditions of the GNU General Public License cover the whole +# combination. +# +# As a special exception, the copyright holders of this library give you +# permission to link this library with independent modules to produce an +# executable, regardless of the license terms of these independent +# modules, and to copy and distribute the resulting executable under +# terms of your choice, provided that you also meet, for each linked +# independent module, the terms and conditions of the license of that +# module. An independent module is a module which is not derived from +# or based on this library. If you modify this library, you may extend +# this exception to your version of the library, but you are not +# obligated to do so. If you do not wish to do so, delete this +# exception statement from your version. +# +# for gnu.classpath.tools.keytool package +# + +Main.6=keytool: {0} +Main.8=keytool error: {0} +Main.5=Import a CA's Trusted Certificate.\n\ +[-file FILE] [-storetype STORE_TYPE] [-keystore URL]\n\ +[-storepass PASSWORD] [-provider PROVIDER_CLASS_NAME] [-v]. +Main.18=Unrecognized command: {0} +Main.19=Usage: keytool [COMMAND] [-- COMMAND]...\n\ +Manage private keys and public certificates. +Main.20=Please report bugs at http://www.gnu.org/software/classpath/bugs.html +Main.21=Available commands +Main.22=Generate a Key Entry, eventually creating a key store.\n\ +[-alias ALIAS] [-keyalg ALGORITHM] [-keysize KEY_SIZE]\n\ +[-sigalg ALGORITHM] [-dname NAME] [-keypass PASSWORD]\n\ +[-validity DAY_COUNT] [-storetype STORE_TYPE]\n\ +[-keystore URL] [-storepass PASSWORD]\n\ +[-provider PROVIDER_CLASS_NAME] [-v]. +Main.23=Add Key Entries and Trusted Certificates.\n\ +[-alias ALIAS] [-file FILE] [-keypass PASSWORD]\n\ +[-noprompt] [-trustcacerts] [-storetype STORE_TYPE]\n\ +[-keystore URL] [-storepass PASSWORD]\n\ +[-provider PROVIDER_CLASS_NAME] [-v]. +Main.24=Generate a self-signed Trusted Certificate.\n\ +[-alias ALIAS] [-sigalg ALGORITHM] [-dname NAME]\n\ +[-validity DAY_COUNT] [-keypass PASSWORD]\n\ +[-storetype STORE_TYPE] [-keystore URL]\n\ +[-storepass PASSWORD] [-provider PROVIDER_CLASS_NAME] [-v]. +Main.25=NOT IMPLEMENTED YET. Import JDK1.1 Identity Database.\n\ +[-file FILE] [-storetype STORE_TYPE] [-keystore URL]\n\ +[-storepass PASSWORD] [-provider PROVIDER_CLASS_NAME] [-v]. +Main.26=Issue a Certificate Signing Request (CSR).\n\ +[-alias ALIAS] [-sigalg ALGORITHM] [-file FILE]\n\ +[-keypass PASSWORD] [-storetype STORE_TYPE] [-keystore URL]\n\ +[-storepass PASSWORD] [-provider PROVIDER_CLASS_NAME] [-v]\n\ +[-attributes]. +Main.27=Export a Certificate from a key store.\n\ +[-alias ALIAS] [-file FILE] [-storetype STORE_TYPE]\n\ +[-keystore URL] [-storepass PASSWORD]\n\ +[-provider PROVIDER_CLASS_NAME] [-rfc] [-v]. +Main.28=Print one or all Certificates in a key store to STDOUT.\n\ +[-alias ALIAS] [-storetype STORE_TYPE] [-keystore URL]\n\ +[-storepass PASSWORD] [-provider PROVIDER_CLASS_NAME] [-rfc] [-v]. +Main.29=Print a human-readable form of a Certificate in a FILE.\n\ +[-file FILE] [-v]. +Main.30=Clone a Key Entry in a key store.\n\ +[-alias ALIAS] [-dest ALIAS] [-keypass PASSWORD]\n\ +[-new PASSWORD] [-storetype STORE_TYPE] [-keystore URL]\n\ +[-storepass PASSWORD] [-provider PROVIDER_CLASS_NAME] [-v]. +Main.31=Change the password protecting a key store.\n\ +[-new PASSWORD] [-storetype STORE_TYPE] [-keystore URL]\n\ +[-storepass PASSWORD] [-provider PROVIDER_CLASS_NAME] [-v]. +Main.32=Change the password protecting a Key Entry in a key store.\n\ +[-alias ALIAS] [-keypass PASSWORD] [-new PASSWORD]\n\ +[-storetype STORE_TYPE] [-keystore URL]\n\ +[-storepass PASSWORD] [-provider PROVIDER_CLASS_NAME] [-v]. +Main.33=Delete a Key Entry or a Trusted Certificate from a key store.\n\ +[-alias ALIAS] [-storetype STORE_TYPE] [-keystore URL]\n\ +[-storepass PASSWORD] [-provider PROVIDER_CLASS_NAME] [-v]. + +Command.19=Failed creating new file at {0} +Command.20=Unable to find a suitable signature algorithm named {0}, although we found a key-pair generation algorithm named {1} +Command.21=Enter key password for <{0}>: +Command.23=A correct key password MUST be provided +Command.24=Enter key store password: +#Command.36=Option '-keystore' is undefined, or is an empty string, and 'user.home' is unknown +Command.36=Unable to locate a valid key store +Command.40=Provider fully qualified class name: +Command.42=File object [{0}] exists but is NOT a file +Command.44=File [{0}] exists but is NOT writable +Command.46=File object [{0}] MUST be an existing readable file +Command.48=Signature algorithm is missing and private key is of unknown or unsupported type +Command.51=Validity period MUST be greater than zero +Command.52=Unable to get signature algorithm name +Command.60=Unknown or unsupported signature algorithm: {0} +Command.63=Saving key store at {0} +Command.66=Owner: {0} +Command.67=Issuer: {0} +Command.68=Serial number: {0,number} +Command.69=Valid from: {0,date,full} - {0,time,full} +Command.70=\ \ \ \ \ until: {0,date,full} - {0,time,full} +Command.71=Certificate fingerprints +Command.72=\ \ \ \ \ \ MD5: {0} +Command.73=\ \ SHA-160: {0} +Command.75=Alias [{0}] MUST be knwon to the key store +Command.77=Alias [{0}] MUST be associated with a Key Entry + +CertReqCmd.27=Certification request stored in {0} +CertReqCmd.28=Submit this to your CA +CertReqCmd.25=Usage: keytool -certreq [OPTION]...\n\ +Generate a PKCS#10 Certificate Signing Request (CSR) and write it to a \ +designated output destination.\n\n\ +IMPORTANT: Some documentation claims that the Attributes field, in the CSR is \ +OPTIONAL while RFC-2986 implies the opposite. This implementation considers \ +this field, by default, as OPTIONAL, unless option -attributes is specified. +CertReqCmd.24=Please report bugs at http://www.gnu.org/software/classpath/bugs.html +CertReqCmd.23=Command options +CertReqCmd.22=Alias of an entry in the key store on whose behalf the CSR is \ +generated. The value "mykey" (all lower case, without the enclosing quotes) \ +is used when this option is omitted. +CertReqCmd.21=ALIAS +CertReqCmd.20=Name of the digital signature algorithm to use for signing the \ +certificate. If omitted, a default value is chosen based on the type of the \ +private key associated with ALIAS. If the key is a "DSA" one, the value for \ +signature algorithm will be "SHA1withDSA". If on the other hand the key is \ +an "RSA" one, then "MD5withRSA" will be the signature algorithm. +CertReqCmd.19=ALGORITHM +CertReqCmd.18=Destination of the generated CSR. STDOUT is used if this \ +option is omitted. +CertReqCmd.17=FILE +CertReqCmd.16=Password to unlock the Key Entry associated with ALIAS. If \ +omitted, the tool will attempt to unlock the Key Entry using the same password \ +protecting the key store. If this fails, you will be prompted for a password. +CertReqCmd.14=Type of the key store to use. If omitted, the default value is \ +that of the property "keystore.type" in the security properties file. +CertReqCmd.13=STORE_TYPE +CertReqCmd.12=Location of the key store to use. The default value is a \ +file-based scheme whose path is the file named ".keystore" in your home \ +directory.\n\ +If URL is malformed, the tool will use URL as a file-name of a key store; \ +i.e. as if the protocol was "file:". +CertReqCmd.11=URL +CertReqCmd.10=Password to unlock the key store. If omitted, you will be \ +prompted for one. +CertReqCmd.9=PASSWORD +CertReqCmd.8=Fully qualified class name of a Security Provider to add to the \ +JVM in-use. +CertReqCmd.7=PROVIDER_CLASS_NAME +CertReqCmd.6=Emit more verbose messages. +CertReqCmd.5=Force the tool to encode a NULL DER value in the CSR as the value \ +of the Attributes field. + +DeleteCmd.19=Enter the Alias to delete: +DeleteCmd.18=Usage: keytool -delete [OPTION]...\n\ +Delete a designated key store entry. +DeleteCmd.17=Please report bugs at http://www.gnu.org/software/classpath/bugs.html +DeleteCmd.16=Command options +DeleteCmd.15=Alias of an entry to delete. The value "mykey" (all lower case, \ +without the enclosing quotes) is used when this option is omitted. +DeleteCmd.14=ALIAS +DeleteCmd.13=Type of the key store to use. If omitted, the default value is \ +that of the property "keystore.type" in the security properties file. +DeleteCmd.12=STORE_TYPE +DeleteCmd.11=Location of the key store to use. The default value is a \ +file-based scheme whose path is the file named ".keystore" in your home \ +directory.\n\ +If URL is malformed, the tool will use URL as a file-name of a key store; \ +i.e. as if the protocol was "file:". +DeleteCmd.10=URL +DeleteCmd.20=Alias MUST NOT be null or an empty string +DeleteCmd.9=Password to unlock the key store. If omitted, you will be \ +prompted for one. +DeleteCmd.8=PASSWORD +DeleteCmd.7=Fully qualified class name of a Security Provider to add to the \ +JVM in-use. +DeleteCmd.6=PROVIDER_CLASS_NAME +DeleteCmd.5=Emit more verbose messages. + +GenKeyCmd.0=\nYou are about to enter information that will be incorporated into\n\ +your certificate request. This information is what is called a\n\ +Distinguished Name or DN. There are quite a few fields but you\n\ +can use supplied default values, displayed between brackets, by just\n\ +hitting , or blank the field by entering the <.> character\n\ +before hitting .\n\n +GenKeyCmd.6=The Sample Company +GenKeyCmd.7=Sydney +GenKeyCmd.8=NSW +GenKeyCmd.9=AU +GenKeyCmd.10=Common Name (hostname, IP, or your name): +GenKeyCmd.11=Organization Name (company) [{0}]: +GenKeyCmd.13=Organizational Unit Name (department, division): +GenKeyCmd.14=Locality Name (city, district) [{0}]: +GenKeyCmd.16=State or Province Name (full name) [{0}]: +GenKeyCmd.18=Country Name (2 letter code) [{0}]: +GenKeyCmd.54=Key size MUST be greater than zero +GenKeyCmd.57=Usage: keytool -genkey [OPTION]...\n\ +Generate a new key-pair and save these credentials in the key store as a Key \ +Entry, associated with a designated Alias. +GenKeyCmd.58=Please report bugs at http://www.gnu.org/software/classpath/bugs.html +GenKeyCmd.59=Command options +GenKeyCmd.60=Alias of the Key Entry to generate. The value "mykey" (all lower \ +case, without the enclosing quotes) is used when this option is omitted. +GenKeyCmd.61=ALIAS +GenKeyCmd.62=Name of the key-pair generation algorithm. The default value is \ +"DSS" (a synonym for the Digital Signature Algorithm also known as DSA). +GenKeyCmd.63=ALGORITHM +GenKeyCmd.64=Number of bits of the shared modulus, for both the public and \ +private keys, to use for the new keys. If omitted, 1024 is used. +GenKeyCmd.65=SIZE +GenKeyCmd.66=Name of the digital signature algorithm to use for signing the \ +certificate. If omitted, a default value is chosen based on the type of the \ +private key associated with ALIAS. If the key is a "DSA" one, the value for \ +signature algorithm will be "SHA1withDSA". If on the other hand the key is \ +an "RSA" one, then "MD5withRSA" will be the signature algorithm. +GenKeyCmd.68=The X.500 Distinguished Name of the Subject of the generated \ +certificate. If omitted you will be prompted for one. +GenKeyCmd.69=NAME +GenKeyCmd.70=Password to protect the newly created Key Entry. If omitted, \ +you will be prompted to provide a password. +GenKeyCmd.71=PASSWORD +GenKeyCmd.72=Number of days the generated certificate is valid for. If \ +omitted, 90 is used. +GenKeyCmd.73=DAY_COUNT +GenKeyCmd.74=Type of the key store to use. If omitted, the default value is \ +that of the property "keystore.type" in the security properties file. +GenKeyCmd.75=STORE_TYPE +GenKeyCmd.76=Location of the key store to use. The default value is a \ +file-based scheme whose path is the file named ".keystore" in your home \ +directory.\n\ +If URL is malformed, the tool will use URL as a file-name of a key store; \ +i.e. as if the protocol was "file:". +GenKeyCmd.77=URL +GenKeyCmd.78=Password to unlock the key store. If omitted, you will be \ +prompted for one. +GenKeyCmd.80=Fully qualified class name of a Security Provider to add to the \ +JVM in-use. +GenKeyCmd.81=PROVIDER_CLASS_NAME +GenKeyCmd.82=Emit more verbose messages. + +StorePasswdCmd.19=Too many failed attempts +StorePasswdCmd.18=Usage: keytool -storepasswd [OPTION]...\n\ +Change the password protecting a key store. +StorePasswdCmd.17=Please report bugs at http://www.gnu.org/software/classpath/bugs.html +StorePasswdCmd.16=Command options +StorePasswdCmd.15=The new, and different, password to protect the key store. \ +If omitted, you will be prompted for one. +StorePasswdCmd.13=Type of the key store to use. If omitted, the default value is \ +that of the property "keystore.type" in the security properties file. +StorePasswdCmd.12=STORE_TYPE +StorePasswdCmd.11=Location of the key store to use. The default value is a \ +file-based scheme whose path is the file named ".keystore" in your home \ +directory.\n\ +If URL is malformed, the tool will use URL as a file-name of a key store; \ +i.e. as if the protocol was "file:". +StorePasswdCmd.10=URL +StorePasswdCmd.20=Enter new key store password: +StorePasswdCmd.21=Password MUST be at least 6 characters. +StorePasswdCmd.22=New password MUST be different than the old one. +StorePasswdCmd.23=Re-enter new key store password: +StorePasswdCmd.24=Passwords MUST be the same in both attempts. +StorePasswdCmd.9=Password to unlock the key store. If omitted, you will be \ +prompted for one. +StorePasswdCmd.8=PASSWORD +StorePasswdCmd.7=Fully qualified class name of a Security Provider to add to the \ +JVM in-use. +StorePasswdCmd.6=PROVIDER_CLASS_NAME +StorePasswdCmd.5=Emit more verbose messages. + +KeyPasswdCmd.24=Enter new key password for <{0}>: +KeyPasswdCmd.28=Re-enter new key password for <{0}>: +KeyPasswdCmd.23=Usage: keytool -keypasswd [OPTION]...\n\ +Change the password protecting a Key Entry. +KeyPasswdCmd.22=Please report bugs at http://www.gnu.org/software/classpath/bugs.html +KeyPasswdCmd.21=Command options +KeyPasswdCmd.20=The Alias which password is to be changed. +KeyPasswdCmd.19=ALIAS +KeyPasswdCmd.18=Password to unlock ALIAS. If omitted, the tool will attempt \ +to unlock the Key Entry using the same password protecting the key store. If \ +this fails, you will be prompted for a password. +KeyPasswdCmd.16=The new, and different, password to protect ALIAS. +KeyPasswdCmd.14=Type of the key store to use. If omitted, the default value is \ +that of the property "keystore.type" in the security properties file. +KeyPasswdCmd.13=STORE_TYPE +KeyPasswdCmd.12=Location of the key store to use. The default value is a \ +file-based scheme whose path is the file named ".keystore" in your home \ +directory.\n\ +If URL is malformed, the tool will use URL as a file-name of a key store; \ +i.e. as if the protocol was "file:". +KeyPasswdCmd.11=URL +KeyPasswdCmd.10=Password to unlock the key store. If omitted, you will be \ +prompted for one. +KeyPasswdCmd.9=PASSWORD +KeyPasswdCmd.8=Fully qualified class name of a Security Provider to add to the \ +JVM in-use. +KeyPasswdCmd.7=PROVIDER_CLASS_NAME +KeyPasswdCmd.6=Emit more verbose messages. + +KeyCloneCmd.23=Destination Alias MUST NOT exist in key store +KeyCloneCmd.26=Enter destination alias: +KeyCloneCmd.27=Destination alias MUST NOT be null nor empty +KeyCloneCmd.28=Enter new key password for <{0}> [{1}]: +KeyCloneCmd.22=Usage: keytool -keyclone [OPTION]...\n\ +Clone an existing Key Entry and store it under a new (different) Alias \ +protecting its private key material with possibly a new password. +KeyCloneCmd.21=Please report bugs at http://www.gnu.org/software/classpath/bugs.html +KeyCloneCmd.20=Command options +KeyCloneCmd.19=Alias of an entry to clone. The value "mykey" (all lower case, \ +without the enclosing quotes) is used when this option is omitted. +KeyCloneCmd.17=Alias to identify the cloned copy of the Key Entry. +KeyCloneCmd.16=ALIAS +KeyCloneCmd.15=Password to unlock the Key Entry associated with the Alias to \ +clone. If omitted, the tool will attempt to unlock the Key Entry using the \ +same password protecting the key store. If this fails, you will be prompted \ +for a password. +KeyCloneCmd.13=Password to protect the cloned copy of the Key Entry. If \ +omitted, you will be prompted to provide one. +KeyCloneCmd.11=Type of the key store to use. If omitted, the default value is \ +that of the property "keystore.type" in the security properties file. +KeyCloneCmd.10=STORE_TYPE +KeyCloneCmd.9=Location of the key store to use. The default value is a \ +file-based scheme whose path is the file named ".keystore" in your home \ +directory.\n\ +If URL is malformed, the tool will use URL as a file-name of a key store; \ +i.e. as if the protocol was "file:". +KeyCloneCmd.8=URL +KeyCloneCmd.7=Password to unlock the key store. If omitted, you will be \ +prompted for one. +KeyCloneCmd.6=PASSWORD +KeyCloneCmd.5=Fully qualified class name of a Security Provider to add to the \ +JVM in-use. +KeyCloneCmd.4=PROVIDER_CLASS_NAME +KeyCloneCmd.3=Emit more verbose messages. + +ListCmd.21=Key store type: {0} +ListCmd.22=Key store provider: {0} +ListCmd.24=Key store contains {0,number} entry(ies) +ListCmd.20=Usage: keytool -list [OPTION]...\n\ +Print one or all of the key store entries to STDOUT. Usually this command \ +will only print a fingerprint of the certificate, unless either -rfc or -v \ +is specified. +ListCmd.30=Alias name: {0} +ListCmd.31=Creation timestamp: {0,date,full} - {0,time,full} +ListCmd.32=Entry type: trusted-certificate +ListCmd.33=Entry type: key-entry +ListCmd.34=Alias [{0}] is unknown to the key store +ListCmd.38=Certificate chain length: {0,number} +ListCmd.39=Certificate[1]: +ListCmd.40=Certificate[{0,number}]: +ListCmd.42=******************************************* +ListCmd.43=-----BEGIN CERTIFICATE----- +ListCmd.44=-----END CERTIFICATE----- +ListCmd.45=Certificate fingerprint (MD5): {0} +ListCmd.19=Please report bugs at http://www.gnu.org/software/classpath/bugs.html +ListCmd.18=Command options +ListCmd.17=Alias of an entry to list. If omitted, all entries are listed. +ListCmd.16=ALIAS +ListCmd.15=Type of the key store to use. If omitted, the default value is \ +that of the property "keystore.type" in the security properties file. +ListCmd.14=STORE_TYPE +ListCmd.13=Location of the key store to use. The default value is a \ +file-based scheme whose path is the file named ".keystore" in your home \ +directory.\n\ +If URL is malformed, the tool will use URL as a file-name of a key store; \ +i.e. as if the protocol was "file:". +ListCmd.12=URL +ListCmd.11=Password to unlock the key store. If omitted, you will be \ +prompted for one. +ListCmd.10=PASSWORD +ListCmd.9=Fully qualified class name of a Security Provider to add to the \ +JVM in-use. +ListCmd.8=PROVIDER_CLASS_NAME +ListCmd.7=Output the certificate in human-readable format, even if -rfc is \ +also specified. +ListCmd.6=Use RFC-1421 specifications when encoding the output. + +ImportCmd.34=Failed to establish chain-of-trust from reply +ImportCmd.37=Unable to find anchor certificate for {0} +ImportCmd.38=Public keys, in key store and certificate, MUST be of the same type +ImportCmd.32=Can this certificate be trusted? +ImportCmd.40=Key entry associated with {0} has an unknown or unsupported public key type {1} +ImportCmd.41=Public keys, in key store and certificate, MUST be the same +ImportCmd.29=Certificate was added to the key store +ImportCmd.28=Certificate was not added to the key store +ImportCmd.27=Usage: keytool -import [OPTION]...\n\ +Read an X.509 certificate, or a PKCS#7 Certificate Reply from a designated \ +input source and incorporate the certificates into the key store. +ImportCmd.26=Please report bugs at http://www.gnu.org/software/classpath/bugs.html +ImportCmd.25=Command options +ImportCmd.24=If ALIAS does not already exist in the key store, the tool treats \ +the certificate in FILE as a new Trusted Certificate.\n\ +If ALIAS exists in the key store, the tool will treat the certificate(s) in \ +FILE as a Certificate Reply (which can be a chain of certificates). +ImportCmd.23=ALIAS +ImportCmd.22=Location of the Certificate or Certificate Reply to import. +ImportCmd.21=FILE +ImportCmd.20=Password to protect the Key Entry associated with ALIAS. If \ +this option is omitted, and the chain-of-trust for the Certificate Reply has \ +been established, the tool will first attempt to unlock the Key Entry using \ +the same password protecting the key store. If this fails, you will be \ +prompted to provide a password. +ImportCmd.19=PASSWORD +ImportCmd.18=Prevent the tool from prompting the user. +ImportCmd.17=Additionally use a key store, of type "JKS", named "cacerts", \ +and located in lib/security in an installed Java Runtime Environment, when \ +trying to establish chains-of-trust. +ImportCmd.16=Type of the key store to use. If omitted, the default value is \ +that of the property "keystore.type" in the security properties file. +ImportCmd.15=STORE_TYPE +ImportCmd.14=Location of the key store to use. The default value is a \ +file-based scheme whose path is the file named ".keystore" in your home \ +directory.\n\ +If URL is malformed, the tool will use URL as a file-name of a key store; \ +i.e. as if the protocol was "file:". +ImportCmd.13=URL +ImportCmd.12=Password to unlock the key store. If omitted, you will be \ +prompted for one. +ImportCmd.11=PASSWORD +ImportCmd.10=Fully qualified class name of a Security Provider to add to the \ +JVM in-use. +ImportCmd.9=PROVIDER_CLASS_NAME +ImportCmd.8=Emit more verbose messages. +ImportCmd.7=Was unable to build a certificate-chain. Only {0,number} out of {1,number} certificates were processed + +ExportCmd.17=Usage: keytool -export [OPTION]...\n\ +Export a certificate stored in the key store to a designated output \ +destination, either in binary format or in RFC-1421 compliant encoding. +ExportCmd.18=Please report bugs at http://www.gnu.org/software/classpath/bugs.html +ExportCmd.19=Command options +ExportCmd.20=Alias of an entry to export. The value "mykey" (all lower case, \ +without the enclosing quotes) is used when this option is omitted. +ExportCmd.21=ALIAS +ExportCmd.22=Destination of the exported certificate. STDOUT is used if this \ +option is omitted. +ExportCmd.23=FILE +ExportCmd.24=Type of the key store to use. If omitted, the default value is \ +that of the property "keystore.type" in the security properties file. +ExportCmd.25=STORE_TYPE +ExportCmd.26=Location of the key store to use. The default value is a \ +file-based scheme whose path is the file named ".keystore" in your home \ +directory.\n\ +If URL is malformed, the tool will use URL as a file-name of a key store; \ +i.e. as if the protocol was "file:". +ExportCmd.27=URL +ExportCmd.28=Password to unlock the key store. If omitted, you will be \ +prompted for one. +ExportCmd.29=PASSWORD +ExportCmd.30=Fully qualified class name of a Security Provider to add to the \ +JVM in-use. +ExportCmd.31=PROVIDER_CLASS_NAME +ExportCmd.32=Use RFC-1421 specifications when encoding the output. +ExportCmd.33=Output the certificate in binary DER encoding, which is the \ +default format. If -rfc is also present, this option is ignored. + +IdentityDBCmd.7=Usage: keytool -identitydb [OPTION]...\n\ +NOT IMPLEMENTED YET. Import a JDK 1.1 style Identity Database. +IdentityDBCmd.8=Please report bugs at http://www.gnu.org/software/classpath/bugs.html +IdentityDBCmd.9=Command options +IdentityDBCmd.10=Location of the Identity Database to import. If omitted, \ +STDIN is used. +IdentityDBCmd.11=FILE +IdentityDBCmd.12=Type of the key store to use. If omitted, the default value is \ +that of the property "keystore.type" in the security properties file. +IdentityDBCmd.13=STORE_TYPE +IdentityDBCmd.14=Location of the key store to use. The default value is a \ +file-based scheme whose path is the file named ".keystore" in your home \ +directory.\n\ +If URL is malformed, the tool will use URL as a file-name of a key store; \ +i.e. as if the protocol was "file:". +IdentityDBCmd.15=URL +IdentityDBCmd.16=Password to unlock the key store. If omitted, you will be \ +prompted for one. +IdentityDBCmd.17=PASSWORD +IdentityDBCmd.18=Fully qualified class name of a Security Provider to add to the \ +JVM in-use. +IdentityDBCmd.19=PROVIDER_CLASS_NAME +IdentityDBCmd.20=Emit more verbose messages. + +PrintCertCmd.5=Usage: keytool -printcert [OPTION]...\n\ +Read a certificate from FILE and print it to STDOUT in a human-readable form. +PrintCertCmd.6=Please report bugs at http://www.gnu.org/software/classpath/bugs.html +PrintCertCmd.7=Command options +PrintCertCmd.8=Location of the certificate to print. If omitted, STDIN is used. +PrintCertCmd.9=FILE +PrintCertCmd.10=Emit more verbose messages. + +SelfCertCmd.14=Usage: keytool -selfcert [OPTION]...\n\ +Generate a self-signed X.509 version 1 certificate.\n\n\ +The newly generated certificate will form a chain of one element which will \ +replace the previous chain associated with ALIAS. +SelfCertCmd.15=Please report bugs at http://www.gnu.org/software/classpath/bugs.html +SelfCertCmd.16=Command options +SelfCertCmd.17=Alias of the Key Entry to select. The value "mykey" (all lower \ +case, without the enclosing quotes) is used when this option is omitted. +SelfCertCmd.18=ALIAS +SelfCertCmd.19=Name of the digital signature algorithm to use for signing the \ +certificate. If omitted, a default value is chosen based on the type of the \ +private key associated with ALIAS. If the key is a "DSA" one, the value for \ +signature algorithm will be "SHA1withDSA". If on the other hand the key is \ +an "RSA" one, then "MD5withRSA" will be the signature algorithm. +SelfCertCmd.20=ALGORITHM +SelfCertCmd.21=The X.500 Distinguished Name of the Subject of the generated \ +certificate. If omitted the Distinguished Name of the base certificate in \ +the chain associated with ALIAS is used instead. +SelfCertCmd.22=NAME +SelfCertCmd.23=Password to unlock the Key Entry associated with ALIAS. If \ +omitted, the tool will attempt to unlock the Key Entry using the same password \ +protecting the key store. If this fails, you will be prompted for a password. +SelfCertCmd.24=PASSWORD +SelfCertCmd.25=Number of days the generated certificate is valid for. If \ +omitted, 90 is used. +SelfCertCmd.26=DAY_COUNT +SelfCertCmd.27=Type of the key store to use. If omitted, the default value is \ +that of the property "keystore.type" in the security properties file. +SelfCertCmd.28=STORE_TYPE +SelfCertCmd.29=Location of the key store to use. The default value is a \ +file-based scheme whose path is the file named ".keystore" in your home \ +directory.\n\ +If URL is malformed, the tool will use URL as a file-name of a key store; \ +i.e. as if the protocol was "file:". +SelfCertCmd.30=URL +SelfCertCmd.31=Password to unlock the key store. If omitted, you will be \ +prompted for one. +SelfCertCmd.32=PASSWORD +SelfCertCmd.33=Fully qualified class name of a Security Provider to add to the \ +JVM in-use. +SelfCertCmd.34=PROVIDER_CLASS_NAME +SelfCertCmd.35=Emit more verbose messages. + +CACertCmd.0=Alias [{0}] is already present in key store +CACertCmd.1=Certificate in file "{0}" was added to the key store under the alias "{1}" +CACertCmd.2=Usage: keytool -cacert [OPTION]...\n\ +Import a trusted CA certificate. +CACertCmd.3=Please report bugs at http://www.gnu.org/software/classpath/bugs.html +CACertCmd.4=Command options +CACertCmd.5=Location of the trusted CA certificate to import. +CACertCmd.6=FILE +CACertCmd.7=Type of the key store to use. If omitted, the default value is \ +that of the property "keystore.type" in the security properties file. +CACertCmd.8=STORE_TYPE +CACertCmd.9=Location of the key store to use. The default value is a \ +file-based scheme whose path is the file named ".keystore" in your home \ +directory.\n\ +If URL is malformed, the tool will use URL as a file-name of a key store; \ +i.e. as if the protocol was "file:". +CACertCmd.10=URL +CACertCmd.11=Password to unlock the key store. If omitted, you will be \ +prompted for one. +CACertCmd.12=PASSWORD +CACertCmd.13=Fully qualified class name of a Security Provider to add to the \ +JVM in-use. +CACertCmd.14=PROVIDER_CLASS_NAME +CACertCmd.15=Emit more verbose messages. diff --git a/tools/resource/gnu/classpath/tools/native2ascii/messages.properties b/tools/resource/gnu/classpath/tools/native2ascii/messages.properties new file mode 100644 index 000000000..f04d184f2 --- /dev/null +++ b/tools/resource/gnu/classpath/tools/native2ascii/messages.properties @@ -0,0 +1,44 @@ +# messages.properties -- English language messages +# Copyright (C) 2006, 2008 Free Software Foundation, Inc. +# +# This file is part of GNU Classpath. +# +# GNU Classpath is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# GNU Classpath is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Classpath; see the file COPYING. If not, write to the +# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301 USA. +# +# Linking this library statically or dynamically with other modules is +# making a combined work based on this library. Thus, the terms and +# conditions of the GNU General Public License cover the whole +# combination. +# +# As a special exception, the copyright holders of this library give you +# permission to link this library with independent modules to produce an +# executable, regardless of the license terms of these independent +# modules, and to copy and distribute the resulting executable under +# terms of your choice, provided that you also meet, for each linked +# independent module, the terms and conditions of the license of that +# module. An independent module is a module which is not derived from +# or based on this library. If you modify this library, you may extend +# this exception to your version of the library, but you are not +# obligated to do so. If you do not wish to do so, delete this +# exception statement from your version. + +Native2ASCII.TooManyFiles=too many files specified +Native2ASCII.Usage=Usage: native2ascii [OPTIONS]... [INPUTFILE [OUTPUTFILE]] +Native2ASCII.EncodingHelp=encoding to use +Native2ASCII.EncodingArgName=NAME +Native2ASCII.EncodingSpecified=encoding already specified +Native2ASCII.ReverseHelp=convert from encoding to native + diff --git a/tools/resource/gnu/classpath/tools/orbd/messages.properties b/tools/resource/gnu/classpath/tools/orbd/messages.properties new file mode 100644 index 000000000..b427d102b --- /dev/null +++ b/tools/resource/gnu/classpath/tools/orbd/messages.properties @@ -0,0 +1,46 @@ +# messages.properties -- English language messages +# Copyright (C) 2006 Free Software Foundation, Inc. +# +# This file is part of GNU Classpath. +# +# GNU Classpath is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# GNU Classpath is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Classpath; see the file COPYING. If not, write to the +# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301 USA. +# +# Linking this library statically or dynamically with other modules is +# making a combined work based on this library. Thus, the terms and +# conditions of the GNU General Public License cover the whole +# combination. +# +# As a special exception, the copyright holders of this library give you +# permission to link this library with independent modules to produce an +# executable, regardless of the license terms of these independent +# modules, and to copy and distribute the resulting executable under +# terms of your choice, provided that you also meet, for each linked +# independent module, the terms and conditions of the license of that +# module. An independent module is a module which is not derived from +# or based on this library. If you modify this library, you may extend +# this exception to your version of the library, but you are not +# obligated to do so. If you do not wish to do so, delete this +# exception statement from your version. + +Main.Usage=Usage: orbd [OPTIONS] +Main.ORBInitialPort=port on which persistent naming service is to be started +Main.Port=PORT +Main.IOR=file in which to store persistent naming service's IOR reference +Main.IORFile=FILE +Main.Restart=restart persistent naming service, clearing persistent naming database +Main.Directory=directory in which to store persistent data +Main.DirectoryArgument=DIRECTORY +Main.InternalError=orbd: internal error: diff --git a/tools/resource/gnu/classpath/tools/rmic/messages.properties b/tools/resource/gnu/classpath/tools/rmic/messages.properties new file mode 100644 index 000000000..7be7cb0c7 --- /dev/null +++ b/tools/resource/gnu/classpath/tools/rmic/messages.properties @@ -0,0 +1,61 @@ +# messages.properties -- English language messages +# Copyright (C) 2006 Free Software Foundation, Inc. +# +# This file is part of GNU Classpath. +# +# GNU Classpath is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# GNU Classpath is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Classpath; see the file COPYING. If not, write to the +# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301 USA. +# +# Linking this library statically or dynamically with other modules is +# making a combined work based on this library. Thus, the terms and +# conditions of the GNU General Public License cover the whole +# combination. +# +# As a special exception, the copyright holders of this library give you +# permission to link this library with independent modules to produce an +# executable, regardless of the license terms of these independent +# modules, and to copy and distribute the resulting executable under +# terms of your choice, provided that you also meet, for each linked +# independent module, the terms and conditions of the license of that +# module. An independent module is a module which is not derived from +# or based on this library. If you modify this library, you may extend +# this exception to your version of the library, but you are not +# obligated to do so. If you do not wish to do so, delete this +# exception statement from your version. + +Main.Usage:rmic [OPTIONS] CLASSNAME... +Main.NoWarn:show no warnings +Main.NoWrite:check for errors and do not write any files +Main.Verbose:show verbose output +Main.DirOpt:write generated files to given directory +Main.DirArg:DIRECTORY +Main.ClasspathOpt:where to find input classes +Main.ClasspathArg:PATH +Main.BootclasspathOpt:where to find classes used to run rmic (ignored) +Main.BootclasspathArg:PATH +Main.ExtdirsOpt:where to find extension classes used to run rmic (ignored) +Main.ExtdirsArg:PATH +Main.IIOP:generate stubs and ties for IIOP +Main.Always:always overwrite generated files (ignored) +Main.AlwaysGenerate:same as -always +Main.NoLocalStubs:do not create same-process stubs (ignored) +Main.POA:generate servant-based ties +Main.Keep:keep generated stub, skeleton and tie sources +Main.KeepGenerated:same as -keep +Main.v11:generate JDK 1.1 protocol stubs and skeletons +Main.v12:generate JDK 1.2 JRMP stubs (default) +Main.vcompat:generate JDK 1.1 protocol and JDK 1.2 JRMP stubs +Main.DebugInfo:include debugging information in generated classes +Main.InternalError:rmic: internal error: diff --git a/tools/resource/gnu/classpath/tools/rmic/templates/ImplTie.jav b/tools/resource/gnu/classpath/tools/rmic/templates/ImplTie.jav new file mode 100644 index 000000000..aff606b90 --- /dev/null +++ b/tools/resource/gnu/classpath/tools/rmic/templates/ImplTie.jav @@ -0,0 +1,152 @@ +package #package; + +#imports +import java.rmi.Remote; +import javax.rmi.PortableRemoteObject; +import javax.rmi.CORBA.Tie; + +import org.omg.CORBA.BAD_OPERATION; +import org.omg.CORBA.ORB; +import org.omg.CORBA.SystemException; +import org.omg.CORBA.portable.OutputStream; +import org.omg.CORBA.portable.ResponseHandler; +import org.omg.CORBA.portable.UnknownException; +import org.omg.PortableServer.Servant; + +import org.omg.CORBA_2_3.portable.ObjectImpl; +import org.omg.CORBA_2_3.portable.InputStream; + +// This Tie type is obsolete. Use the POA - based tie (key -poa). + +/** + * This class accepts remote calls to the served GIOP object and delegates them + * to the enclosed implementing class. Being derived from the ObjectImpl, + * it directly implements the GIOP Object. + * + * It is normally generated with grmic -impl + */ +public class _#nameImpl_Tie extends ObjectImpl implements Tie +{ + /** + * All decoded remote calls are forwarded to this target. + */ + #implName target; + + /** + * The array of repository ids, supported by this GIOP Object + */ + private static final String[] type_ids = + { +#idList + }; + + /** + * Get an array of all interfaces (repository ids), + * supported by this Object. + * + * @return the array of Ids. + */ + public String[] _ids() + { + return type_ids; + } + + /** + * Set the invocation target, where all received calls are finally + * forwarded. + * + * @param a_target the forwarding target + * + * @throws ClassCastException if the target is not an instance of + * #implName + */ + public void setTarget(Remote a_target) + { + this.target = (#implName) a_target; + } + + /** + * Get the invocation target, where all received calls are finally + * forwarded. + * + * @return the target, an instance of + * #implName + */ + public Remote getTarget() + { + return target; + } + + /** + * Return the actual GIOP object that would handle this request. + * + * @return this, always. + */ + public org.omg.CORBA.Object thisObject() + { + return this; + } + + /** + * Deactivates this object, disconnecting it from the orb. + */ + public void deactivate() + { + _orb().disconnect(this); + _set_delegate(null); + target = null; + } + + /** + * Get the {@link ORB} where this {@link Servant} is connected. + * + * @return the ORB + */ + public ORB orb() + { + return _orb(); + } + + /** + * Connect this servant to the given ORB. + */ + public void orb(ORB orb) + { + orb.connect(this); + } + +/** + * This method is invoked by ORB in response to the remote call. It redirects + * the call to one of the methods in the target. + * + * @param method the name of the method to call. + * @param parameter_stream the input stream, from where the parameters must be + * read. + * @param reply the response hander, providing methods to return the result. + * + * @return the output stream, created by the response handler + * + * @throws SystemException if one occurs during method invocation. + */ + public OutputStream _invoke(String method, + org.omg.CORBA.portable.InputStream parameter_stream, + ResponseHandler reply) + { + try + { + InputStream in =(InputStream) parameter_stream; + +#tie_methods + + throw new BAD_OPERATION("No such method: '"+method+"'"); + } + catch (SystemException ex) + { + throw ex; + } + catch (Throwable ex) + { + throw new UnknownException(ex); + } + } +} \ No newline at end of file diff --git a/tools/resource/gnu/classpath/tools/rmic/templates/Stub.jav b/tools/resource/gnu/classpath/tools/rmic/templates/Stub.jav new file mode 100644 index 000000000..371e12d44 --- /dev/null +++ b/tools/resource/gnu/classpath/tools/rmic/templates/Stub.jav @@ -0,0 +1,47 @@ +package #package; + +#imports +import java.rmi.UnexpectedException; + +import javax.rmi.CORBA.Stub; +import javax.rmi.CORBA.Util; + +import org.omg.CORBA.SystemException; +import org.omg.CORBA.portable.ApplicationException; +import org.omg.CORBA.portable.InputStream; +import org.omg.CORBA.portable.RemarshalException; + +import org.omg.CORBA_2_3.portable.OutputStream; + +/** + * This class delegates its method calls to the remote GIOP object. + * It is normally generated with grmic. + */ +public class _#name_Stub extends Stub + implements #interfaces +{ + /** + * Use serialVersionUID for interoperability. + */ + private static final long serialVersionUID = 1; + + /** + * The array of repository ids, supported by this GIOP Object + */ + private static final String[] type_ids = + { +#idList + }; + + /** + * Return the array of repository ids, supported by this GIOP Object. + * + * @return the array of Ids. + */ + public String[] _ids() + { + return type_ids; + } + +#stub_methods +} \ No newline at end of file diff --git a/tools/resource/gnu/classpath/tools/rmic/templates/StubMethod.jav b/tools/resource/gnu/classpath/tools/rmic/templates/StubMethod.jav new file mode 100644 index 000000000..17636deb6 --- /dev/null +++ b/tools/resource/gnu/classpath/tools/rmic/templates/StubMethod.jav @@ -0,0 +1,33 @@ + /** @inheritDoc */ + public #return_type #method_name(#argument_list) #throws + { + try + { + InputStream in = null; + try + { + OutputStream out = + (OutputStream) _request("#giop_method_name", true); +#argument_write + in = _invoke(out); + #read_return + } + catch (ApplicationException ex) + { + in = ex.getInputStream(); + throw new UnexpectedException(in.read_string()); + } + catch (RemarshalException ex) + { + return #method_name(#argument_names); + } + finally + { + _releaseReply(in); + } + } + catch (SystemException ex) + { + throw Util.mapSystemException(ex); + } + } diff --git a/tools/resource/gnu/classpath/tools/rmic/templates/StubMethodVoid.jav b/tools/resource/gnu/classpath/tools/rmic/templates/StubMethodVoid.jav new file mode 100644 index 000000000..0125a02b0 --- /dev/null +++ b/tools/resource/gnu/classpath/tools/rmic/templates/StubMethodVoid.jav @@ -0,0 +1,32 @@ + /** @inheritDoc */ + public #return_type #method_name(#argument_list) #throws + { + try + { + InputStream in = null; + try + { + OutputStream out = + (OutputStream) _request("#giop_method_name", true); +#argument_write + in = _invoke(out); + } + catch (ApplicationException ex) + { + in = ex.getInputStream(); + throw new UnexpectedException(in.read_string()); + } + catch (RemarshalException ex) + { + #method_name(#argument_names); + } + finally + { + _releaseReply(in); + } + } + catch (SystemException ex) + { + throw Util.mapSystemException(ex); + } + } diff --git a/tools/resource/gnu/classpath/tools/rmic/templates/Stub_12.jav b/tools/resource/gnu/classpath/tools/rmic/templates/Stub_12.jav new file mode 100644 index 000000000..1c55a0597 --- /dev/null +++ b/tools/resource/gnu/classpath/tools/rmic/templates/Stub_12.jav @@ -0,0 +1,62 @@ +package #package; + +#imports +import java.lang.reflect.Method; +import java.rmi.server.RemoteRef; +import java.rmi.server.RemoteStub; +import java.rmi.UnexpectedException; + +/** + * This class delegates its method calls to the remote RMI object, referenced + * by {@link RemoteRef}. + * + * It is normally generated with rmic. + */ +public final class #name_Stub + extends RemoteStub + implements #interfaces +{ + /** + * Use serialVersionUID for interoperability + */ + private static final long serialVersionUID = 2; + + /** + * The explaining message for {@ling UnexpectedException}. + */ + private static final String exception_message = + "undeclared checked exception"; + + /* All remote methods, invoked by this stub: */ +#stub_method_declarations + #zeroSizeObjecArray + static + { + #zeroSizeClassArray + try + { +#stub_method_initializations + } + catch (NoSuchMethodException nex) + { + NoSuchMethodError err = new NoSuchMethodError( + "#name_Stub class initialization failed"); + err.initCause(nex); + throw err; + } + } + + /** + * Create the instance for _#name_Stub that forwards method calls to the + * remote object. + * + * @para the reference to the remote object. + */ + public #name_Stub(RemoteRef reference) + { + super(reference); + } + + /* Methods */ +#stub_methods +} diff --git a/tools/resource/gnu/classpath/tools/rmic/templates/Stub_12Method.jav b/tools/resource/gnu/classpath/tools/rmic/templates/Stub_12Method.jav new file mode 100644 index 000000000..9aaf8f5ad --- /dev/null +++ b/tools/resource/gnu/classpath/tools/rmic/templates/Stub_12Method.jav @@ -0,0 +1,26 @@ + /** @inheritDoc */ + public #return_type #method_name(#argument_list) #throws + { + try + { + Object result = ref.invoke(this, met_#method_name, + #object_arg_list, + #method_hash); + #return_statement + } + catch (RuntimeException e) + { + throw e; + } + catch (RemoteException e) + { + throw e; + } + catch (Exception e) + { + UnexpectedException uex = new UnexpectedException(exception_message); + uex.detail = e; + throw uex; + } + } + \ No newline at end of file diff --git a/tools/resource/gnu/classpath/tools/rmic/templates/Stub_12MethodVoid.jav b/tools/resource/gnu/classpath/tools/rmic/templates/Stub_12MethodVoid.jav new file mode 100644 index 000000000..860a93c84 --- /dev/null +++ b/tools/resource/gnu/classpath/tools/rmic/templates/Stub_12MethodVoid.jav @@ -0,0 +1,25 @@ + /** @inheritDoc */ + public void #method_name(#argument_list) #throws + { + try + { + ref.invoke(this, met_#method_name, + #object_arg_list, + #method_hash); + } + catch (RuntimeException e) + { + throw e; + } + catch (RemoteException e) + { + throw e; + } + catch (Exception e) + { + UnexpectedException uex = new UnexpectedException(exception_message); + uex.detail = e; + throw uex; + } + } + \ No newline at end of file diff --git a/tools/resource/gnu/classpath/tools/rmic/templates/Tie.jav b/tools/resource/gnu/classpath/tools/rmic/templates/Tie.jav new file mode 100644 index 000000000..797ae1401 --- /dev/null +++ b/tools/resource/gnu/classpath/tools/rmic/templates/Tie.jav @@ -0,0 +1,184 @@ +package #package; + +#imports +import java.rmi.Remote; +import javax.rmi.PortableRemoteObject; +import javax.rmi.CORBA.Tie; + +import org.omg.CORBA.BAD_OPERATION; +import org.omg.CORBA.ORB; +import org.omg.CORBA.SystemException; +import org.omg.CORBA.portable.OutputStream; +import org.omg.CORBA.portable.ResponseHandler; +import org.omg.CORBA.portable.UnknownException; +import org.omg.PortableServer.Servant; +import org.omg.PortableServer.POA; +import org.omg.PortableServer.POAPackage.WrongPolicy; +import org.omg.PortableServer.POAPackage.ObjectNotActive; +import org.omg.PortableServer.POAPackage.ServantNotActive; + +import org.omg.CORBA_2_3.portable.InputStream; + +/** + * This class accepts remote calls to the served GIOP object and delegates them + * to the enclosed implementing class. Being servant, it must be connected to + * the ORB Poa. + * It is normally generated with grmic -poa + */ +public class _#nameImpl_Tie extends Servant implements Tie +{ + /** + * All decoded remote calls are forwarded to this target. + */ + #implName target; + + /** + * The array of repository ids, supported by this GIOP Object + */ + private static final String[] type_ids = + { +#idList + }; + + /** + * Get an array of all interfaces, supported by this + * {@link Servant}. + * + * @param poa unused + * @param objectId unused + * + * @return the array of Ids. + */ + public String[] _all_interfaces(POA poa, + byte[] objectId + ) + { + return type_ids; + } + + + /** + * Set the invocation target, where all received calls are finally + * forwarded. + * + * @param a_target the forwarding target + * + * @throws ClassCastException if the target is not an instance of + * #implName + */ + public void setTarget(Remote a_target) + { + this.target = (#implName) a_target; + } + + /** + * Get the invocation target, where all received calls are finally + * forwarded. + * + * @return the target, an instance of + * #implName + */ + public Remote getTarget() + { + return target; + } + + /** + * Return the actual GIOP object that would handle this request. + * + * @return the GIOP object. + */ + public org.omg.CORBA.Object thisObject() + { + return _this_object(); + } + + /** + * Deactivate this {@link Servant}. The WrongPolicy, ObjectNotActive + * and ServantNotActive exceptions, if thrown during deactivation, are + * catched and silently ignored. + */ + public void deactivate() + { + try + { + _poa().deactivate_object(_poa().servant_to_id(this)); + } + catch (WrongPolicy exception) + { + } + catch (ObjectNotActive exception) + { + } + catch (ServantNotActive exception) + { + } + } + + /** + * Get the {@link ORB} where this {@link Servant} is connected. + * + * @return the ORB + */ + public ORB orb() + { + return _orb(); + } + + /** + * Connect this servant to the given ORB. It is recommended to connect + * servant to the ORBs root or other POA rather than using this method. + */ + public void orb(ORB orb) + { + try + { + ((org.omg.CORBA_2_3.ORB) orb).set_delegate(this); + } + catch (ClassCastException e) + { + throw new org.omg.CORBA.BAD_PARAM( + "POA Servant requires an instance of org.omg.CORBA_2_3.ORB" + ); + } + } + +/** + * This method is invoked by ORB in response to the remote call. It redirects + * the call to one of the methods in the target. + * + * @param method the name of the method to call. + * @param parameter_stream the input stream, from where the parameters must be + * read. + * @param reply the response hander, providing methods to return the result. + * + * @return the output stream, created by the response handler + * + * @throws SystemException if one occurs during method invocation. + */ + public OutputStream _invoke(String method, + org.omg.CORBA.portable.InputStream parameter_stream, + ResponseHandler reply + ) throws SystemException + { + try + { + InputStream in =(InputStream) parameter_stream; + switch (method.charAt(#hashCharPos)) + { +#tie_methods + default: break; + } + + throw new BAD_OPERATION("No such method: '"+method+"'"); + } + catch (SystemException ex) + { + throw ex; + } + catch (Throwable ex) + { + throw new UnknownException(ex); + } + } +} \ No newline at end of file diff --git a/tools/resource/gnu/classpath/tools/rmic/templates/TieMethod.jav b/tools/resource/gnu/classpath/tools/rmic/templates/TieMethod.jav new file mode 100644 index 000000000..493f0009b --- /dev/null +++ b/tools/resource/gnu/classpath/tools/rmic/templates/TieMethod.jav @@ -0,0 +1,11 @@ + #hashCodeLabel + // #method_name + if (method.equals("#giop_method_name")) + { +#read_and_define_args + OutputStream out = reply.createReply(); + #return_type result = + target.#method_name(#argument_names); + #write_result + return out; + } diff --git a/tools/resource/gnu/classpath/tools/rmic/templates/TieMethodVoid.jav b/tools/resource/gnu/classpath/tools/rmic/templates/TieMethodVoid.jav new file mode 100644 index 000000000..3db17da7c --- /dev/null +++ b/tools/resource/gnu/classpath/tools/rmic/templates/TieMethodVoid.jav @@ -0,0 +1,9 @@ + #hashCodeLabel + // #method_name + if (method.equals("#giop_method_name")) + { +#read_and_define_args + OutputStream out = reply.createReply(); + target.#method_name(#argument_names); + return out; + } diff --git a/tools/resource/gnu/classpath/tools/rmid/messages.properties b/tools/resource/gnu/classpath/tools/rmid/messages.properties new file mode 100644 index 000000000..234cea12a --- /dev/null +++ b/tools/resource/gnu/classpath/tools/rmid/messages.properties @@ -0,0 +1,50 @@ +# messages.properties -- English language messages +# Copyright (C) 2006 Free Software Foundation, Inc. +# +# This file is part of GNU Classpath. +# +# GNU Classpath is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# GNU Classpath is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Classpath; see the file COPYING. If not, write to the +# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301 USA. +# +# Linking this library statically or dynamically with other modules is +# making a combined work based on this library. Thus, the terms and +# conditions of the GNU General Public License cover the whole +# combination. +# +# As a special exception, the copyright holders of this library give you +# permission to link this library with independent modules to produce an +# executable, regardless of the license terms of these independent +# modules, and to copy and distribute the resulting executable under +# terms of your choice, provided that you also meet, for each linked +# independent module, the terms and conditions of the license of that +# module. An independent module is a module which is not derived from +# or based on this library. If you modify this library, you may extend +# this exception to your version of the library, but you are not +# obligated to do so. If you do not wish to do so, delete this +# exception statement from your version. + +Main.Usage=Usage: rmid [OPTIONS] +Main.ControlGroup=Activation process control +Main.PortOption=port on which activation system is to be started +Main.Port=PORT +Main.Restart=restart activation system, clearing persistent naming database, if any +Main.Stop=stop activation system +Main.PersistenceGroup=Persistence +Main.Persistent=make activation system persistent +Main.Directory=directory in which to store persistent data +Main.DirectoryArgument=DIRECTORY +Main.DebugGroup=Debugging +Main.Verbose=log binding events to standard out +Main.InternalError=rmid: internal error: diff --git a/tools/resource/gnu/classpath/tools/rmiregistry/messages.properties b/tools/resource/gnu/classpath/tools/rmiregistry/messages.properties new file mode 100644 index 000000000..46f7cfdb7 --- /dev/null +++ b/tools/resource/gnu/classpath/tools/rmiregistry/messages.properties @@ -0,0 +1,48 @@ +# messages.properties -- English language messages +# Copyright (C) 2006 Free Software Foundation, Inc. +# +# This file is part of GNU Classpath. +# +# GNU Classpath is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# GNU Classpath is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Classpath; see the file COPYING. If not, write to the +# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301 USA. +# +# Linking this library statically or dynamically with other modules is +# making a combined work based on this library. Thus, the terms and +# conditions of the GNU General Public License cover the whole +# combination. +# +# As a special exception, the copyright holders of this library give you +# permission to link this library with independent modules to produce an +# executable, regardless of the license terms of these independent +# modules, and to copy and distribute the resulting executable under +# terms of your choice, provided that you also meet, for each linked +# independent module, the terms and conditions of the license of that +# module. An independent module is a module which is not derived from +# or based on this library. If you modify this library, you may extend +# this exception to your version of the library, but you are not +# obligated to do so. If you do not wish to do so, delete this +# exception statement from your version. + +Main.Usage=Usage: rmiregistry [OPTIONS] [PORT] +Main.ControlGroup=Registry process control +Main.Restart=restart RMI naming service, clearing persistent naming database, if any +Main.Stop=stop RMI naming service +Main.PersistenceGroup=Persistence +Main.Persistent=make RMI naming service persistent +Main.Directory=directory in which to store persistent data +Main.DirectoryArgument=DIRECTORY +Main.DebugGroup=Debugging +Main.Verbose=log binding events to standard out +Main.InternalError=rmiregistry: internal error: diff --git a/tools/resource/gnu/classpath/tools/serialver/messages.properties b/tools/resource/gnu/classpath/tools/serialver/messages.properties new file mode 100644 index 000000000..8900795d4 --- /dev/null +++ b/tools/resource/gnu/classpath/tools/serialver/messages.properties @@ -0,0 +1,44 @@ +# messages.properties -- English language messages +# Copyright (C) 2006 Free Software Foundation, Inc. +# +# This file is part of GNU Classpath. +# +# GNU Classpath is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# GNU Classpath is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Classpath; see the file COPYING. If not, write to the +# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301 USA. +# +# Linking this library statically or dynamically with other modules is +# making a combined work based on this library. Thus, the terms and +# conditions of the GNU General Public License cover the whole +# combination. +# +# As a special exception, the copyright holders of this library give you +# permission to link this library with independent modules to produce an +# executable, regardless of the license terms of these independent +# modules, and to copy and distribute the resulting executable under +# terms of your choice, provided that you also meet, for each linked +# independent module, the terms and conditions of the license of that +# module. An independent module is a module which is not derived from +# or based on this library. If you modify this library, you may extend +# this exception to your version of the library, but you are not +# obligated to do so. If you do not wish to do so, delete this +# exception statement from your version. + +SerialVer.NoClassesSpecd=no classes specified +SerialVer.HelpHeader=serialver [OPTIONS]... CLASS...\n\nPrint the serialVersionUID of the specified classes +SerialVer.5=classpath +SerialVer.ClasspathHelp=class path to use to find classes +SerialVer.ClassNotSerial=serialver: class {0} is not serializable +SerialVer.ClassNotFound=serialver: class {0} not found +SerialVer.DupClasspath=classpath already specified diff --git a/tools/resource/gnu/classpath/tools/tnameserv/messages.properties b/tools/resource/gnu/classpath/tools/tnameserv/messages.properties new file mode 100644 index 000000000..3861e24ba --- /dev/null +++ b/tools/resource/gnu/classpath/tools/tnameserv/messages.properties @@ -0,0 +1,43 @@ +# messages.properties -- English language messages +# Copyright (C) 2006 Free Software Foundation, Inc. +# +# This file is part of GNU Classpath. +# +# GNU Classpath is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# GNU Classpath is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Classpath; see the file COPYING. If not, write to the +# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301 USA. +# +# Linking this library statically or dynamically with other modules is +# making a combined work based on this library. Thus, the terms and +# conditions of the GNU General Public License cover the whole +# combination. +# +# As a special exception, the copyright holders of this library give you +# permission to link this library with independent modules to produce an +# executable, regardless of the license terms of these independent +# modules, and to copy and distribute the resulting executable under +# terms of your choice, provided that you also meet, for each linked +# independent module, the terms and conditions of the license of that +# module. An independent module is a module which is not derived from +# or based on this library. If you modify this library, you may extend +# this exception to your version of the library, but you are not +# obligated to do so. If you do not wish to do so, delete this +# exception statement from your version. + +Main.Usage=Usage: tnameserv [OPTIONS] +Main.ORBInitialPort=port on which naming service is to be started +Main.Port=PORT +Main.IOR=file in which to store naming service's IOR reference +Main.IORFile=FILE +Main.InternalError=tnameserv: internal error: diff --git a/tools/resource/sun/rmi/rmic/messages.properties b/tools/resource/sun/rmi/rmic/messages.properties new file mode 100644 index 000000000..4c897fd5e --- /dev/null +++ b/tools/resource/sun/rmi/rmic/messages.properties @@ -0,0 +1,38 @@ +# messages.properties -- English language messages +# Copyright (C) 2007 Free Software Foundation, Inc. +# +# This file is part of GNU Classpath. +# +# GNU Classpath is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# GNU Classpath is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Classpath; see the file COPYING. If not, write to the +# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301 USA. +# +# Linking this library statically or dynamically with other modules is +# making a combined work based on this library. Thus, the terms and +# conditions of the GNU General Public License cover the whole +# combination. +# +# As a special exception, the copyright holders of this library give you +# permission to link this library with independent modules to produce an +# executable, regardless of the license terms of these independent +# modules, and to copy and distribute the resulting executable under +# terms of your choice, provided that you also meet, for each linked +# independent module, the terms and conditions of the license of that +# module. An independent module is a module which is not derived from +# or based on this library. If you modify this library, you may extend +# this exception to your version of the library, but you are not +# obligated to do so. If you do not wish to do so, delete this +# exception statement from your version. + +Main.InternalError:sun.rmi.rmic: failed to run rmic main method -- cgit v1.2.1