Re: Re : Unable to find framework named

From: David Avendasora (webobject..vendasora.com)
Date: Thu Jan 24 2008 - 11:35:24 EST

  • Next message: Florijan Stamenkovic: "JavaClient model editing in EntityModeler"

    Yeah, but it's "Stable" :)

    The bugs I know are better than the bugs I don't.

    Makes me nostalgic for Xcode... ah sweet, sweet targets. :-P

    Dave

    On Jan 24, 2008, at 11:05 AM, Chuck Hill wrote:

    > That is mostly because 4118 is ancient. Anjo is using the modern,
    > user friendly Fluffy Bunny layout. It is a lot easier to work with
    > (for at least the majority of cases) than the templates created by
    > earlier versions. The project layout and resource inclusion is
    > quite different.
    >
    > Chuck
    >
    >
    >
    > On Jan 24, 2008, at 3:16 AM, David Avendasora wrote:
    >
    >> Interesting. These are NOT what I get with WOLips 2.0.0.4118 in a
    >> new WOApplication.
    >>
    >> I get:
    >>
    >> **/Properties
    >> **/*.eomodeld/
    >> **/*.d2wmodel
    >> **/*.wo/
    >> **/*.api
    >> **/*.strings
    >> **/*.plist
    >>
    >> Now, I can see "**/Properties" and "**/*.eomodel/" being replaced
    >> by "Resources/**/*" but "**/*.d2wmodel" needs to be in the
    >> reouserces.include.patternset because if you place that file in
    >> the Resources directory, then Rapid Turnaround can't find it to
    >> update any changes made with the Assistant. I ran into this just
    >> last night.
    >>
    >> Are they different in newer versions of WOLips? If so and they
    >> match what you are saying Anjo, then a bug will need to be filed
    >> to add the "**/*.d2wmodel" back in.
    >>
    >> Dave
    >>
    >>
    >> On Jan 24, 2008, at 5:33 AM, Anjo Krank wrote:
    >>
    >>> The default values should be:
    >>>
    >>> resources.include.patternset=Components/**/*.api, Components/**/
    >>> *.wo, Resources/**/*
    >>>
    >>> and NOTHING else. In this order, with these EXACT patterns. In
    >>> particular Components/**/*.wo/**/* most likely won't work.
    >>>
    >>> If they are different, then log a bug with WOLips version and
    >>> beforehand check if you modified the templates in any way.
    >>>
    >>> Cheers, Anjo
    >>>
    >>> Am 24.01.2008 um 09:55 schrieb ashenshugar62-w..ahoo.fr:
    >>>
    >>>> Re
    >>>>
    >>>> when I create a "new WebObjects Project" , the components are
    >>>> for the default in the directory "Components"
    >>>>
    >>>> I see in the resources.includes.patern
    >>>> the default values are
    >>>> Components/**/*.wo/**/*
    >>>>
    >>>> Components/**/*.api
    >>>>
    >>>> Resources/**/*
    >>>>
    >>>> But it is not working, it don't find the component in the
    >>>> directory "Components" and it don't move in the build.
    >>>>
    >>>> I'm modifying as
    >>>>
    >>>> **/*.wo/
    >>>>
    >>>> **/*.api
    >>>>
    >>>> Resources/**/*
    >>>>
    >>>> **/*.eomodeld/
    >>>>
    >>>>
    >>>> It's working :-)
    >>>>
    >>>>
    >>>> if you have a best configuration or if you can explain why
    >>>> "Components/**/*.wo/**/*" not working, answer me....
    >>>>
    >>>>
    >>>> thanks
    >>>>
    >>>>
    >>>> Excuse me for my bad english.
    >>>>
    >>>>
    >>>> Eric
    >>>>
    >>>>
    >>>>
    >>>>
    >>>> ----- Message d'origine ----
    >>>> De : David Avendasora <webobject..vendasora.com>
    >>>> À : woproject-de..bjectstyle.org
    >>>> Envoyé le : Mercredi, 23 Janvier 2008, 22h23mn 39s
    >>>> Objet : Re: Unable to find framework named
    >>>>
    >>>> Look at: http://lists.apple.com/archives/webobjects-dev/2008/Jan/
    >>>> msg00474.html
    >>>>
    >>>> On Jan 23, 2008, at 8:28 AM, ashenshugar62-w..ahoo.fr wrote:
    >>>>
    >>>>> Hello
    >>>>>
    >>>>> I create a "new WebObjects Project" : NewProject in WOLIPS and
    >>>>> execute the application with the default main page.
    >>>>>
    >>>>> I have this error when i open the application (http://
    >>>>> 134.206.2.15:2668/cgi-bin/WebObjects/NewProject.woa) in the
    >>>>> browser:
    >>>>>
    >>>>> Application: NewProject
    >>>>> Error: java.lang.IllegalStateException exception
    >>>>> Reason:
    >>>>> java.lang.IllegalStateException: Unable to find framework named
    >>>>> "NewProject".
    >>>>> and in the console
    >>>>>
    >>>>> (...)
    >>>>>
    >>>>> Your application's URL is:
    >>>>>
    >>>>> http://134.206.2.15:2668/cgi-bin/WebObjects/NewProject.woa
    >>>>>
    >>>>> [2008-01-23 14:24:01 CET] <main> Waiting for requests...
    >>>>>
    >>>>> [2008-01-23 14:25:05 CET] <WorkerThread0>
    >>>>> <com.webobjects.appserver._private.WOComponentDefinition> No
    >>>>> template found for component Main at "file:/C:/projets/eclipse/
    >>>>> WorkspaceSoutenance/NewProject/build/NewProject.woa/".
    >>>>>
    >>>>> [2008-01-23 14:25:05 CET] <WorkerThread0>
    >>>>> <com.webobjects.appserver._private.WOComponentRequestHandler>:
    >>>>> Exception occurred while handling request:
    >>>>>
    >>>>> java..lang.IllegalStateException: Unable to find framework
    >>>>> named "NewProject".
    >>>>>
    >>>>> [2008-01-23 14:25:05 CET] <WorkerThread0>
    >>>>> java.lang.IllegalStateException: Unable to find framework named
    >>>>> "NewProject".
    >>>>>
    >>>>> at
    >>>>> com..webobjects.appserver._private.WOComponentDefinition.<init>
    >>>>> (WOComponentDefinition.java:179)
    >>>>>
    >>>>> at
    >>>>> com.webobjects.appserver.WOApplication._componentDefinitionFromCla
    >>>>> ssNamed(WOApplication.java:2353)
    >>>>>
    >>>>> at com.webobjects.appserver.WOApplication._componentDefinition
    >>>>> (WOApplication.java:2448)
    >>>>>
    >>>>> at com.webobjects.appserver.WOApplication.pageWithName
    >>>>> (WOApplication.java:1943)
    >>>>>
    >>>>> at
    >>>>> com.webobjects.appserver._private.WOComponentRequestHandler._dispa
    >>>>> tchWithPreparedSession(WOComponentRequestHandler.java:273)
    >>>>>
    >>>>> at
    >>>>> com..webobjects.appserver._private.WOComponentRequestHandler._disp
    >>>>> atchWithPreparedApplication(WOComponentRequestHandler.java:322)
    >>>>>
    >>>>> at
    >>>>> com.webobjects..appserver._private.WOComponentRequestHandler._hand
    >>>>> leRequest(WOComponentRequestHandler.java:358)
    >>>>>
    >>>>> at
    >>>>> com.webobjects.appserver._private.WOComponentRequestHandler.handle
    >>>>> Request(WOComponentRequestHandler.java:432)
    >>>>>
    >>>>> at com.webobjects.appserver.WOApplication.dispatchRequest
    >>>>> (WOApplication.java:1306)
    >>>>>
    >>>>> at com.webobjects.appserver._private.WOWorkerThread.runOnce
    >>>>> (WOWorkerThread.java:173)
    >>>>>
    >>>>> at com.webobjects.appserver.._private.WOWorkerThread.run
    >>>>> (WOWorkerThread.java:254)
    >>>>>
    >>>>> at java.lang.Thread.run(Unknown Source)
    >>>>>
    >>>>>
    >>>>>
    >>>>> Have you an idea??
    >>>>>
    >>>>>
    >>>>> Thanks
    >>>>>
    >>>>>
    >>>>> Eric
    >>>>>
    >>>>>
    >>>>>
    >>>>>
    >>>>> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails
    >>>>> vers Yahoo! Mail
    >>>>
    >>>>
    >>>>
    >>>> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers
    >>>> Yahoo! Mail
    >>>
    >>>
    >>>
    >>
    >>
    >
    > --
    >
    > 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/products/practical_webobjects
    >
    >
    >
    >
    >
    >
    >



    This archive was generated by hypermail 2.0.0 : Thu Jan 24 2008 - 11:36:32 EST