compiler
Compiler controls the byte-code compiler that generates
the class files according to scripts and templates.
|
Attributes
|
| name |
default |
description |
| timestamp |
true
|
Specifies whether a timestamp is generated in the name of class files.
Timestamps should be generated in development environments. When completed, a site can be delivered without timestamps, thus removing the requirement of providing to original sources.
|
| storeimages |
true
|
Controls whether the generated class images are stored to disk.
Specifying 'true' might save time when the server has been restarted because there is no need to parse source files again when generated class files are available.
|
| classpath |
/var/tmp/
|
Directory where class files are stored.
A directory structure is generated that corresponds to the sources
(although the names are mangled). In a development environment, it is a good idea to create some kind of 'garbage collector' to clean up the large of number of generated files.
|
Example:
compiler:
timestamp = true
storeimages = true
classpath = /tmp/anvil/
end
Add a note
|