Bug 469 : Export to application not bundling contents of 'code' folder
Last modified: 2008-05-31 14:19



Assigned To:

Attachment Type Created Size Actions

Description:   Opened: 2006-12-12 10:54
I'm working on a project using the Javamail API and its associated libraries. Everything worked
fine within the PDE, but when I export as an application for OS X, the mail stopped functioning.
After some investigation, I noticed that Processing did not copy all of the library's *.jar files
into the /Resources/Java/ folder, and the files were similarly not added to the ClassPath string
in the Info.plist file. After adding these things manually, the exported application works just

I'm using rev. 0123 on OS X (Intel Core 2 Duo MacBook Pro)
Additional Comment #1 From fry 2006-12-12 10:57
how is your library set up? that you\'ve placed a jar file in the code
folder? or is it a series of jar files in a \'library\' folder?
Additional Comment #2 From rebelprince 2006-12-12 10:59
The jar files are in the code folder.
Additional Comment #3 From fry 2006-12-12 11:13
i think i mighta left that out in my haste to finish export to app. i'll
get that repaired shortly.

in the meantime, you can either copy things by hand, or create a 'fake'
library that includes an export.txt file that lists the jar files, and then
just import it the way you would any other lib. see the instructions in
libraries/howto.txt for how to put that together.
Additional Comment #4 From fry 2008-05-31 14:19
fixed in release 0137.