Another untested "stab" is: For development, add a project dir to the classpath. I expect that is straightforward and Eclipse will take care of it.
For deployment, have a look at the APP.woa/Contents/MacOS/MacOSClassPath.txt file (or appropriate one if using other platform). When a WOA is started by wotaskd, it uses the WOBootstrap.jar to dynamically create the big old classpath at startup. So, for a quick test, you could add APPROOT/Resources/KeystoreFiles/ to that file on a built woa, assuming you use a dir named KeystoreFiles in Resources and test that. if that works, then go look at how you can change the build.xml to automatically add the extra classpath dir to the MacOSClassPath.txt file during deployment build. HTH, Kieran On Jan 13, 2010, at 9:30 AM, Patrick Robinson wrote: > No, that didn't work... it just gets ignored. Thanks for the suggestion, > though; it sounded promising! I thought it might result in the file's being > put into Contents/Resources/Java/, which *is* in the classpath. > > - Patrick > > > On Jan 13, 2010, at 6:17 AM, David Avendasora wrote: > >> Hi Patrick, >> >> This is just a stab-in-the-dark, but can't you just drop it into the Sources >> directory? >> >> Dave >> >> On Jan 12, 2010, at 11:20 PM, Patrick Robinson wrote: >> >>> I need to use a java library that expects to find my java keystore file >>> (which would normally be specified by the javax.net.ssl.keyStore system >>> property) in a directory on the classpath. >>> >>> How do I do that? Is there a way to create a dir (perhaps under >>> Resources), and tell the build system to include it in the classpath? >>> >>> - Patrick >>> >>> _______________________________________________ >>> Do not post admin requests to the list. They will be ignored. >>> Webobjects-dev mailing list ([email protected]) >>> Help/Unsubscribe/Update your Subscription: >>> http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com >>> >>> This email sent to [email protected] >>> >>> >> >> _______________________________________________ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list ([email protected]) >> Help/Unsubscribe/Update your Subscription: >> http://lists.apple.com/mailman/options/webobjects-dev/pgr%40vt.edu >> >> This email sent to [email protected] > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/kieran_lists%40mac.com > > This email sent to [email protected] _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
