Hi Florijan, On 27/03/2008, at 3:45 AM, Florijan Stamenkovic wrote:
Lachlan, thanks for the reply, a slightly modified version of your code works.
Oh good.
The "b" option, the only one applicable to my situation... Below is my modified loop:// try to connect to all given urls for(String url : urls){ url = url.trim(); try{ // code added to my loop // can't deal with existing EOApp instance args because// one was not instantiated yet (this code is in static void main(String[] args) )NSMutableDictionary arguments = new NSMutableDictionary(); arguments.setObjectForKey(url, ApplicationURLProperty); EOApplication.setArguments(arguments);
In that case, you should file a bug report. The bug is in EOApplication._mergeArguments which favours key-values already set rather than new updates to those keys' values. I don't know if NSProperties does the same.
with regards, -- Lachlan Deck _______________________________________________ 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]
