CompileAll isn't working at all...
Status: Pre-Alpha
Brought to you by:
jeffmoore
hi all, IMHO CompileAll feature in /examples/apps/crud/
isn't working... The evidence of that is there:
http://wact.sourceforge.net/examples/apps/crud/compileall.php
What does that errors mean? In the end, I just want to
ask all
of you: it ever worked? I believe yes, because
http://wact.sourceforge.net/examples/apps/crud/ is
compiled somehow.....
I will be thankfull for everyone who'll give me a
solution of this
"bug" or smth. I just need to compile the templates and
to enshure it will work like it has to work :)
Weecka
Logged In: NO
Just give me something like solution too :)
Logged In: YES
user_id=31876
The compile all feature compiles all the available templates in the
template directories. For this example, some of those templates cannot
stand alone. They are intended to be included into other templates and
not used directly, thus they do not compile directly without errors. For
compile all to work as expected, it would have to have a way of
determining which templates needed to be compiled as stand alone
templates versus which were meant only to be included into other
templates. (perhaps with a inc.html extension). Which such a
distinguishing factor, the compile all cannot operate without triggering
errors for this example. The example works because the templates are
compiled on demand and since the fragments that are not meant to be
used directly are never used directly, no errors occur during normal
operation.