--
You received this message because you are subscribed to the Google
Groups "monkeybars-mvc" group.
To post to this group, send email to monkeyb...@googlegroups.com
To unsubscribe from this group, send email to
monkeybars-mv...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/monkeybars-mvc?hl=en
I have a Win7 box, and have been hacking around on Monkeybars trying to
sort out some things, so I will give this a test and see what happens
for me.
I had started checking the example apps that are included with
Monkeybars, with the goal of making sure that whatever is included works
with the current monkeybars, rawr, and JRuby. A lot was broken, though
not in any major way. Mostly it was the outdated build_configuration files.
Some of the examples have been fixed up, but I don't think I even looked
at the Flickr one yet.
OK, so since I have the Win7 box already up, here's what happens when I run
jruby src\main.rb
A window pops up, annoyingly locatated at the top-left of the screen.
(Need to look into centering this. :) )
I type "monkey" into the Search field and click Go. (Need to look into
havong a nice "Please wait ..." modal thing.)
I get nice list of items in the left-hand panel. One says "Downtown
Kyoto, Japan". Really? Monkeys in downtown Kyoto? I click to expand
the node, and click on "Medium".
A very nice picture appears on the right. Sadly, not a single monkey to
be seen. :(
Now on to the real issue.
This runs fine on my Win7 box, and my first thought was that maybe
CLASSPATH is not set (hence the nil thing). But I just tried it on my
Ubuntu box and I get that same error. `add_to_classpath` is a simple
wrapper over $CLASSPATH << stuf.
Ah. Need
require 'java'
in there. So main.rb now has
require 'rbconfig'
require 'java'
require 'manifest'
But now I get an error because the code can't find monkeybars.
The load path is wrong. :(
I need to look at this more. The example is using a mixed set of paths,
loading some things from subdirs, other things from parallel folders,
and even after setting up additonal load path values I keep getting an
error that it can't load the FlickrBrowser classs. It looks like my
$CLASSPATH is getting set OK, but it's not helping.
As to why it works OK for me on Windows but not from Linux, I don't know.
James
--
They're off in a separate branch that I need to merge in. I've been
getting distracted with work. :)
James