Hi,
Could anyone explain what the natural.ant.project.cache.properties.file is for?
What exactly each line of the content refers to, and is this being used to determine which file will be upload and catalog to the NDV server?
Hi,
Could anyone explain what the natural.ant.project.cache.properties.file is for?
What exactly each line of the content refers to, and is this being used to determine which file will be upload and catalog to the NDV server?
Each line of the file contains the hash value of the source code of a file at the time when it was uploaded and built the last time. The hash value is used to decide whether a file has been changed since the last build and whether it needes to be rebuilt.
Thank you Thomas, that is really helpful.
If we manage this upload and build using Jenkins (one job for multi users), where should the cache property file be maintained? Locally on compile server or should it be pushed to SCM (git) along with the source code it is building?
The cache file needs not to be committed to the repository. It can just reside in the build directory of Jenkins.
Kind regards, Thomas