You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "J.W. Janssen (JIRA)" <ji...@apache.org> on 2016/01/19 16:45:39 UTC

[jira] [Commented] (FELIX-3494) Missing motd should not produce error message

    [ https://issues.apache.org/jira/browse/FELIX-3494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15106890#comment-15106890 ] 

J.W. Janssen commented on FELIX-3494:
-------------------------------------

Actually, the idea is that you include your own gosh_profile in case you want custom behaviour. However, it could be handy that you sometimes want to suppress the printing of the motd when starting Gogo.
I've added an option (`-q` or `--quiet`) to suppress printing the motd in rev #1725549. 

> Missing motd should not produce error message
> ---------------------------------------------
>
>                 Key: FELIX-3494
>                 URL: https://issues.apache.org/jira/browse/FELIX-3494
>             Project: Felix
>          Issue Type: Improvement
>          Components: Gogo Shell
>         Environment: Mac OS X, Java 6, Virgo kernel, Gogo 0.10.0
>            Reporter: Glyn Normington
>            Priority: Minor
>
> After upgrading from Gogo 0.8.0.v201105062003 to 0.10.0, an error message is displayed when logging in to the shell. It would be nice if no error message was produced if no motd is provided as the documentation (http://felix.apache.org/site/apache-felix-gogo.html) does not say how to disable the motd.
> The error message is, for example:
> jar:file:/Users/glynnormington/eclipse/virgo/org.eclipse.virgo.kernel/build-kernel/target/package-expanded/virgo-kernel-3.5.0.BUILD-20120430124155/plugins/org.apache.felix.gogo.shell_0.10.0.jar!/gosh_profile:
> ERROR: java.io.FileNotFoundException:
> /Users/glynnormington/eclipse/virgo/org.eclipse.virgo.kernel/build-kernel/target/package-expanded/virgo-kernel-3.5.0.BUILD-20120430124155/motd
> (No such file or directory)
> See the related bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=378076



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)