BooJay and Monoclipse

44 views
Skip to first unread message

MarkH

unread,
Nov 5, 2009, 8:00:18 PM11/5/09
to boojay
I'm running Eclipse 3.4, Windows XP, Mono 2.4.2.3, Boo-0.9.2.

I launch eclipse with eclipse.exe -vmargs -DMONO_HOME="to my mono
directory".

But when I use the interpreter in Monoclipse I get:

** (C:\eclipse-3.4\plugins\monolipse.core_1.1.0\bin
\monolipse.server.exe:2816): WARNING **: The following assembly
referenced from C:\eclipse-3.4\plugins\monolipse.core_1.1.0\bin
\monolipse.core.dll could not be loaded:
Assembly: Boo.Lang (assemblyref_index=1)
Version: 2.0.0.0
Public Key: 32c39770e9a21a67
The assembly was not found in the Global Assembly Cache, a path listed
in the MONO_PATH environment variable, or in the location of the
executing assembly (C:\eclipse-3.4\plugins\monolipse.core_1.1.0\bin\).


** (C:\eclipse-3.4\plugins\monolipse.core_1.1.0\bin
\monolipse.server.exe:2816): WARNING **: Could not load file or
assembly 'Boo.Lang, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=32c39770e9a21a67' or one of its dependencies.
Stacktrace:


This application has requested the Runtime to terminate it in an
unusual way.
Please contact the application's support team for more information."


Now the Mono distribution already has boo in it's GAC, but I also used
Mono's gacutil.bat to add the Boo libraries I downloaded to it.

It looks the boo.lang.dll I have in the GAC is too new. It's looking
for 2.0.0.0, but I have newer assemblies.

Any help is appreciated.




MarkH

unread,
Nov 7, 2009, 11:24:19 AM11/7/09
to boojay
Ok, I just downloaded the source for 0.9.0 and nant'd it into the Mono
GAC.....duh ;) I guess I was under the impression that boojay would
work on any Boo distro that was at least 0.9.x.

So now I get the outline mode, but I have a couple new problems.

When I do a print "hello" in the interpreter I get

ERROR: 'Boo.Lang.Extensions.PrintMacro' is not a valid macro.

I also get something similiar when I try to run a simple script:

C:\boo-workspace\test\src\Test.boo(2,5): BCE0038:
'Boo.Lang.Extensions.PrintMacro' is not a valid macro.
1 error(s).
Boo Compiler version 0.9.0.3203 (CLR v2.0.50727.1433)

So print is a macro, and according to Rodrigo's video, it gets
translated System.out.println in the case of Boojay. This makes
sense. So could this be a problem with Boojay not finding Java
libraries?

Rodrigo B. de Oliveira

unread,
Nov 19, 2009, 5:29:12 AM11/19/09
to boo...@googlegroups.com
Sorry for the lag...

On Fri, Nov 6, 2009 at 2:00 AM, MarkH <markha...@gmail.com> wrote:
>
> I'm running Eclipse 3.4, Windows XP,  Mono 2.4.2.3, Boo-0.9.2.
>
> I launch eclipse with eclipse.exe -vmargs -DMONO_HOME="to my mono
> directory".
>
> But when I use the interpreter in Monoclipse I get:
>

How did you install it?
Reply all
Reply to author
Forward
0 new messages