# Resource bundle not being built to correct directory

**URL:** <https://forum.inductiveautomation.com/t/resource-bundle-not-being-built-to-correct-directory/26113>\
**Category:** Module Development\
**Created:** [June 26, 2019, 5:44pm UTC](https://forum.inductiveautomation.com/t/resource-bundle-not-being-built-to-correct-directory/26113 "2019-06-26T17:44:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rhys\_m](https://avatars.discourse-cdn.com/v4/letter/r/13edae/32.png) [@Rhys\_m](https://forum.inductiveautomation.com/u/Rhys_m)\
**Post date:** [June 26, 2019, 5:44pm UTC](https://forum.inductiveautomation.com/t/resource-bundle-not-being-built-to-correct-directory/26113/1 "2019-06-26T17:44:10Z")

</div>

HI,

I have a module that I have been adding expressions to, I have now added a scripting function to it, it all builds fine, and works correctly, however when you get the help pop up when selecting the function in a script it all shows blank or null values.

Looking in the target folder after the build the properties file is going into the wrong directory.

I have created the .properties file in a matching folder to the class path, however when built it goes into the same level as the com folder.

the directory of the .properties is src/main/java/resources/com.company.ignition.expressions

the class path is src/main/java/com/company.ignition.expressions

any ideas? I have scoured the pom.xml files for any indication of where it puts resources but I cant seem to see anything. The example on git builds to the correct place, but I cant see any differences.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [June 26, 2019, 5:45pm UTC](https://forum.inductiveautomation.com/t/resource-bundle-not-being-built-to-correct-directory/26113/2 "2019-06-26T17:45:08Z")

</div>

Your properties file should be in `src/main/resources/com/company/ignition/expressions`

---

<div class="post-metadata">

**Author:** ![Rhys\_m](https://avatars.discourse-cdn.com/v4/letter/r/13edae/32.png) [@Rhys\_m](https://forum.inductiveautomation.com/u/Rhys_m)\
**Post date:** [June 26, 2019, 5:45pm UTC](https://forum.inductiveautomation.com/t/resource-bundle-not-being-built-to-correct-directory/26113/3 "2019-06-26T17:45:56Z")

</div>

Sorry my bad that was a typo, it is in src/main/resources/com/company/ignition/expressions

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [June 26, 2019, 5:49pm UTC](https://forum.inductiveautomation.com/t/resource-bundle-not-being-built-to-correct-directory/26113/4 "2019-06-26T17:49:58Z")

</div>

Do you have actually have folders named “company.ignition.expressions” or are you using a path there?

Maven takes care of this automatically, it’s not even part of our plugin, so not sure what’s going on for you.

---

<div class="post-metadata">

**Author:** ![Rhys\_m](https://avatars.discourse-cdn.com/v4/letter/r/13edae/32.png) [@Rhys\_m](https://forum.inductiveautomation.com/u/Rhys_m)\
**Post date:** [June 26, 2019, 5:57pm UTC](https://forum.inductiveautomation.com/t/resource-bundle-not-being-built-to-correct-directory/26113/5 "2019-06-26T17:57:34Z")

</div>

🤦‍♂️ I just actually created the path rather than typing it in and its worked, simple in the end, just a couple of hours I wont be getting back 😂

@Kevin.Herron thanks for your help
