Substitute concrete values of things into source files Compiling resources getting the template resource script copying the small resource files into place adding greenstone2.jar to the resource script as chunks resource compiling the resource script making a copy of the resource script adding ${windows-java.installer} to the copy as chunks resource compiling the generated resource script again Resourses are up-to-date, will not compile