# NatAntBuild Cache properties file

**URL:** <https://techcommunity.softwareag.com/t/natantbuild-cache-properties-file/207398>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, NaturalONE, NaturalONE-Full-Edition\
**Created:** [February 26, 2020, 12:06pm UTC](https://techcommunity.softwareag.com/t/natantbuild-cache-properties-file/207398 "2020-02-26T12:06:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Irene\_Lesmana1](https://avatars.discourse-cdn.com/v4/letter/i/6f9a4e/32.png) [@Irene\_Lesmana1](https://techcommunity.softwareag.com/u/Irene_Lesmana1)\
**Post date:** [February 26, 2020, 12:06pm UTC](https://techcommunity.softwareag.com/t/natantbuild-cache-properties-file/207398/1 "2020-02-26T12:06:14Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Thomas\_Schwade](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/thomas_schwade/32/131_2.png) [@Thomas\_Schwade](https://techcommunity.softwareag.com/u/Thomas_Schwade)\
**Post date:** [March 3, 2020, 2:31pm UTC](https://techcommunity.softwareag.com/t/natantbuild-cache-properties-file/207398/2 "2020-03-03T14:31:32Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Irene\_Lesmana1](https://avatars.discourse-cdn.com/v4/letter/i/6f9a4e/32.png) [@Irene\_Lesmana1](https://techcommunity.softwareag.com/u/Irene_Lesmana1)\
**Post date:** [March 3, 2020, 4:12pm UTC](https://techcommunity.softwareag.com/t/natantbuild-cache-properties-file/207398/3 "2020-03-03T16:12:26Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Thomas\_Schwade](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/thomas_schwade/32/131_2.png) [@Thomas\_Schwade](https://techcommunity.softwareag.com/u/Thomas_Schwade)\
**Post date:** [March 5, 2020, 12:54pm UTC](https://techcommunity.softwareag.com/t/natantbuild-cache-properties-file/207398/4 "2020-03-05T12:54:59Z")

</div>

The cache file needs not to be committed to the repository. It can just reside in the build directory of Jenkins.  
Kind regards, Thomas

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:44pm UTC](https://techcommunity.softwareag.com/t/natantbuild-cache-properties-file/207398/5 "2021-04-02T15:44:17Z")

</div>


