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

From: Mike Schrag (mschra..dimension.com)
Date: Thu Jan 24 2008 - 15:13:54 EST

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

    Don't worry, it's in my Things:

    On Jan 24, 2008, at 2:43 PM, ashenshugar62-w..ahoo.fr wrote:

    > Thanks for yours response.
    > Wolips I hope will be better and better.
    > It is a very good job.
    >
    > Think a little at windows :-)
    >
    > Bye
    >
    > Eric
    >
    >
    > ----- Message d'origine ----
    > De : Mike Schrag <mschra..dimension.com>
    > À : woproject-de..bjectstyle.org
    > Envoyé le : Jeudi, 24 Janvier 2008, 18h29mn 25s
    > Objet : Re: Re : Re : Re : Re : Unable to find framework named
    >
    > Ah .. yes .. Windows. Good times. So those patterns do NOT work on
    > Windows. I have no idea why at the moment (and it's deep down
    > inside of ant that evaluates them), but they definitely do not. The
    > closest variant is Components/*.wo, Components/*.api , but this will
    > not properly flatten if you have subfolders of components inside of
    > Components.
    >
    > ms
    >
    > On Jan 24, 2008, at 11:12 AM, ashenshugar62-w..ahoo.fr wrote:
    >
    >> I works with
    >>
    >> - WOLIPS 3..3.4777
    >> - eclipse 3.3.1.1
    >> - Windows XP
    >> - jre 1.5.0_11
    >>
    >> Eric
    >>
    >>
    >>
    >>
    >> ----- Message d'origine ----
    >> De : Mike Schrag <mschra..dimension.com>
    >> À : woproject-de..bjectstyle.org
    >> Envoyé le : Jeudi, 24 Janvier 2008, 15h53mn 58s
    >> Objet : Re: Re : Re : Re : Unable to find framework named
    >>
    >> I use this exact configuration, and in fact have a project that has
    >> been in development for several weeks using this configuration and
    >> it's working fine. I suspect this is environmental.
    >>
    >> What is your WOLips version + Eclipse version?
    >>
    >> ms
    >>
    >> 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
    >>> ._componentDefinitionFromClassNamed(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
    >>
    >>
    >>
    >> 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



    This archive was generated by hypermail 2.0.0 : Thu Jan 24 2008 - 15:15:05 EST