2362N/A * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved. 430N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 430N/A * This code is free software; you can redistribute it and/or modify it 430N/A * under the terms of the GNU General Public License version 2 only, as 2362N/A * published by the Free Software Foundation. Oracle designates this 430N/A * particular file as subject to the "Classpath" exception as provided 2362N/A * by Oracle in the LICENSE file that accompanied this code. 430N/A * This code is distributed in the hope that it will be useful, but WITHOUT 430N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 430N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 430N/A * version 2 for more details (a copy is included in the LICENSE file that 430N/A * accompanied this code). 430N/A * You should have received a copy of the GNU General Public License version 430N/A * 2 along with this work; if not, write to the Free Software Foundation, 430N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2362N/A * or visit www.oracle.com if you need additional information or have any * JRMP rmic back end; generates source code for JRMP stub and * WARNING: The contents of this source file are not part of any * supported API. Code that depends on them does so at its own risk: * they are subject to change or removal without notice. /** version of the JRMP stub protocol to generate code for */ * Creates a new JrmpGenerator. * The JRMP generator recognizes command line options for * selecting the JRMP stub protocol version to generate classes * for. Only one such option is allowed. * The JRMP generator does not require an environment class more * specific than BatchEnvironment. * Generates the source file(s) for the JRMP stub class and * (optionally) skeleton class for the specified remote return;
// an error must have occurred * If skeleton files are not being generated for this run, * delete old skeleton source or class files for this * remote implementation class that were (presumably) left * over from previous runs, to avoid user confusion from * extraneous or inconsistent generated files. * Returns the File object to be used as the source file for a * class with the specified binary name, with the specified * destination directory as the top of the package hierarchy. * Returns the File object to be used as the class file for a * class with the specified binary name, with the supplied * destination directory as the top of the package hierarchy. * Make sure that the directory for this package exists. * We assume that the caller has verified that the top- * level destination directory exists, so we need not * worry about creating it unintentionally.