I added a properties file to my package
Application.Version = 1.0.${Application.buildnumber}
and modified the nbproject/buil-impl.xml file to include the following in the "-post-jar" target:
<propertyfile file="${src.dir}/MyJavaFXAppname/MyJavaFxAppname.properties">
<entry key="Application.buildnumber" value="1" type="int" operation="+"/>
</propertyfile>
The properties file gets updated by the build but I have not been able to figure out how to reference this properties file in my
Java code. I am thinking that at runtime it should either be in the project folder or the dist folder but the build is not putting it in either place.