I installed LUA Development Tools in my existing Eclipse Java EE IDE (on my Mac). I also installed the Mihini Development Tools in the Eclipse IDE. My questions are: - For Mihini to use in Eclipse development I need to add a new "Execution Environment" (EE) in my Lua Project by "Configure Executing Environments" -> "Add" and use the the downloaded mihini-0.8 or mihini-0.9.zip file (which one should I take (or both, what is the difference between both)? If yes, will this mihini-0.8.zip / mihini-0.9.zip file (if added as an EE in eclipse) be copied "somewhere" in my Eclipse folder? - The downloaded org.eclipse.mihini-incubation-0.9 11.32.46.zip file should only be used for e.g. installing the mihini (runtime)on a Raspberry Pi, Beaglebone Black, ...? I suppose it is therefore sufficient for developing in Eclipse to only install the Mihini Development Tools on my Mac?
I already played a little bit with Lua/Mihini. I encounter two problems (and already searched the web for possible solutions, but didn't find any):
When Run As -> Lua Remote Application I get the following errors: lua: main.lua:1: module 'agent' not found: no field package.preload['agent'] no file '/opt/mihini/lua/agent.lua' no file '/opt/mihini/lua/agent/init.lua' no file 'agent.lua' no file '/tmp/MyFirstMihiniProject_main_10.x.x.x/agent.lua' no file '/tmp/MyFirstMihiniProject_main_10.x.x.x/agent/init.lua' no file '/opt/mihini/lua/agent.so' stack traceback: [C]: in function 'require' main.lua:1: in main chunk [C]: ?
2. When trying to Export ...-> Mihini -> Lua Application Package I get the errors:
Unable to run export. Unable to install package. Connection to xxx:8080 refused
Thanks for your answers.
|