Revision: 5677 http://jnode.svn.sourceforge.net/jnode/?rev=5677&view=rev Author: crawley Date: 2009-09-10 13:32:36 +0000 (Thu, 10 Sep 2009)
Log Message: ----------- Delete a couple of stragglers Removed Paths: ------------- branches/jikesRVM/shell/src/shell/org/jnode/shell/command/DefaultCompilerCommand.java branches/jikesRVM/shell/src/shell/org/jnode/shell/help/InetAddressArgument.java Deleted: branches/jikesRVM/shell/src/shell/org/jnode/shell/command/DefaultCompilerCommand.java =================================================================== --- branches/jikesRVM/shell/src/shell/org/jnode/shell/command/DefaultCompilerCommand.java 2009-09-10 12:23:51 UTC (rev 5676) +++ branches/jikesRVM/shell/src/shell/org/jnode/shell/command/DefaultCompilerCommand.java 2009-09-10 13:32:36 UTC (rev 5677) @@ -1,49 +0,0 @@ -/* - * $Id: CompileCommand.java 2224 2006-01-01 12:49:03Z epr $ - * - * JNode.org - * Copyright (C) 2003-2006 JNode.org - * - * This library is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation; either version 2.1 of the License, or - * (at your option) any later version. - * - * This library 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 Lesser General Public - * License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this library; If not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ - -package org.jnode.shell.command; - -import org.jnode.shell.help.Help; -import org.jnode.shell.help.IntegerArgument; -import org.jnode.shell.help.Parameter; -import org.jnode.shell.help.ParsedArguments; -import org.jnode.vm.LoadCompileService; - -/** - * @author Mohammad Ansari (ansar...@users.sourceforge.net) - */ - -public class DefaultCompilerCommand { - - static final IntegerArgument ARG_LEVEL = new IntegerArgument("number", "the compiler number (usually JikesOpt is 2"); - - public static Help.Info HELP_INFO = new Help.Info("defcomp", "Set default compiler", new Parameter[] { new Parameter(ARG_LEVEL, Parameter.MANDATORY)}); - - public static void main(String[] args) throws Exception { - final ParsedArguments cmdLine = HELP_INFO.parse(args); - - final int level = ARG_LEVEL.getInteger(cmdLine); - - LoadCompileService.setDefaultCompiler(level); - System.out.println("Default compiler id now: " + level); - } - -} Deleted: branches/jikesRVM/shell/src/shell/org/jnode/shell/help/InetAddressArgument.java =================================================================== --- branches/jikesRVM/shell/src/shell/org/jnode/shell/help/InetAddressArgument.java 2009-09-10 12:23:51 UTC (rev 5676) +++ branches/jikesRVM/shell/src/shell/org/jnode/shell/help/InetAddressArgument.java 2009-09-10 13:32:36 UTC (rev 5677) @@ -1,55 +0,0 @@ -/* - * $Id: $ - * - * JNode.org - * Copyright (C) 2003-2006 JNode.org - * - * This library is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation; either version 2.1 of the License, or - * (at your option) any later version. - * - * This library 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 Lesser General Public - * License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this library; If not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ - -package org.jnode.shell.help; - -import java.net.*; - -/** - * @author Martin Husted Hartvig (ha...@jnode.org) - */ -public class InetAddressArgument extends Argument -{ - - /** - * @param name - * @param description - */ - public InetAddressArgument(String name, String description) - { - super(name, description); - } - - /** - * @param name - * @param description - * @param multi - */ - public InetAddressArgument(String name, String description, boolean multi) - { - super(name, description, multi); - } - - public InetAddress getAddress(ParsedArguments args) throws UnknownHostException - { - return InetAddress.getByName(this.getValue(args)); - } -} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Jnode-svn-commits mailing list Jnode-svn-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jnode-svn-commits