[AWS] problem with SLICE in Templates Parser
anders.wirzenius at wartsila.com
anders.wirzenius at wartsila.com
Fri Sep 17 09:45:26 CEST 2004
> Anders,
>
> > What's wrong when i get an error message from Templates Parser:
>
> Well it is said :
>
> > Execution terminated by unhandled exception
> > Exception name: TEMPLATES_PARSER.TEMPLATE_ERROR
> > Message: In CIT_list.tmplt at line 22 Unknown filter SLICE.
>
> SLICE is not a known filter!
>
> May I ask which versions of AWS/Templates_Parser are you
> using ? I have no problem to run your example on my side. You
> have probably an old version of the Templates_Engine installed.
>
-- $Id: templates_parser-filter.adb,v 1.12 2004/01/27 19:47:53 obry Exp
$
SLICE is defined on line 71:
Slice_Token : aliased constant String := "SLICE";
I try now to reinstall the latest version of TP:
I downloaded TP from http://perso.wanadoo.fr/pascal.obry/contrib.html,
unpacked it to a directory.
I downloaded and copied xmlada into /usr/Ada.Libraries/xmlada and
followed the instructions in its README.
make build in TP gives now:
AWI003 at fiw9430 /cygdrive/c/Data/HD/internal/1777/new_TP
$ make build
c:\GNAT\bin\make.exe[1]: Entering directory
`c:/Data/HD/internal/1777/new_TP/obj
'
gnatmake: objects up to date.
gnatmake: objects up to date.
gnatmake: objects up to date.
gcc -c -I./ -gnatp -gnatn -O2 -I../src -I../include
-I/usr/Ada.Libraries/xmlada/
include/xmlada -I/usr/Ada.Libraries/xmlada/include/xmlada/obj
-I/usr/Ada.Librari
es/xmlada/lib -I- ../src\templates_parser-xml.adb
templates_parser-xml.adb:37:06: file "dom.ads" not found
templates_parser-xml.adb:38:06: file "dom.ads" not found
templates_parser-xml.adb:39:06: file "input_sources.ads" not found
templates_parser-xml.adb:40:06: file "sax.ads" not found
templates_parser-xml.adb:41:06: file "unicode.ads" not found
templates_parser-xml.adb:42:06: file "unicode.ads" not found
gnatmake: "../src\templates_parser-xml.adb" compilation error
c:\GNAT\bin\make.exe[1]: *** [build] Error 4
c:\GNAT\bin\make.exe[1]: Leaving directory
`c:/Data/HD/internal/1777/new_TP/obj'
c:\GNAT\bin\make.exe: *** [build] Error 2
Is there any "Installation Guide" other than the makefile for TP?
I am no expert on makefiles.
The system is Windows XP and cygwin, as you see.
Anders
More information about the AWS
mailing list