silv
16 years ago
Hello,
I have in my project a package 'resources' with all the necessary images, data.xml, property files etc.
I want to distribute my project, so it's easy just to zip the netbeans dist folder (because the libs folder with jdom etc is there) and to extract the zip on an other pc and execute my jar file.
Now my application also uses this resources (e.g the data.xml) to write data to it and because it's packed in a jar, my application crashes...
So I thought to add a folder in de dist folder that contains these resources, but how can I make netbeans doing this? It's easy to edit the resources in the IDE, but with a clean build, Netbeans should copy those new resources in my folder in the dist folder...
Can I do this or do I have to copy them manually? And how do I do it?
Thanks a lot!
I have in my project a package 'resources' with all the necessary images, data.xml, property files etc.
I want to distribute my project, so it's easy just to zip the netbeans dist folder (because the libs folder with jdom etc is there) and to extract the zip on an other pc and execute my jar file.
Now my application also uses this resources (e.g the data.xml) to write data to it and because it's packed in a jar, my application crashes...
So I thought to add a folder in de dist folder that contains these resources, but how can I make netbeans doing this? It's easy to edit the resources in the IDE, but with a clean build, Netbeans should copy those new resources in my folder in the dist folder...
Can I do this or do I have to copy them manually? And how do I do it?
Thanks a lot!