Content-type: text/html Compiler Tag

Home
WebGroove is no longer supported. These docs are reference only.


Compiler Tag
This tag can be used as often as you like to instruct the Compiler to change the way it is operating. With it you can change default file paths, change what it displays during compile, do some debugging and more.

Examples
<compiler watch="mytoken" msg="Looking for my token">
<compiler trace>


Syntax
This is a single tag with optional attributes.

Attributes
src= Specify a default source path prefix to use.
dest= Specify a default destination path prefix to use.
ext= Specify a default file extension to use.
watch= This tells the Compiler to print a debug message any time it sees the regular expression or plain text you specify during the compile process. Each time you set a watch it replaces the last one you specified.
trace[={on|off}] The Compiler will display a message for every tag and token it processes. This is a debugging tool of last resort. Can you say "firehose"?
msg= Inserts a friendly message in the compile results. Sometimes useful for debugging purposes.
verbose[={on|off}] Show or suppress non-error compiler messages. Defualts to "on".
quiet[={on|off}] Show or suppress warning messages. Defaults to "on".
undef Undefines all tokens in the current compile. Can you say "amnesia"?
stop Tells the Compiler to error out and stop the compile.


See Also
Attach Tag
Build Tag
Include Tag
Read Tag

Up To
Compiler Tags
Complete Tag Reference


WebGroove® is a registered trademark of Creativision Publishing Corporation