| 
| (suse) I can't install glimmer [message #1844] | Sun, 19 April 2009 06:24  |  | 
| Eclipse User  |  |  |  |  | hi there! 
 here is my problem : I downloaded eclipse 3.4; then I compiled JRuby
 from the subversion directory (it ran well), and I installed the RDT
 plugin; at the first launch, eclipse told me it has detected the JRuby
 installation : all this is good.
 but my aim is to use eclipse, JRuby and glimmer (a project whose goal is
 to build easily GUIs) (see
 http://eclipse.dzone.com/articles/an-introduction-glimmer).
 but I don't see clearly how to make it run all together.
 
 from the archive of glimmer (at the address
 https://rubyforge.org/frs/?group_id=4782&release_id=2178 8), I tried to
 run a tic-tac-toe sample, without success :
 
 this file:
 
 *********************************************************
 # Copyright (C) 2007-2008 Nick Malnick and Annas Al Maleh
 # Licensed under the LGPL. See /COPYING.LGPL for more details.
 
 #require File.dirname(__FILE__) + "/../../src/swt"
 require File.dirname(__FILE__) + "/tic_tac_toe_board"
 
 
 class TicTacToe
 
 include_package 'org.eclipse.swt'
 include_package 'org.eclipse.swt.widgets'
 include_package 'org.eclipse.swt.layout'
 
 include Glimmer
 
 def initialize
 (...)
 *********************************************************
 
 causes this error:
 
 tic_tac_toe.rb:10:in `method_missing': undefined method
 `include_package' for TicTacToe:Class (NoMethodError)
 from tic_tac_toe.rb:5
 
 
 
 
 and this file:
 *********************************************************
 # Copyright (C) 2007-2008 Nick Malnick and Annas Al Maleh
 # Licensed under the LGPL. See /COPYING.LGPL for more details.
 
 #require File.dirname(__FILE__) + "/../../src/swt"
 require File.dirname(__FILE__) + "/tic_tac_toe_board"
 
 
 class TicTacToe
 
 #  include_package 'org.eclipse.swt'
 #  include_package 'org.eclipse.swt.widgets'
 #  include_package 'org.eclipse.swt.layout'
 
 include Glimmer
 
 def initialize
 (...)
 *********************************************************
 
 causes this error:
 
 tic_tac_toe.rb:14:in `const_missing': uninitialized constant
 TicTacToe::Glimmer (NameError)
 from tic_tac_toe.rb:5
 
 
 could you help me to make this sample run (maybe many steps will be
 necessary, due to the successive errors that will appear).
 
 thank you for having all read,
 
 olivier.
 |  |  |  | 
|  | 
|  | 
Powered by 
FUDForum. Page generated in 0.07130 seconds