Hi,
Replying to my own post:
I figure this is due to the way resources are located while in rapid
turnaround mode. I'm having a similar problem with a custom property
file that is loaded on startup - and not being found if it's not in
the project root.
The WOResourceManager documentation states:
"Note that if you use Project Builder (rather than ProjectBuilderWO)
and you add a folder of resources, they must be added as Folder
References. This allows WOResourceManager to find them in rapid
turnaround mode."
Is there a way to emulate "Folder References" with WOLips? Should
this work if generation of the xcodeproj file is turned on (it
doesn't for me, but...)? Are others keeping components or resources
in subfolders?
cheers
Fabian
Am 18.03.2007 um 01:17 schrieb Fabian Peters:
> Hi,
>
> I've run into a strange issue: I changed the project layout of one
> of my frameworks to the project Wonder structure, i.e. with
> directories "Components", "Sources" etc. Part of this framework is
> a component named ELLocalizedString, which is quite similar to
> ERXLocalizedString. After my changes, the component is now sitting
> within the "Components" directory, not in the project root as before.
>
> Now, when I access a page that uses ELLocalizedString and no
> session is created, I get:
>
> <com.webobjects.appserver._private.WOComponentDefinition> No
> template found for component ELLocalizedString at "file:/Users/
> fabian/Documents/workspace/myApplication/build/myApplication.woa".
>
> If I move the components back out to the framework project root,
> the template is located. Applications using ELLocalizedString but
> requiring a session from the start, find the template in both
> setups. A "diff -r" on the build folders for both setups shows no
> differences whatsoever.
>
> André Koppany reported something similar last year: <http://
> objectstyle.org/woproject-old/lists/woproject-dev/2006/06/0014.html>
>
> Any suggestions? Thanks,
>
> Fabian
This archive was generated by hypermail 2.0.0 : Mon Mar 19 2007 - 11:48:06 EDT