Missing Something...
Michael Deninger <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
Sorry to be a pest with another post.
I am using some code like this:
java.net.URL deliverySettingsURL = resourceManager
().pathURLForResourceNamed( "deliveryMethods.dict", null, (NSArray)
null );
if ( null != deliverySettingsURL ) {
deliveryMethodList = (NSArray)
NSPropertyListSerialization.propertyListWithPathURL
(deliverySettingsURL);
} else {
System.err.println("Cannot find path for
deliveryMethods.dict");
System.exit(1);
}
to load some config files into my application. This works in XCode
but fails when I deploy. I have the necessary files set to the
application target and they are in the compiled project when I
inspect the contents of the WOApp.
I must be missing something, though. The WOExamples app uses this
exact same method and works upon deployment. I cannot for the life of
me figure out what it does differently, though.
Regards,
Mike
_______________________________________________
WebObjects-dev mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/webobjects-dev