Return-Path: Delivered-To: apmail-geronimo-scm-archive@www.apache.org Received: (qmail 7998 invoked from network); 31 May 2008 07:33:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 May 2008 07:33:21 -0000 Received: (qmail 47959 invoked by uid 500); 31 May 2008 07:33:23 -0000 Delivered-To: apmail-geronimo-scm-archive@geronimo.apache.org Received: (qmail 47912 invoked by uid 500); 31 May 2008 07:33:23 -0000 Mailing-List: contact scm-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list scm@geronimo.apache.org Received: (qmail 47903 invoked by uid 99); 31 May 2008 07:33:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 May 2008 00:33:23 -0700 X-ASF-Spam-Status: No, hits=-1998.9 required=10.0 tests=ALL_TRUSTED,FB_GET_MEDS X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 May 2008 07:32:33 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 726E623889BA; Sat, 31 May 2008 00:32:53 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r661969 - in /geronimo/gshell/trunk: ./ gshell-api/ gshell-api/gshell-command-annotation/ gshell-api/gshell-command-support/ gshell-api/gshell-command/ gshell-api/gshell-shell/ gshell-api/src/ gshell-api/src/main/ gshell-api/src/main/java/ ... Date: Sat, 31 May 2008 07:32:52 -0000 To: scm@geronimo.apache.org From: jdillon@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080531073253.726E623889BA@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: jdillon Date: Sat May 31 00:32:51 2008 New Revision: 661969 URL: http://svn.apache.org/viewvc?rev=661969&view=rev Log: Fix up the mess I made with the api modules, use only gshell-api, and move CommandSupport to gshell-command-support Added: geronimo/gshell/trunk/gshell-api/pom.xml (with props) geronimo/gshell/trunk/gshell-api/src/ geronimo/gshell/trunk/gshell-api/src/main/ geronimo/gshell/trunk/gshell-api/src/main/java/ geronimo/gshell/trunk/gshell-api/src/main/java/org/ geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/ geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/ geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/ geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/ErrorNotification.java (with props) geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/ExitNotification.java (with props) geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/ geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/Command.java (with props) geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandContext.java (with props) geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandException.java (with props) geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandExecutor.java (with props) geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandInfo.java (with props) geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/Variables.java (with props) geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/annotation/ geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/annotation/CommandComponent.java (with props) geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Dependency.java (with props) geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Parameter.java (with props) geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Requirement.java (with props) geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/ geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/Environment.java (with props) geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/InteractiveShell.java (with props) geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/Shell.java (with props) geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/ShellInfo.java (with props) geronimo/gshell/trunk/gshell-api/src/test/ geronimo/gshell/trunk/gshell-api/src/test/java/ geronimo/gshell/trunk/gshell-commands/gshell-command-support/ geronimo/gshell/trunk/gshell-commands/gshell-command-support/pom.xml (with props) Removed: geronimo/gshell/trunk/gshell-api/gshell-command/ geronimo/gshell/trunk/gshell-api/gshell-command-annotation/ geronimo/gshell/trunk/gshell-api/gshell-command-support/ geronimo/gshell/trunk/gshell-api/gshell-shell/ Modified: geronimo/gshell/trunk/gshell-buildsupport/gshell-maven-plugin/pom.xml geronimo/gshell/trunk/gshell-commands/gshell-bsf/pom.xml geronimo/gshell/trunk/gshell-commands/gshell-builtins/pom.xml geronimo/gshell/trunk/gshell-commands/gshell-optional/pom.xml geronimo/gshell/trunk/gshell-commands/gshell-repository/pom.xml geronimo/gshell/trunk/gshell-commands/gshell-vfs/pom.xml geronimo/gshell/trunk/gshell-commands/pom.xml geronimo/gshell/trunk/gshell-core/pom.xml geronimo/gshell/trunk/gshell-plugin/pom.xml geronimo/gshell/trunk/gshell-plugin/src/main/java/org/apache/geronimo/gshell/application/DefaultApplicationManager.java geronimo/gshell/trunk/gshell-remote/pom.xml geronimo/gshell/trunk/pom.xml Added: geronimo/gshell/trunk/gshell-api/pom.xml URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-api/pom.xml?rev=661969&view=auto ============================================================================== --- geronimo/gshell/trunk/gshell-api/pom.xml (added) +++ geronimo/gshell/trunk/gshell-api/pom.xml Sat May 31 00:32:51 2008 @@ -0,0 +1,47 @@ + + + + + + + + 4.0.0 + + + org.apache.geronimo.gshell + gshell + 1.0-alpha-2-SNAPSHOT + + + gshell-api + GShell API + + + GShell API. + + + + + org.apache.geronimo.gshell.support + gshell-io + + + + \ No newline at end of file Propchange: geronimo/gshell/trunk/gshell-api/pom.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/gshell/trunk/gshell-api/pom.xml ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: geronimo/gshell/trunk/gshell-api/pom.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Added: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/ErrorNotification.java URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/ErrorNotification.java?rev=661969&view=auto ============================================================================== --- geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/ErrorNotification.java (added) +++ geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/ErrorNotification.java Sat May 31 00:32:51 2008 @@ -0,0 +1,49 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.geronimo.gshell; + +import org.apache.geronimo.gshell.common.Notification; + +/** + * Thrown to indicate an error notification state. + * + * @version $Rev$ $Date$ + */ +public class ErrorNotification + extends Notification +{ + ///CLOVER:OFF + + public ErrorNotification(final String msg) { + super(msg); + } + + public ErrorNotification(final String msg, final Throwable cause) { + super(msg, cause); + } + + public ErrorNotification(final Throwable cause) { + super(cause); + } + + public ErrorNotification() { + super(); + } +} Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/ErrorNotification.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/ErrorNotification.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/ErrorNotification.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/ExitNotification.java URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/ExitNotification.java?rev=661969&view=auto ============================================================================== --- geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/ExitNotification.java (added) +++ geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/ExitNotification.java Sat May 31 00:32:51 2008 @@ -0,0 +1,57 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.geronimo.gshell; + +import org.apache.geronimo.gshell.common.Notification; + +/** + * Thrown to indicate that the current shell should exit. + * + * @version $Rev$ $Date$ + */ +public class ExitNotification + extends Notification +{ + ///CLOVER:OFF + + public static final int DEFAULT_CODE = 0; + + public static final int ERROR_CODE = 1; + + public static final int FATAL_CODE = 2; + + public final int code; + + public ExitNotification(final int code) { + this.code = code; + } + + public ExitNotification() { + this(DEFAULT_CODE); + } + + public static void exit(final int code) { + throw new ExitNotification(code); + } + + public static void exit() { + throw new ExitNotification(); + } +} Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/ExitNotification.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/ExitNotification.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/ExitNotification.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/Command.java URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/Command.java?rev=661969&view=auto ============================================================================== --- geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/Command.java (added) +++ geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/Command.java Sat May 31 00:32:51 2008 @@ -0,0 +1,55 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.geronimo.gshell.command; + +/** + * Provides the basic interface for commands. + * + * @version $Rev$ $Date$ + */ +public interface Command +{ + /** Standard command success status code. */ + Result SUCCESS = Result.SUCCESS; + + /** Standard command failure status code. */ + Result FAILURE = Result.FAILURE; + + @Deprecated + String getId(); + + @Deprecated + String getDescription(); + + /** + * Execute the commands behavior. + */ + Object execute(CommandContext context, Object... args) throws Exception; + + // + // Result + // + + enum Result + { + SUCCESS, + FAILURE + } +} Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/Command.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/Command.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/Command.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandContext.java URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandContext.java?rev=661969&view=auto ============================================================================== --- geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandContext.java (added) +++ geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandContext.java Sat May 31 00:32:51 2008 @@ -0,0 +1,36 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.geronimo.gshell.command; + +import org.apache.geronimo.gshell.io.IO; + +/** + * Provides commands with the context of its execution. + * + * @version $Rev$ $Date$ + */ +public interface CommandContext +{ + IO getIO(); + + Variables getVariables(); + + CommandInfo getInfo(); +} \ No newline at end of file Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandContext.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandContext.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandContext.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandException.java URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandException.java?rev=661969&view=auto ============================================================================== --- geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandException.java (added) +++ geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandException.java Sat May 31 00:32:51 2008 @@ -0,0 +1,47 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.geronimo.gshell.command; + +/** + * A command exception. + * + * @version $Rev$ $Date$ + */ +public class CommandException + extends Exception +{ + ///CLOVER:OFF + + public CommandException(final String msg) { + super(msg); + } + + public CommandException(final String msg, final Throwable cause) { + super(msg, cause); + } + + public CommandException(final Throwable cause) { + super(cause); + } + + public CommandException() { + super(); + } +} \ No newline at end of file Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandException.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandException.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandException.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandExecutor.java URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandExecutor.java?rev=661969&view=auto ============================================================================== --- geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandExecutor.java (added) +++ geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandExecutor.java Sat May 31 00:32:51 2008 @@ -0,0 +1,36 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.geronimo.gshell.command; + +/** + * Provides the ability to execute commands. + * + * @version $Rev$ $Date$ + */ +public interface CommandExecutor +{ + Object execute(String line) throws Exception; + + Object execute(String command, final Object[] args) throws Exception; + + Object execute(Object... args) throws Exception; + + Object execute(Object[][] commands) throws Exception; +} \ No newline at end of file Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandExecutor.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandExecutor.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandExecutor.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandInfo.java URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandInfo.java?rev=661969&view=auto ============================================================================== --- geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandInfo.java (added) +++ geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandInfo.java Sat May 31 00:32:51 2008 @@ -0,0 +1,54 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.geronimo.gshell.command; + +/** + * Details about the command. + * + * @version $Rev$ $Date$ + */ +public interface CommandInfo +{ + /** + * Returns the identifier for the command. + */ + String getId(); + + /** + * Returns the name of the command. + */ + String getName(); + + /** + * Returns the alias used to invoke the command if any. + * + * @return The alias used to invoke the command; null if not aliased. + */ + String getAlias(); + + // + // TODO: Add alias path? And/or expose layout node? + // + + /** + * Returns the full path of the command. + */ + String getPath(); +} \ No newline at end of file Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandInfo.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandInfo.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandInfo.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/Variables.java URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/Variables.java?rev=661969&view=auto ============================================================================== --- geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/Variables.java (added) +++ geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/Variables.java Sat May 31 00:32:51 2008 @@ -0,0 +1,64 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.geronimo.gshell.command; + +import java.util.Iterator; + +/** + * Provides command instances with nested namespace for storing context. + * + * @version $Rev$ $Date$ + */ +public interface Variables +{ + void set(String name, Object value) throws ImmutableVariableException; + + void set(String name, Object value, boolean mutable) throws ImmutableVariableException; + + Object get(String name); + + Object get(String name, Object _default); + + boolean isMutable(String name); + + boolean isCloaked(String name); + + void unset(String name) throws ImmutableVariableException; + + boolean contains(String name); + + Iterator names(); + + Variables parent(); + + // + // Exceptions + // + + class ImmutableVariableException + extends RuntimeException + { + ///CLOVER:OFF + + public ImmutableVariableException(final String name) { + super("Variable is immutable: " + name); + } + } +} Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/Variables.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/Variables.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/Variables.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/annotation/CommandComponent.java URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/annotation/CommandComponent.java?rev=661969&view=auto ============================================================================== --- geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/annotation/CommandComponent.java (added) +++ geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/annotation/CommandComponent.java Sat May 31 00:32:51 2008 @@ -0,0 +1,49 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.geronimo.gshell.command.annotation; + +import java.lang.annotation.Documented; +import java.lang.annotation.ElementType; +import java.lang.annotation.Inherited; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +// +// TODO: Maybe re-name the Command intf to Executable, and then rename this to Command? +// + +/** + * Defines a command componet. + * + * @version $Rev$ $Date$ + */ +@Documented +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +@Inherited +public @interface CommandComponent +{ + String id(); + + String description() default ""; + + String version() default ""; +} \ No newline at end of file Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/annotation/CommandComponent.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/annotation/CommandComponent.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/annotation/CommandComponent.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Dependency.java URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Dependency.java?rev=661969&view=auto ============================================================================== --- geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Dependency.java (added) +++ geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Dependency.java Sat May 31 00:32:51 2008 @@ -0,0 +1,47 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.geronimo.gshell.command.annotation; + +import java.lang.annotation.Documented; +import java.lang.annotation.ElementType; +import java.lang.annotation.Inherited; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +/** + * Defines a depedency of a command. + * + * @version $Rev$ $Date$ + */ +@Documented +@Retention(RetentionPolicy.RUNTIME) +@Target({ ElementType.TYPE }) +@Inherited +public @interface Dependency +{ + String groupId(); + + String artifactId(); + + String version(); + + String type(); +} \ No newline at end of file Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Dependency.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Dependency.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Dependency.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Parameter.java URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Parameter.java?rev=661969&view=auto ============================================================================== --- geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Parameter.java (added) +++ geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Parameter.java Sat May 31 00:32:51 2008 @@ -0,0 +1,43 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.geronimo.gshell.command.annotation; + +import java.lang.annotation.Documented; +import java.lang.annotation.ElementType; +import java.lang.annotation.Inherited; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +/** + * Defines a parameter of a command. + * + * @version $Rev$ $Date$ + */ +@Documented +@Retention(RetentionPolicy.RUNTIME) +@Target({ ElementType.FIELD, ElementType.METHOD }) +@Inherited +public @interface Parameter +{ + String name(); + + String value() default ""; +} \ No newline at end of file Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Parameter.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Parameter.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Parameter.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Requirement.java URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Requirement.java?rev=661969&view=auto ============================================================================== --- geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Requirement.java (added) +++ geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Requirement.java Sat May 31 00:32:51 2008 @@ -0,0 +1,45 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.geronimo.gshell.command.annotation; + +import java.lang.annotation.Documented; +import java.lang.annotation.ElementType; +import java.lang.annotation.Inherited; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +/** + * Defines a requirement of a command. + * + * @version $Rev$ $Date$ + */ +@Documented +@Retention(RetentionPolicy.RUNTIME) +@Target({ ElementType.FIELD, ElementType.METHOD }) +@Inherited +public @interface Requirement +{ + String name() default ""; + + Class type() default Void.class; + + String id() default ""; +} \ No newline at end of file Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Requirement.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Requirement.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Requirement.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/Environment.java URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/Environment.java?rev=661969&view=auto ============================================================================== --- geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/Environment.java (added) +++ geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/Environment.java Sat May 31 00:32:51 2008 @@ -0,0 +1,37 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.geronimo.gshell.shell; + +import org.apache.geronimo.gshell.io.IO; +import org.apache.geronimo.gshell.command.Variables; + +/** + * Abstraction of the environment of a shell. + * + * @version $Rev$ $Date$ + */ +public interface Environment +{ + // TODO: Rename to ShellContext + + IO getIO(); + + Variables getVariables(); +} \ No newline at end of file Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/Environment.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/Environment.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/Environment.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/InteractiveShell.java URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/InteractiveShell.java?rev=661969&view=auto ============================================================================== --- geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/InteractiveShell.java (added) +++ geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/InteractiveShell.java Sat May 31 00:32:51 2008 @@ -0,0 +1,31 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.geronimo.gshell.shell; + +/** + * An extention of the {@link Shell} interface for implementations that can be run interactivly. + * + * @version $Rev$ $Date$ + */ +public interface InteractiveShell + extends Shell +{ + void run(Object... args) throws Exception; +} \ No newline at end of file Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/InteractiveShell.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/InteractiveShell.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/InteractiveShell.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/Shell.java URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/Shell.java?rev=661969&view=auto ============================================================================== --- geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/Shell.java (added) +++ geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/Shell.java Sat May 31 00:32:51 2008 @@ -0,0 +1,35 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.geronimo.gshell.shell; + +import org.apache.geronimo.gshell.command.CommandExecutor; + +/** + * This is the primary interface to executing commands. + * + * @version $Rev$ $Date$ + */ +public interface Shell + extends CommandExecutor +{ + ShellInfo getShellInfo(); + + Environment getEnvironment(); +} Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/Shell.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/Shell.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/Shell.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/ShellInfo.java URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/ShellInfo.java?rev=661969&view=auto ============================================================================== --- geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/ShellInfo.java (added) +++ geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/ShellInfo.java Sat May 31 00:32:51 2008 @@ -0,0 +1,37 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.geronimo.gshell.shell; + +import java.io.File; +import java.net.InetAddress; + +/** + * Provides some runtime information about the shell. + * + * @version $Rev$ $Date$ + */ +public interface ShellInfo +{ + File getHomeDir(); + + InetAddress getLocalHost(); + + String getUserName(); +} \ No newline at end of file Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/ShellInfo.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/ShellInfo.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/ShellInfo.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: geronimo/gshell/trunk/gshell-buildsupport/gshell-maven-plugin/pom.xml URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-buildsupport/gshell-maven-plugin/pom.xml?rev=661969&r1=661968&r2=661969&view=diff ============================================================================== --- geronimo/gshell/trunk/gshell-buildsupport/gshell-maven-plugin/pom.xml (original) +++ geronimo/gshell/trunk/gshell-buildsupport/gshell-maven-plugin/pom.xml Sat May 31 00:32:51 2008 @@ -38,8 +38,8 @@ - org.apache.geronimo.gshell.api - gshell-command-annotation + org.apache.geronimo.gshell + gshell-api Modified: geronimo/gshell/trunk/gshell-commands/gshell-bsf/pom.xml URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-commands/gshell-bsf/pom.xml?rev=661969&r1=661968&r2=661969&view=diff ============================================================================== --- geronimo/gshell/trunk/gshell-commands/gshell-bsf/pom.xml (original) +++ geronimo/gshell/trunk/gshell-commands/gshell-bsf/pom.xml Sat May 31 00:32:51 2008 @@ -39,6 +39,11 @@ + org.apache.geronimo.gshell.commands + gshell-command-support + + + org.apache.geronimo.gshell gshell-core @@ -49,5 +54,6 @@ 2.3.0 - + + \ No newline at end of file Modified: geronimo/gshell/trunk/gshell-commands/gshell-builtins/pom.xml URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-commands/gshell-builtins/pom.xml?rev=661969&r1=661968&r2=661969&view=diff ============================================================================== --- geronimo/gshell/trunk/gshell-commands/gshell-builtins/pom.xml (original) +++ geronimo/gshell/trunk/gshell-commands/gshell-builtins/pom.xml Sat May 31 00:32:51 2008 @@ -36,11 +36,11 @@ Provides the default "built-in" commands. - + - org.apache.geronimo.gshell.support - gshell-ansi + org.apache.geronimo.gshell.commands + gshell-command-support Added: geronimo/gshell/trunk/gshell-commands/gshell-command-support/pom.xml URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-commands/gshell-command-support/pom.xml?rev=661969&view=auto ============================================================================== --- geronimo/gshell/trunk/gshell-commands/gshell-command-support/pom.xml (added) +++ geronimo/gshell/trunk/gshell-commands/gshell-command-support/pom.xml Sat May 31 00:32:51 2008 @@ -0,0 +1,62 @@ + + + + + + + + 4.0.0 + + + org.apache.geronimo.gshell.commands + gshell-commands + 1.0-alpha-2-SNAPSHOT + + + gshell-command-support + GShell Commands :: Support + + + Provides support for command implementations. + + + + + org.slf4j + slf4j-api + + + + org.apache.geronimo.gshell.support + gshell-common + + + + org.apache.geronimo.gshell.support + gshell-clp + + + + org.apache.geronimo.gshell + gshell-api + + + + \ No newline at end of file Propchange: geronimo/gshell/trunk/gshell-commands/gshell-command-support/pom.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/gshell/trunk/gshell-commands/gshell-command-support/pom.xml ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: geronimo/gshell/trunk/gshell-commands/gshell-command-support/pom.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Modified: geronimo/gshell/trunk/gshell-commands/gshell-optional/pom.xml URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-commands/gshell-optional/pom.xml?rev=661969&r1=661968&r2=661969&view=diff ============================================================================== --- geronimo/gshell/trunk/gshell-commands/gshell-optional/pom.xml (original) +++ geronimo/gshell/trunk/gshell-commands/gshell-optional/pom.xml Sat May 31 00:32:51 2008 @@ -37,4 +37,11 @@ Provides some optional commands. + + + org.apache.geronimo.gshell.commands + gshell-command-support + + + \ No newline at end of file Modified: geronimo/gshell/trunk/gshell-commands/gshell-repository/pom.xml URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-commands/gshell-repository/pom.xml?rev=661969&r1=661968&r2=661969&view=diff ============================================================================== --- geronimo/gshell/trunk/gshell-commands/gshell-repository/pom.xml (original) +++ geronimo/gshell/trunk/gshell-commands/gshell-repository/pom.xml Sat May 31 00:32:51 2008 @@ -39,6 +39,11 @@ + org.apache.geronimo.gshell.commands + gshell-command-support + + + org.apache.geronimo.gshell.support gshell-artifact Modified: geronimo/gshell/trunk/gshell-commands/gshell-vfs/pom.xml URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-commands/gshell-vfs/pom.xml?rev=661969&r1=661968&r2=661969&view=diff ============================================================================== --- geronimo/gshell/trunk/gshell-commands/gshell-vfs/pom.xml (original) +++ geronimo/gshell/trunk/gshell-commands/gshell-vfs/pom.xml Sat May 31 00:32:51 2008 @@ -39,6 +39,11 @@ + org.apache.geronimo.gshell.commands + gshell-command-support + + + commons-vfs commons-vfs Modified: geronimo/gshell/trunk/gshell-commands/pom.xml URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-commands/pom.xml?rev=661969&r1=661968&r2=661969&view=diff ============================================================================== --- geronimo/gshell/trunk/gshell-commands/pom.xml (original) +++ geronimo/gshell/trunk/gshell-commands/pom.xml Sat May 31 00:32:51 2008 @@ -39,14 +39,8 @@ Collection of commands for GShell functionality. - - - org.apache.geronimo.gshell.api - gshell-command-support - - - + gshell-command-support gshell-builtins gshell-optional gshell-repository Modified: geronimo/gshell/trunk/gshell-core/pom.xml URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-core/pom.xml?rev=661969&r1=661968&r2=661969&view=diff ============================================================================== --- geronimo/gshell/trunk/gshell-core/pom.xml (original) +++ geronimo/gshell/trunk/gshell-core/pom.xml Sat May 31 00:32:51 2008 @@ -49,13 +49,8 @@ - org.apache.geronimo.gshell.api - gshell-command - - - - org.apache.geronimo.gshell.api - gshell-shell + org.apache.geronimo.gshell + gshell-api Modified: geronimo/gshell/trunk/gshell-plugin/pom.xml URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-plugin/pom.xml?rev=661969&r1=661968&r2=661969&view=diff ============================================================================== --- geronimo/gshell/trunk/gshell-plugin/pom.xml (original) +++ geronimo/gshell/trunk/gshell-plugin/pom.xml Sat May 31 00:32:51 2008 @@ -49,16 +49,11 @@ - org.apache.geronimo.gshell.api - gshell-command + org.apache.geronimo.gshell + gshell-api - org.apache.geronimo.gshell.api - gshell-shell - - - org.apache.geronimo.gshell gshell-model Modified: geronimo/gshell/trunk/gshell-plugin/src/main/java/org/apache/geronimo/gshell/application/DefaultApplicationManager.java URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-plugin/src/main/java/org/apache/geronimo/gshell/application/DefaultApplicationManager.java?rev=661969&r1=661968&r2=661969&view=diff ============================================================================== --- geronimo/gshell/trunk/gshell-plugin/src/main/java/org/apache/geronimo/gshell/application/DefaultApplicationManager.java (original) +++ geronimo/gshell/trunk/gshell-plugin/src/main/java/org/apache/geronimo/gshell/application/DefaultApplicationManager.java Sat May 31 00:32:51 2008 @@ -237,7 +237,7 @@ excludes.add("gshell-artifact"); excludes.add("gshell-cli"); excludes.add("gshell-clp"); - excludes.add("gshell-command-api"); + excludes.add("gshell-api"); excludes.add("gshell-common"); excludes.add("gshell-diet-log4j"); excludes.add("gshell-i18n"); Modified: geronimo/gshell/trunk/gshell-remote/pom.xml URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-remote/pom.xml?rev=661969&r1=661968&r2=661969&view=diff ============================================================================== --- geronimo/gshell/trunk/gshell-remote/pom.xml (original) +++ geronimo/gshell/trunk/gshell-remote/pom.xml Sat May 31 00:32:51 2008 @@ -41,7 +41,7 @@ - org.apache.geronimo.gshell.api + org.apache.geronimo.gshell.commands gshell-command-support Modified: geronimo/gshell/trunk/pom.xml URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/pom.xml?rev=661969&r1=661968&r2=661969&view=diff ============================================================================== --- geronimo/gshell/trunk/pom.xml (original) +++ geronimo/gshell/trunk/pom.xml Sat May 31 00:32:51 2008 @@ -332,30 +332,12 @@ - org.apache.geronimo.gshell.api - gshell-command - 1.0-alpha-2-SNAPSHOT - - - - org.apache.geronimo.gshell.api - gshell-command-annotation - 1.0-alpha-2-SNAPSHOT - - - - org.apache.geronimo.gshell.api - gshell-command-support + org.apache.geronimo.gshell + gshell-api 1.0-alpha-2-SNAPSHOT - org.apache.geronimo.gshell.api - gshell-shell - 1.0-alpha-2-SNAPSHOT - - - org.apache.geronimo.gshell gshell-parser 1.0-alpha-2-SNAPSHOT @@ -423,6 +405,12 @@ org.apache.geronimo.gshell.commands + gshell-command-support + 1.0-alpha-2-SNAPSHOT + + + + org.apache.geronimo.gshell.commands gshell-builtins 1.0-alpha-2-SNAPSHOT @@ -476,10 +464,10 @@ gshell-buildsupport gshell-diet + gshell-api gshell-support gshell-bootstrap gshell-model - gshell-api gshell-plugin gshell-parser gshell-core