Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
rustifer
rustifer's Profile
2
Posts
4
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
Two or more apps sharing same data directory?
[3 Replies]
31-Mar-2011 07:45 AM
Forum:
Programming Questions
I want two separate apps (each will run on its own display) to share the same data directory, but can't make it work.
Tried making app2's data directory a symlink to app1's but that doesn't work.
Sym links of any kind were generally failing to work.
I also tried saving app2's PDE file to same directory as app1, but then you get "duplicate methods" errors.
I realize processing must not be designed to allow two apps to share a data directory, but does anyone know if it can be done?
The general goal is that app1 creates files that app2 needs to read. Simple but not easy to accomplish.
Any ideas are appreciated.
UPDATE: I discovered dataPath() and sketchPath() and am having some success with relative paths.
Still interested in other techniques. Again the reason these are two apps is so each can run on its own monitor.
Where to find the Java version of my program.
[5 Replies]
25-Jan-2011 01:29 PM
Forum:
Programming Questions
Admitted newbie here.
Was stress testing my Processing program and getting expected Null Pointer errors.
The traceback, showing the call trace of exactly where the error occurred contained references to my program, but with a .java extension.
The line numbers did not relate to the code above in the editor window, as I had hoped.
This must be a normal by product of how Processing works, right?
It creates a .java file internally somewhere which is the Java version of my program.
Is there a way to see the Java version of my program?? I searched carefully using UNIX 'find' and can't locate it.
Thanks
«Prev
Next »
Moderate user : rustifer
Forum