So your complaint appears to be that gogo:source works on Linux, but not on
Windows?
I use generally use Linux/OSX, so I know it works there.
I’ve just tested it on Windows7, and it looks fine to me:
C:\Users\derek\Desktop\felix-framework-4.6.0>java -jar bin\felix.jar
____________________________
Welcome to Apache Felix Gogo
g! cat hello.osh
hello = { echo "Hello, $1!" }
g!
g! hello
gogo: CommandNotFoundException: Command not found: hello
g! source hello.osh
echo "Hello, $1!"
g! hello Derek
Hello, Derek!
g!
Can you send some testcase to demonstrate your problem?
Thanks,
—
Derek
> On 2 Feb 2015, at 20:52, bprager <[email protected]> wrote:
>
> I am trying to collect a bundle of simple command, like adding a project
> specific repository, from a script file. For testing I just use the
> "gogo:echo" command in the script for now.
>
> g! cat goshrc
> echo "local script"
> g! source goshrc
> g!
>
> I did some more investigation and found out, that a script is executed
> perfectly in Linux (Ubuntu), but fails to execute in Windows7 (both native
> cmd or cygwin).
>
> I can "gogo:cat" the content of the script, but "gogo:source" does not do
> anything.
>
>
>
>
>
> --
> View this message in context:
> http://apache-felix.18485.x6.nabble.com/gogo-source-command-not-working-tp5011362p5011365.html
> Sent from the Apache Felix - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>