Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Lua Development Tools » How to compile LUA scripts with Koneki?(How to compile LUA scripts with Koneki?)
How to compile LUA scripts with Koneki? [message #1226706] Thu, 02 January 2014 13:07 Go to next message
Alex Top is currently offline Alex Top
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 #1228163 is a reply to message #1226706] Mon, 06 January 2014 15:03 Go to previous message
Simon Bernard is currently offline Simon Bernard
Messages: 286
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: Wed Oct 01 12:15:55 GMT 2014

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

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