Hey all I'm having a weird issue with a project I built in Eclipse with the Proclipsing plugin. In eclipse, everything works fine, it runs as an applet or as an application no problems but whenever i go to export the application it seems like, for mac osx at least, it doesnt export the data folder along with. So my application crashes when it tries to load anything I'm not sure if i have the file paths wrong somehow even though they work in the Eclipse IDE.
File Structure in Eclipse:
Project Folder
.git
.idea
.settings
bin
lib
src
bicyclecounter
data
out
text
visuals
.classpath
.DS_Store
.project
BicicleCounter.iml
preferences.txt
README
but when i export this is what i get
Application.macosx
Bicyclecounter.app
contents
info.plist
macOS
pkgInfo
resources
java
BicycleCounter.jar
source
bicyclecounter
out
text
visuals
It seems like the data folder itself is missing from the export. Idk if it gets all merged in with the jar file but my program keeps crashing when its trying to load a font which is the first time i access that data folder.
In the eclipse IDE i just use the filename of the file i want without the any path to it for example loadFont("Vag-Rounded-Black.vlw"); That works fine in the IDE but i dont know if the file structure changes and requires me to do something different in Eclipse.
Any help would be awesome!
File Structure in Eclipse:
Project Folder
.git
.idea
.settings
bin
lib
src
bicyclecounter
data
out
text
visuals
.classpath
.DS_Store
.project
BicicleCounter.iml
preferences.txt
README
but when i export this is what i get
Application.macosx
Bicyclecounter.app
contents
info.plist
macOS
pkgInfo
resources
java
BicycleCounter.jar
source
bicyclecounter
out
text
visuals
It seems like the data folder itself is missing from the export. Idk if it gets all merged in with the jar file but my program keeps crashing when its trying to load a font which is the first time i access that data folder.
In the eclipse IDE i just use the filename of the file i want without the any path to it for example loadFont("Vag-Rounded-Black.vlw"); That works fine in the IDE but i dont know if the file structure changes and requires me to do something different in Eclipse.
Any help would be awesome!
1