Re: EOModels not loading [SOLVED]

From: Jean Pierre Malrieu (jp.malrie..ree.fr)
Date: Sun Oct 17 2004 - 04:10:13 EDT

  • Next message: Britt, Travis: "RE: Maintaining PB.project"

    Thanks a lot Ulrich, it works now, and I even understand why it didn't
    work!

    JPM.

    Le 16 oct. 04, ā 19:39, Ulrich Köster a écrit :

    > Moin Jean Pierre,
    >
    > the problem is that the eomodel is included and excluded. You're
    > facing a bug in 1.1.0.70.
    >
    > What happen's behind the scenes. Take a look into your framework (same
    > for an application) it should contain a folder named 'woproject' (or
    > 'ant' ).
    >
    > Within the 'woproject' folder are various files. Open the
    > resource.include.patternset and the resources.exclude.patternset. Both
    > contain a list of pattern. WOLips use them to decide which files are
    > Resouces during the PB.project update and the build. The exclude rules
    > are stronger. I.e including and excluding a file excludes it. The
    > default resource.exclude.patternset from 1.1.0.70 excludes EOModels.
    > Just coping the eomodels into the framework does not solve your
    > problem because the eomodel is not included in the PB.project. The woa
    > only load resources defined in a PB.project even if they exist in the
    > woa or a framework. (When launched in development which is the
    > default.)
    >
    > To get rid of the problem:
    >
    > 1. Disable the automatic build.
    >
    > 2. If the folder is named ant please rename the folder to 'woproject'
    > and choose WOLips->Upgrade to 1.1.* from the project menu. (The menu
    > entry upgrades your build.xml without a warning. In the case you've
    > changed it manually make a backup first. )
    >
    > 3. Create a new framework any copy the *patternset files from the new
    > framework to old framework. (They are within the woproject folder.)
    >
    > 4. Move the models to the correct framework. Remove the build folder
    > from the framework and application.
    >
    > 5. Quit and restart Eclipse.
    >
    > 6. Enable the automatic build.
    >
    > Ulrich
    > Am 16.10.2004 um 18:36 schrieb Jean Pierre Malrieu:
    >
    >> I ended up adding the models to the application itself, and copying
    >> then to the build/xxx.woa/Contents/Resources folder. My models are
    >> now loading. But then I have to maintain several copies of then, one
    >> in the framework, an one in the application. Not very convenient.
    >> Each time I modify the models, do I have to manually copy them to the
    >> build/xxx.woa/Contents/Resources folder?
    >>
    >> JP.
    >>
    >>
    >> Le 16 oct. 04, ā 18:22, Jean Pierre Malrieu a écrit :
    >>
    >>> It's an upgrade from 1.1.0.70.
    >>> When I add a model (by dragging from file system) to a framework,
    >>> or application, do I have to "Include as resource" it?
    >>>
    >>> Jean Pierre.
    >>>
    >>> Le 16 oct. 04, ā 13:51, Ulrich Köster a écrit :
    >>>
    >>>> Hi Jean Pierre,
    >>>>
    >>>> is it a vanilla install of WOLips or an upgrade from another beta?
    >>>>
    >>>> Ulrich
    >>>>
    >>>> Am 15.10.2004 um 09:44 schrieb Jean Pierre Malrieu:
    >>>>
    >>>>> I have found the following advice:
    >>>>>
    >>>>> You have to manually copy any *.eomodeld directories into the
    >>>>> framework's
    >>>>> build/xxx.framework/resources directory.
    >>>>>
    >>>>> But my EOModels were already there. To be sure, I did copy the
    >>>>> EOmodels from the file system to the above directory in eclipse
    >>>>> but that didn't work...
    >>>>>
    >>>>> There is a bug report on this issue,
    >>>>>
    >>>>> http://objectstyle.org/jira/secure/ViewIssue.jspa?key=WOL-100
    >>>>>
    >>>>> but it states that the bug concerns Eclipse 3.0.0 and wolips
    >>>>> 1.1.0.71 on Win2k. I am on the Mac, and using wolips 1.1.0.82 beta
    >>>>> 3. I am (still) concerned?
    >>>>>
    >>>>> Other Ideas?
    >>>>>
    >>>>> JPM.
    >>>>>
    >>>>> Le 15 oct. 04, ā 08:30, Jean Pierre Malrieu a écrit :
    >>>>>
    >>>>>> Hi,
    >>>>>>
    >>>>>> I have an application using a framework. The framework contains
    >>>>>> two EOModels. The application references the framework. Yet, when
    >>>>>> running the application, I receive the famous error:
    >>>>>>
    >>>>>> An object store for the entity "XXX" could not be found. Verify
    >>>>>> that the entity is defined in an EOModel, and that the model is
    >>>>>> installed properly.
    >>>>>>
    >>>>>> Eomodels are not loaded. I don't know if it is an Eclipse issue.
    >>>>>> This happened suddenly, I don"t know exactly why. Maybe because I
    >>>>>> save one of the EOmodels...
    >>>>>>
    >>>>>> I have made some research on this error, and found that it might
    >>>>>> have been the result of ProjectBuilder and Eclipse bugs, but
    >>>>>> these messages are pretty old, and the bugs should have been
    >>>>>> corrected by now, so I don't know what to do...
    >>>>>>
    >>>>>> JPM.
    >>>>>>



    This archive was generated by hypermail 2.0.0 : Sun Oct 17 2004 - 04:10:18 EDT