Templo2, macros filename twisted in tmp

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Templo2, macros filename twisted in tmp

Lars Madson
Hi,

load.c(176) : Module not found : /home/saam/www/cjenin/tmp/home__saam__www__cjenin__macros.xml.n

the file exist as __home__saam__www__cjenin__macros.xml.n
Which make sens. 

thx
Laurent

--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: Templo2, macros filename twisted in tmp

Nicolas Cannasse

Lars Madson <[hidden email]> a écrit :

>Hi,
>
>load.c(176) : Module not found :
>/home/saam/www/cjenin/tmp/home__saam__www__cjenin__macros.xml.n
>
>the file exist as __home__saam__www__cjenin__macros.xml.n
>Which make sens.
>
>thx
>Laurent
>--
>haXe - an open source web programming language
>http://haxe.org

Make sure to set both TPL and TMP vars in templo.Loader

--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: Templo2, macros filename twisted in tmp

Lars Madson
it's set up like this:

templo.Loader.BASE_DIR = dir + 'tpl/';
templo.Loader.TMP_DIR = dir + 'tmp/';
templo.Loader.MACROS = dir + 'macros.xml';
templo.Loader.OPTIMIZED = !(config.get("debug") == "1");

where dir =neko.Web.getCwd() + 'projectdir/'

Laurent

2011/10/24 Nicolas Cannasse <[hidden email]>

Lars Madson <[hidden email]> a écrit :

>Hi,
>
>load.c(176) : Module not found :
>/home/saam/www/cjenin/tmp/home__saam__www__cjenin__macros.xml.n
>
>the file exist as __home__saam__www__cjenin__macros.xml.n
>Which make sens.
>
>thx
>Laurent
>--
>haXe - an open source web programming language
>http://haxe.org

Make sure to set both TPL and TMP vars in templo.Loader

--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: Templo2, macros filename twisted in tmp

bubblebenj
No you don't have to put the directory name for the macro.
Here is my conf :

// Templo conf
templo.Loader.BASE_DIR = PROJECT_PATH+'/www/template/tpl/';
templo.Loader.TMP_DIR = PROJECT_PATH+'/www/template/tmp/';
templo.Loader.MACROS = 'macros.mtt';

Ben

On Mon, Oct 24, 2011 at 11:31 AM, Lars Madson <[hidden email]> wrote:
it's set up like this:

templo.Loader.BASE_DIR = dir + 'tpl/';
templo.Loader.TMP_DIR = dir + 'tmp/';
templo.Loader.MACROS = dir + 'macros.xml';
templo.Loader.OPTIMIZED = !(config.get("debug") == "1");

where dir =neko.Web.getCwd() + 'projectdir/'

Laurent

2011/10/24 Nicolas Cannasse <[hidden email]>

Lars Madson <[hidden email]> a écrit :

>Hi,
>
>load.c(176) : Module not found :
>/home/saam/www/cjenin/tmp/home__saam__www__cjenin__macros.xml.n
>
>the file exist as __home__saam__www__cjenin__macros.xml.n
>Which make sens.
>
>thx
>Laurent
>--
>haXe - an open source web programming language
>http://haxe.org

Make sure to set both TPL and TMP vars in templo.Loader

--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: Templo2, macros filename twisted in tmp

Lars Madson
ha yes, I had the macros.xml at the root of my project, moved it to the template base directory. 
I keep relearning.

thx

2011/10/24 benjamin Dubois <[hidden email]>
No you don't have to put the directory name for the macro.
Here is my conf :

// Templo conf
templo.Loader.BASE_DIR = PROJECT_PATH+'/www/template/tpl/';
templo.Loader.TMP_DIR = PROJECT_PATH+'/www/template/tmp/';
templo.Loader.MACROS = 'macros.mtt';

Ben

On Mon, Oct 24, 2011 at 11:31 AM, Lars Madson <[hidden email]> wrote:
it's set up like this:

templo.Loader.BASE_DIR = dir + 'tpl/';
templo.Loader.TMP_DIR = dir + 'tmp/';
templo.Loader.MACROS = dir + 'macros.xml';
templo.Loader.OPTIMIZED = !(config.get("debug") == "1");

where dir =neko.Web.getCwd() + 'projectdir/'

Laurent

2011/10/24 Nicolas Cannasse <[hidden email]>

Lars Madson <[hidden email]> a écrit :

>Hi,
>
>load.c(176) : Module not found :
>/home/saam/www/cjenin/tmp/home__saam__www__cjenin__macros.xml.n
>
>the file exist as __home__saam__www__cjenin__macros.xml.n
>Which make sens.
>
>thx
>Laurent
>--
>haXe - an open source web programming language
>http://haxe.org

Make sure to set both TPL and TMP vars in templo.Loader

--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org