Somehow I missed those links.  However, they don't seem to be working:

I get a URL Not Found error:

The requested URL
/site/[preferred]/felix/org.apache.felix.gogo.runtime-0.10.0-project.tar
.gz was not found on this server.

I'm guessing [preferred] is supposed to be replaced with something?

David Humeniuk


-----Original Message-----
From: Per-Erik Svensson [mailto:[email protected]] 
Sent: Tuesday, September 27, 2011 8:55 PM
To: [email protected]
Subject: Re: Gogo causing framework to shutdown

Luckily, they can all be downloaded as both zip and tarballs from
http://felix.apache.org/site/downloads :)

When I played around with it the following documentation helped (some
JavaDoc is in there, but since it is a draft I don't know how valid
those
are nowadays).

http://felix.apache.org/site/rfc-147-overview.html
http://www.osgi.org/download/osgi-4.2-early-draft.pdf

But I was most helped by watching the sources though (and that is
documented
too of course).

Regards,
Per-Erik

On Tue, Sep 27, 2011 at 10:14 PM, <[email protected]> wrote:

> Thanks.  I figured there was a way to do this.  I'll let you know if I
> have any issues.
>
> On a related note, I'm looking for Javadocs of the Gogo API (not the
> implementation, but things like CommandProcessor).  Do those exist
> anywhere?  I'm behind a firewall so grabbing the source is a real
pain,
> unless it can be downloaded as a zip :)
>
> David Humeniuk
>
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of
> Derek Baum
> Sent: Tuesday, September 27, 2011 3:53 PM
> To: [email protected]
> Subject: Re: Gogo causing framework to shutdown
>
> On 27 September 2011 19:17, <[email protected]> wrote:
>
> > I'm using gogo 0.10.0 (command/runtime/shell).  Framework 3.2.2.
> >
> > I'm starting it as:
> >
> > "java -jar bin/felix.jar &"
> >
>
>
> backgrounding a process causes its standard input to come from
/dev/null
> (or
> it receives SIGSTOP when attempting to read stdin). bash behaves in
> exactly
> the same way:
>
> $ bash &
> [1] 81410
> $
> [1]+  Stopped                 bash
>
>
> You need to start gogo in non-interactive mode:
>
> g! gosh --help
> gosh - execute script with arguments in a new session
>  args are available as session variables $1..$9 and $args.
> Usage: gosh [OPTIONS] [script-file [args..]]
>  -c --command             pass all remaining args to sub-shell
>     --nointeractive       don't start interactive session
>     --login               login shell (same session, reads
> etc/gosh_profile)
>  -s --noshutdown          don't shutdown framework when script
> completes
>  -x --xtrace              echo commands before execution
>  -? --help                show help
> If no script-file, an interactive shell is started, type $D to exit.
>
>
> $ java -Dgosh.args=--noi -jar bin/felix.jar &
>
> Derek
>
>
> >
> > OR
> >
> > Through SSH to executes a script on a remote machine.  The script
just
> > starts Java normally.
> >
> > If I run the script from within the remote shell, I don't see the
> > problem.
> >
> > David Humeniuk
> >
> >
> > -----Original Message-----
> > From: Richard S. Hall [mailto:[email protected]]
> > Sent: Tuesday, September 27, 2011 2:08 PM
> > To: [email protected]
> > Subject: Re: Gogo causing framework to shutdown
> >
> > On 9/27/11 1:27 PM, [email protected] wrote:
> > > I'm trying to finally switch to using the Gogo shell instead of
the
> > > Felix Shell TUI.  However, when I run the application in the
> > background
> > > (no standard input), the Gogo shell cause the application to shut
> down
> > > immediately (prints "gosh: stopping framework).  With the Felix
> Shell
> > > TUI, it would just print a message about no standard input, but
> > continue
> > > to run.  Is there a way to keep Gogo from shutting things down?
> >
> > Which versions of everything are you using?
> >
> > How are you starting it?
> >
> > It is definitely possible to do this.
> >
> > -> richard
> >
> > >
> > >
> > >
> > > David Humeniuk
> > >
> > > Software Engineer
> > >
> > > L-3 Nova Engineering
> > >
> > > 4393 Digital Way
> > >
> > > Mason, Ohio 45040
> > >
> > > 513-204-7628 (Direct)
> > >
> > > 513-204-7600 (Main)
> > >
> > > 513-204-8999 (Main Fax)
> > >
> > > www.L-3com.com/Nova
> > >
> > >
> > >
> > >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to