Bug 1295 : Recursive subfolder copy when exporting application
Last modified: 2009-08-11 20:31




Status:
RESOLVED
Resolution:
FIXED -
Priority:
P2
Severity:
normal

 

Reporter:
ac
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2009-07-26 09:19
Up to now, the exportApplication() method in the PDE's Sketch class copies
single files into the app's main directory. This is implemented in line
2369 of Sketch.java:

} else {
// copy the file to the main directory.. prolly a .dll or something
Base.copyFile(exportFile,
new File(destFolder, exportFile.getName()));
}

which takes care of libraries that depend on dlls that can be deployed
directly inside the library folder of the Processing library. However, this
is not a feasible approach with more complex libraries, such as gstreamer,
which needs its own directory structure to be place inside the library
folder. For exported application that depend on such libraries to work
properly, a recursive copy of these directory structures would be needed.
Additional Comment #1 From fry 2009-08-11 13:27
now fixed in subversion, and for whatever release follows 1.0.5 (perhaps
1.0.6). please test!
Additional Comment #2 From ac 2009-08-11 20:30
I just tested on Leopard, exporting for Linux, MacOSX and Windows. The
three exported apps had the gstreamer folder in the correct location.
Additional Comment #3 From fry 2009-08-11 20:31
great, thanks for checking.