On 5/3/17 15:23 , Dan Hartman wrote:
Hi there,
I followed the tutorial here:
http://felix.apache.org/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-gettingstarted/ipojo-hello-word-maven-based-tutorial.html
I can't find any felix-1.0.3 directory (nor one appropriately named
like that, according to the version current to the tutorial page).
When I search the tutorial folder, there are quite a number of
"bin/felix.jar" occurrences scattered around, but none of them behave
like the tutorial. A prompt does start, but instead of having a "->"
sigil, it's "g!". The "hello iPOJO" message starts emitting every so
often.
After typing "java -jar bin/felix.java", I didn't have to do anything
to start the hello example emitting a message. There's no ps command,
and when I type help, I get a LOT of choices, and there are three
categories of them, felix, ipojo, and obr.
See the attached screenshot.
What am I doing wrong? It seems like the tutorial is not up to date
with the tutorial archive zip.
You aren't doing anything wrong, I would guess. It just sounds like the
tutorial is woefully out of date.
Felix now has a new command shell, called Gogo, which is why you see so
much of a difference between the prompts and commands. You should use
"lb" to list the bundles. Commands for starting/stopping are the same,
although it is doubtful the "arch" command would be working with the
newer shell, since that is provided by iPOJO for the old shell.
I think in the original tutorial the bundles also auto-started, so that
part works the same.
-> richard
Thanks in advance!
Dan
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]