I think the problem is that the new Gogo we included (the enRoute version had some issues) does a more advanced line parsing. It does something weird with a line like:
g! eval 2*3 gogo: IOException: no matches found: 2*3 The reason we had the enRoute version was because of the JLine interface. For some reason this seems to be awfully hard because I’ve seen messages fly by from Gogo mucking in this area. It seems they interpret the ‘*’ before the command is called. This is pretty wrong imho. So to test it, you need to put double quotes around the expression: g! eval "2 * 3" 6.0 If you want to help out file a bug on Apache Felix Gogo and provide a PR on the tutorial to make this behavior clear. Kind regards, Peter Kriens > > On 14 Jun 2017, at 09:56, Bastian Faulhaber <bas.faulha...@gmail.com> wrote: > > Hello, > > You can find it here: > https://github.com/boasdi/osgi.enroute.tut.maven.eval > > Thanks! > Bastian > > On 06/14/2017 08:55 AM, Peter Kriens wrote: >> Can you share your workspace on Github? >> >> Kind regards, >> >> Peter Kriens >> >>> On 13 Jun 2017, at 11:22, Bastian Faulhaber <bas.faulha...@gmail.com> wrote: >>> >>> Hello, >>> >>> While following the maven onlyh tutorial I encountered a problem. >>> >>> In dependencies step after including the parsii.provider when I execute >>> the application the console starts successfully but the enroute logo is >>> missing and when I try anything else but substraction or sum I get: >>> "gogo: IOException: no matches found:" >>> >>> When I do "mvn instal" in parsi provider I get the following warning: >>> "Unused Private-Package instructions, no such package(s) on the class >>> path: [osgi.enroute.examples.eval.parsii.provider]" >>> >>> But in target/classes/osgi/enroute/examples/eval/parsii/provider/ I have >>> EvalImpl.class >>> >>> I also did "mvn clean" as suggested in the tutorial. >>> >>> Am I missing something? >>> >>> Thank you very much! >>> Bastian >>> _______________________________________________ >>> OSGi Developer Mail List >>> osgi-dev@mail.osgi.org >>> https://mail.osgi.org/mailman/listinfo/osgi-dev >> >> _______________________________________________ >> OSGi Developer Mail List >> osgi-dev@mail.osgi.org >> https://mail.osgi.org/mailman/listinfo/osgi-dev >> > _______________________________________________ > OSGi Developer Mail List > osgi-dev@mail.osgi.org > https://mail.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________ OSGi Developer Mail List osgi-dev@mail.osgi.org https://mail.osgi.org/mailman/listinfo/osgi-dev