Thanks Mike for your response.

After reading your email, I realized that I need to give the path from the Resources folder. I had the xml file inside a folder in Resources. When I gave that path, it worked.

Sorry!

Thanks
Kamal



On 20-Jan-09, at 7:00 PM, Mike Schrag wrote:

ERXResourceManager resMgr = (ERXResourceManager) ERXApplication.application().resourceManager(); String mapFilePath = resMgr.pathURLForResourceNamed("MyMap.xml", null, null).toString();
There's actually no need to change your API calls -- ERXResourceManager is wired in as WOResourceManager, so your old code is fine.

Can you look in your framework's build folder and tell me where MyMap.xml is?

ms
_______________________________________________
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/kamal%40thinkgrene.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