Generic-user-small gb 5 posts

I tried to download the jemmy.jar from the jemmy site . It doesn’t seem to be working correctly .
When I download from any browser (safari,firefox,omniweb) on the mac.
I goto the license page. (http://jemmy.netbeans.org/license-jemmy.html)
Click accept
the URL changes to this http://hg.netbeans.org/main/raw-file/tip/jemmy/builds/jemmy.jar?content-type=application/octet-stream
nothing happens.
I dragged this to the download manager in safari and I end up with a file
jemmy.jar.txt
I removed the .txt and put it in the junquenote folder with the jruby_basics.rb
(which I moved to the junquenote folder.)
I try to launch
I get this error message
: cannot load Java class org.netbeans.jemmy.JemmyProperties (NameError)

When I try to load the jemmy.jar with jar launcher it say’s the file is corrupt .
I tried building it from the sources with ant but the jemmy.zip folder I downloaded is missing a build.xml file ?

I can get junquenote to launch after much work trying to get the jruby thing worked out.
Just can’t get jruby_basics to run.

any insight as to what I’m doing wrong would be helpful
thanks
g

 
2201682121_40eda4245f_o_small Ian Dees 29 posts

Hi, gb.

I can replicate the error; looks like a broken link on the Web server. The NetBeans project appears to have recently switched to hgweb/hgwebdir to serve their source code, and I’m guessing that build products like jemmy.jar aren’t getting checked into source control. I’ll contact them to ask for an updated download link.

In the meantime, here is a recent (and to my knowledge unaltered) version from May of this year, offered under the terms of the GPL. This link comes with the standard disclaimers about trusting URLs you find in forum posts, and will go away as soon as the one on netbeans.org is working again.

The file can go into your CLASSPATH or one of the paths in JRuby’s $: variable. Here’s one possibility for OS X. Assuming jemmy.jar is saved in the early_success directory, alongside jruby_basics.rb:

ln -s ../junquenote/junquenote_app.rb
CLASSPATH=. jruby jruby_basics.rb
 
Avatar1334_3_small Massimiliano... 2 posts

Fri Dec 12 01:16:04 -0200 2008

The same broken link :)

 
2201682121_40eda4245f_o_small Ian Dees 29 posts

Hello, Massimiliano.

Yes, the link at jemmy.netbeans.org is still broken, and the bug tickets for them to update the link are still open.

But my old copy is still available at http://undees.backpackit.com/pub/1555348. That should be enough to get you up and running.

—Ian

 
2201682121_40eda4245f_o_small Ian Dees 29 posts

The Jemmy project has moved, and they now have a working link to the jar on their new download page. I’ve done a little quick testing of this version with the scripts from the book, and signs are encouraging.

 
Avatar1334_3_small Massimiliano... 2 posts

Thanks Ian :)

6 posts, 3 voices