You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Derek Baum (JIRA)" <ji...@apache.org> on 2009/10/01 00:55:23 UTC
[jira] Created: (FELIX-1671) [gogo] provide adaptor for existing
felix commands
[gogo] provide adaptor for existing felix commands
--------------------------------------------------
Key: FELIX-1671
URL: https://issues.apache.org/jira/browse/FELIX-1671
Project: Felix
Issue Type: Improvement
Affects Versions: gogo-0.2.0
Reporter: Derek Baum
Priority: Minor
Fix For: gogo-0.4.0
gogo should provide a command adaptor for existing felix commands, so for example, if the existing felix-shell bundle is installed, familiar commands such as 'ps' should be available in the felix: scope.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-1671) [gogo] provide adaptor for existing
felix commands
Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761143#action_12761143 ]
Richard S. Hall commented on FELIX-1671:
----------------------------------------
If we have this, then possibly we can start including Gogo in the framework distribution releases and letting people choose which shell they want to use.
> [gogo] provide adaptor for existing felix commands
> --------------------------------------------------
>
> Key: FELIX-1671
> URL: https://issues.apache.org/jira/browse/FELIX-1671
> Project: Felix
> Issue Type: Improvement
> Affects Versions: gogo-0.2.0
> Reporter: Derek Baum
> Priority: Minor
> Fix For: gogo-0.4.0
>
>
> gogo should provide a command adaptor for existing felix commands, so for example, if the existing felix-shell bundle is installed, familiar commands such as 'ps' should be available in the felix: scope.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (FELIX-1671) [gogo] provide adaptor for existing
felix commands
Posted by "Derek Baum (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Derek Baum resolved FELIX-1671.
-------------------------------
Resolution: Fixed
added felix command adaptor to gogo.
To use it, remove the shell-tui bundle and add the gogo runtime and console bundles to the default distribution:
$ cd felix-framework-2.0.0
$ ls bundle/
org.apache.felix.bundlerepository-1.4.1.jar
org.apache.felix.gogo.console-0.3.0-SNAPSHOT.jar
org.apache.felix.gogo.runtime-0.3.0-SNAPSHOT.jar
org.apache.felix.shell-1.4.0.jar
$ java -jar bin/felix.jar
Welcome to Felix
================
$ ps
START LEVEL 1
ID State Level Name
[ 0] [Active ] [ 0] System Bundle (2.0.0)
[ 1] [Active ] [ 1] Apache Felix Bundle Repository (1.4.1)
[ 2] [Active ] [ 1] Apache Felix Gogo Shell Console (0.3.0.SNAPSHOT)
[ 3] [Active ] [ 1] Apache Felix Gogo Shell Runtime (0.3.0.SNAPSHOT)
[ 4] [Active ] [ 1] Apache Felix Shell Service (1.4.0)
$ help
bundlelevel
cd
find
headers
help
inspect
install
log
obr
ps
refresh
resolve
shutdown
start
startlevel
stop
uninstall
update
version
Use 'help <command-name>' for more information.
# Note: gogo can now be used to provide the get/set system properties command that was requested in a recent Jira:
$ addcommand system (loadClass java.lang.System)
$ system:properties | grep java
java.version 1.5.0_19
java.class.path bin/felix.jar
java.awt.graphicsenvapple.awt.CGraphicsEnvironment
java.specification.vendorSun Microsystems Inc
...
$ system:setproperty gogo go
$ system:getproperty gogo
go
$ shutdown
> [gogo] provide adaptor for existing felix commands
> --------------------------------------------------
>
> Key: FELIX-1671
> URL: https://issues.apache.org/jira/browse/FELIX-1671
> Project: Felix
> Issue Type: Improvement
> Affects Versions: gogo-0.2.0
> Reporter: Derek Baum
> Assignee: Derek Baum
> Priority: Minor
> Fix For: gogo-0.4.0
>
>
> gogo should provide a command adaptor for existing felix commands, so for example, if the existing felix-shell bundle is installed, familiar commands such as 'ps' should be available in the felix: scope.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-1671) [gogo] provide adaptor for existing
felix commands
Posted by "Derek Baum (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761344#action_12761344 ]
Derek Baum commented on FELIX-1671:
-----------------------------------
(FELIX-1653) [Shell] The new sysprop command does not allow to delete a system property
This can be achieved in gogo, without writing any code:
# add all methods on System object as commands
$ addcommand system (loadClass java.lang.System)
# delete the property gogo:
$ (properties) remove gogo
go
> [gogo] provide adaptor for existing felix commands
> --------------------------------------------------
>
> Key: FELIX-1671
> URL: https://issues.apache.org/jira/browse/FELIX-1671
> Project: Felix
> Issue Type: Improvement
> Affects Versions: gogo-0.2.0
> Reporter: Derek Baum
> Assignee: Derek Baum
> Priority: Minor
> Fix For: gogo-0.4.0
>
>
> gogo should provide a command adaptor for existing felix commands, so for example, if the existing felix-shell bundle is installed, familiar commands such as 'ps' should be available in the felix: scope.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (FELIX-1671) [gogo] provide adaptor for existing
felix commands
Posted by "Derek Baum (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Derek Baum reassigned FELIX-1671:
---------------------------------
Assignee: Derek Baum
> [gogo] provide adaptor for existing felix commands
> --------------------------------------------------
>
> Key: FELIX-1671
> URL: https://issues.apache.org/jira/browse/FELIX-1671
> Project: Felix
> Issue Type: Improvement
> Affects Versions: gogo-0.2.0
> Reporter: Derek Baum
> Assignee: Derek Baum
> Priority: Minor
> Fix For: gogo-0.4.0
>
>
> gogo should provide a command adaptor for existing felix commands, so for example, if the existing felix-shell bundle is installed, familiar commands such as 'ps' should be available in the felix: scope.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Work started: (FELIX-1671) [gogo] provide adaptor for
existing felix commands
Posted by "Derek Baum (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on FELIX-1671 started by Derek Baum.
> [gogo] provide adaptor for existing felix commands
> --------------------------------------------------
>
> Key: FELIX-1671
> URL: https://issues.apache.org/jira/browse/FELIX-1671
> Project: Felix
> Issue Type: Improvement
> Affects Versions: gogo-0.2.0
> Reporter: Derek Baum
> Assignee: Derek Baum
> Priority: Minor
> Fix For: gogo-0.4.0
>
>
> gogo should provide a command adaptor for existing felix commands, so for example, if the existing felix-shell bundle is installed, familiar commands such as 'ps' should be available in the felix: scope.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-1671) [gogo] provide adaptor for existing
felix commands
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet updated FELIX-1671:
-----------------------------------
Fix Version/s: (was: gogo-0.4.0)
gogo-0.2.2
> [gogo] provide adaptor for existing felix commands
> --------------------------------------------------
>
> Key: FELIX-1671
> URL: https://issues.apache.org/jira/browse/FELIX-1671
> Project: Felix
> Issue Type: Improvement
> Affects Versions: gogo-0.2.0
> Reporter: Derek Baum
> Assignee: Derek Baum
> Priority: Minor
> Fix For: gogo-0.2.2
>
>
> gogo should provide a command adaptor for existing felix commands, so for example, if the existing felix-shell bundle is installed, familiar commands such as 'ps' should be available in the felix: scope.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.