Re: Re : Re : Re : Unable to find framework named

From: David Avendasora (webobject..vendasora.com)
Date: Thu Jan 24 2008 - 10:00:48 EST

  • Next message: David Avendasora: "Re: Re : Unable to find framework named"

    I just want to be clear here, you're saying you have fixed/resolved
    your problem?

    If you resolved it by changing a default, please make sure you post a
    bug to http://issues.objectstyle.org/jira/secure/BrowseProject.jspa?
    id=10001 with as many details as possible, documenting how you can
    reproduce it.

    Dave

    On Jan 24, 2008, at 9:48 AM, ashenshugar62-w..ahoo.fr wrote:

    > Re
    >
    > I resume my problem
    >
    > When I create a new WOAplication, in the Components folder , there
    > is the default Main.wo ("Hello world")
    >
    > but with the default value of resources.includes.patern
    >
    > Components/**/*.wo/**/*
    > Components/**/*.api
    > Resources/**/*
    >
    > Main.wo and main.api are not copying in the build/NewProject.woa/
    > Contents/Resources folder
    >
    > then I have this error when I execute
    >
    > 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._componentDefinitionFromClassNa
    > med(WOApplication.java:2353)
    >
    > at com.webobjects.appserver.WOApplication._componentDefinition
    > (WOApplication.java:2448)
    >
    > at com.webobjects.appserver.WOApplication.pageWithName
    > (WOApplication.java:1943)
    >
    >
    >
    > With this modified resources.includes.patern
    >
    >
    > **/*.wo/
    >
    > **/*.api
    >
    > Resources/**/*
    >
    >
    >
    > It's working :-)
    >
    >
    >
    > Eric
    >
    >
    > ----- Message d'origine ----
    > De : Mike Schrag <mschra..dimension.com>
    > À : woproject-de..bjectstyle.org
    > Envoyé le : Jeudi, 24 Janvier 2008, 14h31mn 17s
    > Objet : Re: Re : Re : Unable to find framework named
    >
    > I just created a new WonderApplication that uses the patterns:
    >
    > Components/**/*.wo/**/*
    > Components/**/*.api
    > Resources/**/*
    >
    > and it works perfectly fine. For the people saying it's "not
    > working," please define what you mean. If you put a component in the
    > Components folder or a subfolder of Components, it will be copied into
    > the build/YourApp.woa/Contents/Resources folder. If you put
    > components ANYWHERE ELSE they will not be and that is entirely on
    > purpose.
    >
    > On Jan 24, 2008, at 7:46 AM, Anjo Krank wrote:
    >
    > > If you put your resources in Resources/ then the patterns I posted
    > > are fully sufficient. You may need to delete PB.project (and/or the
    > > XCode files) before your resources is recognized. But as long as you
    > > stay within the Wonder layout, you need nothing more.
    > >
    > > The easiest way to fix this is to add
    > >
    > > wsresources.include.patternset=WebServerResources/**/*
    > > resources.include.patternset=Components/**/*.api, Components/**/
    > > *.wo, Resources/**/*
    > >
    > > to your Library/wobuild.properties and delete the woproject folder.
    > >
    > > Cheers, Anjo
    > >
    > > Am 24.01.2008 um 12:46 schrieb ashenshugar62-w..ahoo.fr:
    > >
    > >> 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.
    > >
    >
    >
    >
    >
    > Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers
    > Yahoo! Mail



    This archive was generated by hypermail 2.0.0 : Thu Jan 24 2008 - 10:01:45 EST