> On 15 Jun 2017, at 09:32, Bastian Faulhaber <bas.faulha...@gmail.com> wrote: > Hello, > Your suggestion worked. I wonder why I didn't need to do the input like > that in the tutorial before, in the terminal inside Eclipe? I actually am puzzled about it as well. Unfortunately don’t have the time to dive into it.
> > Also, what about the warning: "Unused Private-Package instructions, no > such package(s) on the class > path: [osgi.enroute.examples.eval.parsii.provider]” during "mvn install"? Again, I am puzzled. It seems the maven bnd plugin now takes all the input from the target/classes directory. Since the osgi.enroute.examples.eval.parsii.provider package is compiled in there, it is included before Private-Package can process it. So the Private-Package detects that nothing matches osgi.enroute.examples.eval.parsii.provider and whines. You can remove the line in Private-Package with osgi.enroute.examples.eval.parsii.provider Please make a PR for the tutorial if you can. Kind regards, Peter Kriens > > Thank you! > Bastian > > On 06/14/2017 03:47 PM, Peter Kriens wrote: >> 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 >>> <mailto:bas.faulha...@gmail.com <mailto: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 <mailto:osgi-dev@mail.osgi.org> >> https://mail.osgi.org/mailman/listinfo/osgi-dev >> <https://mail.osgi.org/mailman/listinfo/osgi-dev> >> > _______________________________________________ > OSGi Developer Mail List > osgi-dev@mail.osgi.org <mailto:osgi-dev@mail.osgi.org> > https://mail.osgi.org/mailman/listinfo/osgi-dev > <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