Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Koneki » How to compile LUA scripts with Koneki?
How to compile LUA scripts with Koneki? [message #1417047] Thu, 02 January 2014 14:24 Go to next message
Alex Top is currently offline Alex TopFriend
Messages: 4
Registered: January 2014
Junior Member
At this moment I use ANT and luaforwindows to compile Lua source code.

Question:
1) Is it possible to use the internal Lua compiler to compile my source code?
2) What changes should I make to my ANT task?


<property name="luac" location="C:\Program Files (x86)\Lua\5.1\luac.exe"/>

<target name="compile" depends="copy-resources">
<apply executable="${luac}" type="file" verbose="true">
<arg value="-s" />
<arg value="-o" />
<targetfile />
<fileset dir="${src}">
<include name="**/*.lua" />
</fileset>
<mapper type="glob" from="*.lua" to="${pluginFolder}/*.lua" />
</apply>
</target>
Re: How to compile LUA scripts with Koneki? [message #1417057 is a reply to message #1417047] Mon, 06 January 2014 15:03 Go to previous message
Simon Bernard is currently offline Simon BernardFriend
Messages: 345
Registered: July 2009
Senior Member
Hi,

We haven't ANT integration.

I'm not an ANT expert but maybe you can do a java call of jnlua which is shipped in LDT (https://code.google.com/p/jnlua/)

Simon
Previous Topic:Insert instructions / keyword in DLTK
Next Topic:Metalua integration with LDT
Goto Forum:
  


Current Time: Fri Apr 26 15:11:09 GMT 2024

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

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

Back to the top