The CompileConfigHandler enables you to combine several files stripped of comments and blank lines into one single cache file.
When you change one of your classes it will not be reflected in the cache file until you remove the cache file or you change the modified time of this file.
The following example takes the files MyUtilityClass1 and MyUtilityClass2 in the util/ directory of your application and appends their contents to the content of base compile.xml cache file of Agavi.
Example 5.2. compile.xml
<configurations parent="%core.system_config_dir%/compile.xml"> <configuration> <compiles> <compile>%core.app_dir%/util/MyUtilityClass1.class.php</compile> <compile>%core.app_dir%/util/MyUtilityClass2.class.php</compile> </compiles> </configuration> </configurations>
A full path to the file to be added to the compilation. You can use keywords here.