Re: Framework resources folder and Maven
Re: Framework resources folder and Maven
- Subject: Re: Framework resources folder and Maven
- From: Nikolay <email@hidden>
- Date: Wed, 13 Apr 2016 21:57:17 +0200
I had the same issue with access to resource inside a framework from application. The workaround was not so nice, but anyway:
NSBundle servicesFw = NSBundle.bundleForName("servicesFw");
URL a = services.pathURLForResourcePath("my-resouce.txt“);
See also: NSBundle#frameworkBundles(), NSBundle#isJar()
Nick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden