Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Koneki » Importing Rocks
Importing Rocks [message #1416830] Tue, 26 March 2013 01:14 Go to next message
Nick Scott is currently offline Nick ScottFriend
Messages: 2
Registered: March 2013
Junior Member
This is definitely a newbie rant but please indulge me and be assured that any help which can be provided is much appreciated.

I have recently decided to learn Lua and the work of the Eclipse M2M Group seems like a good starting point. To that end I've installed Koneki and, after getting the Hello World application to work, I decided to try and add a library.

So I've installed LuaRocks, and pull down LuaSocket. But the line 'require "socket"' works fine in my command line but not in Koneki.

I realise that this is a path issue but, after a day spent trying to fix it, I'm just frustrated. I can't be the only one struggling with this (in fact, someone else has already made a post here on this matter).

As an observation, for a new comer, Koneki configuration can be very confusing (I realise this is partly just a hangover from Eclipse). I've tried adding a library, adding a project, adding source, configuring an External Tool, changing the Executable Environment and defining my own Interpreter. I don't really understand what the difference between all these things is and I'd really like to be able to just point Koneki at the folder which LuaRocks is using.

More specifically, in the http://www.eclipse.org/proposals/technology.koneki/ for Koneki, it was stated that in Q3 2011 "Improve Lua Tooling: LuaRocks support" would be provided. Does any one know if that's been done? Does any one know of any documentation on it?
Re: Importing Rocks [message #1416831 is a reply to message #1416830] Tue, 26 March 2013 11:21 Go to previous message
Kevin KIN-FOO is currently offline Kevin KIN-FOOFriend
Messages: 28
Registered: July 2009
Junior Member
Hi Nick,

Thanks for your constructive feedback.

As I am writing they are no UI available to configure native libraries nor rocks.
We may have something even better: the ability to use your system lua interpreter[1].
Your system interpreter is tightly tied to LuaRocks and enable you to manage your own $LUA_PATH[1].

require 'socket' did not work because in order to have it all working out of the box, we use a custom interpreter by default[2].
You said feeling confused about some concepts of Koneki LDT. I know some documentation on them[3].

Regards

[1] http://wiki.eclipse.org/Koneki/LDT/Developer_Area/User_Guides/User_Guide_0.9#Local_Interpreters
[2] http://wiki.eclipse.org/Koneki/LDT/Developer_Area/User_Guides/User_Guide_0.9#Interpreters
[3] http://wiki.eclipse.org/Koneki/LDT/Developer_Area/User_Guides/User_Guide_0.9#Concepts
Previous Topic:LDT error when creating Lua project
Next Topic:LDT 0.9 Support for Eclipse Helios 3.6.2 (64-bit)
Goto Forum:
  


Current Time: Thu Mar 28 08:28:29 GMT 2024

Powered by FUDForum. Page generated in 0.01830 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top