Maybe I should have been more clear, now that I've re-read this.
I want to actually get the path, not a stream of the file, like the
typical NSBundle resource features allow.
For now, I'm using the NSBundle stuff, reading the stream and writing
it to a temporary file... but I hate it.
Thanks,
Ken
On May 3, 2009, at 7:05 AM, Ken Anderson wrote:
> All,
>
> I'm trying to figure out the correct way to get the path of an XML
> file that's been placed in Resources inside a framework inside my
> app. The file is ending up at:
>
> WEB-INF/<appname>.woa/Contents/Frameworks/<frameworkname>.framework/
> Resources
>
> One thing I thought I could do is add the xml file to the jar, and
> then find the jar my class is in and grab it that way.
> Unfortunately, it seems like the calling of the jar ant task is
> embedded inside WOTask or WOFramework, so I can't embed the file
> very easily.
>
> Any thoughts are appreciated...
>
> Ken
This archive was generated by hypermail 2.0.0 : Mon May 04 2009 - 14:03:53 EDT