Recently there was a discussion on including resource files. Couldn't find it.

I have a number of templates (for generating xmls) and they have a .upnp 
extension and are in the Lua tree;
    ["upnp.templates.action.upnp"]        = "lua_src/templates/action.upnp",
    ["upnp.templates.device.upnp"]        = "lua_src/templates/device.upnp",
    ["upnp.templates.rootdevice.upnp"]    = "lua_src/templates/rootdevice.upnp",
    ["upnp.templates.service.upnp"]       = "lua_src/templates/service.upnp",
    ["upnp.templates.statevariable.upnp"] = 
"lua_src/templates/statevariable.upnp",

This doesn't work as I get: "Error: Build error: Failed compiling module 
upnp/templates/statevariable/upnp.so", LuaRocks tries to compile the files
What is the proper way to include these resources?

Thx.
Thijs
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to