Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
dataPath() not working when app is not run from appdir (linux) #2195
On Linux with java 1.7 :
I could get a bit closer by doing:
but it returns the application.linux32/lib/databug.jar path. Splitting this string sounds like an ugly hack.
This can be related to issue #2181, but I'm not sure.
A quick fix is to add
in the shell script generated when exporting while things get sorted out.
Maybe controlP5 and openNI should use datapath() internally by default, I don't know.
Are you asking because dataPath() will go away ?
Thanks for the good work on P5 !
Fixed for 3.0 beta 4.
However, none of those are good reasons to use the data path. It's not documented and it behaves differently than most people expect. Libraries should use
If a specific path is needed,