In your project there is a file named Properties in the Resources folder. If using Eclipse, you may need to adjust the project explorer filter settings since it may be hidden if you don't see it. Anyway, you can put property settings in there. You can put custom ones for your app, WebObjects and/or also override properties that are used in any Frameworks. For example if you look at the Wonder frameworks, most properties are in the Properties file in those frameworks, often with default values and/or commented out just so you know the Properties exist.

Of course to learn what a property does in Project Wonder, you should search the framework source to see its usage and then you know what it does! .... don't worry, searching Wonder source is good for you and will teach you more about WebObjects *and* Project Wonder! Also, as you examine the source, you will discover "undocumented" useful properties that you can use.

The main thing is to override and set Wonder Properties in your app Properties file. Changing the Properties file inside the Wonder frameworks is not good since it will be blown away when you download new version.

HTH, Kieran

On Mar 29, 2007, at 12:38 PM, Kevin Windham wrote:

I'm struggling trying to figure out where the properties file is supposed to be that loads in settings for ERJavaMail. I have searched and found listings of the properties I should set to fix my problem, but I can't figure out where to put them. I have tried putting them in the properties file in my project directory, and I have tried putting them in the properties file in the framework itself. No matter where I put this,

# * Enables ERJavaMail to send all the mails to only one destination
# This is useful when debugging
er.javamail.centralize = false


I still get this,

Exception sending email: java.lang.IllegalArgumentException: When setting 'er.javamail.centralize=true' (which means you just test sending mails), you must also give a valid '[EMAIL PROTECTED]' to which the mails are sent.


I have downloaded the latest build of Project Wonder as well since I found an old thread that suggested there was bug loading properties.

Can anyone point me in the right direction.

Thanks,
Kevin
_______________________________________________
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]

Reply via email to