Re: plist path
Re: plist path
- Subject: Re: plist path
- From: Chuck Hill <email@hidden>
- Date: Thu, 09 Aug 2012 08:07:25 -0700
On 2012-08-08, at 11:01 PM, Ron X wrote:
> hi everybody!
>
> i build my project with maven, so i have 2 apps and 2 own frameworks, one of them called BusinesLogicFrmwk ^_^ and i have model (and all model plists) here.
> after build and deploy and start some tasks i have error
> exception=java.lang.IllegalArgumentException: URI is not hierarchical appendedWithPathComponent: jar:file:///usr/local/maven/Admin/35/Admin.woa/Contents/Resources/Java/AppX/BusinesLogicFrmwk/1.0.0/BusinesLogicFrmwk -1.0.0.jar!/WebServerResources/appx.eomodeld/Order.plist
>
> to get model from plist by url i use:
> NSPathUtilities.stringByAppendingPathComponent(modelPath.toString(), entityName+".plist");
>
> but every time system want to take plists from jars?
>
> why should it happened?
What is modelPath.toString() if you print it out? It looks like you are deploying your framework as a jar.
Chuck
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/gvc/practical_webobjects
_______________________________________________
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
References: | |
| >plist path (From: Ron X <email@hidden>) |