• 0

[JAVA,NetBeans,XML] external XML file


Question

i need an XML file to store some config data in for my Java application that i'm creating in netbeans. problem is, i've added the new xml file, but when building the project, the xml file is bundled up into a jar file in the dist folder. how do i get the xml file to exist outside of the jar file, so it sits alongside it and therefore can be modified easily as necessary?

i'm quite new to java applications, so i presume that i'm not meant to be unpacking the jar file on the system the application is deployed on, or am i wrong?

i've spent a lot of time on this silly problem, and i can't figure it out ... :/

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.