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 protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
