RE: Incremental framework with a model

From: Ian McDougall (ian.mcdougal..mode.com)
Date: Fri Jul 23 2004 - 16:45:39 EDT

  • Next message: Pierre Frisch: "Re: Why not WOGen? [Was: Eclipse 3.0 and EOGenerator"

    You have to manually copy any *.eomodeld directories into the framework's
    build/xxx.framework/resources directory.

    There is a bug on this issue:
    http://objectstyle.org/jira/secure/ViewIssue.jspa?key=WOL-100

        -----Original Message-----
      From: David Haggerty [mailto:haggert..fu.org]
      Sent: Friday, July 23, 2004 9:11 AM
      To: woproject-de..bjectstyle.org
      Subject: Incremental framework with a model

      We currently use Eclipse 2.1.3 w/1.0.7.50 and I was testing out Eclipse
    3.0.0 and 1.1.0.70. I am having a problem but it is most likely just a
    setting that I am forgetting about.

      We have our main WOApplication and have a framework with all of the
    database models and classes. Both are setup as incremental.

      In Java Build Path of the App, in the projects tab, the model framework is
    checked. Same goes for the Project References. I thought this would be
    enough for it to see the framework when it launches.

      However, when I launch the app., it sees the Java classes from the model
    framework without a problem but it clearly does not see the models and other
    resources. It doesn't load shared objects nor does it fetch from the
    database, etc. Here's the error when I try to fetch data:

      An object store for the entity "UserNamePassword" could not be found.
    Verify that the entity is defined in an EOModel, and that the model is
    installed properly. To see what models are loaded, you can try printing the
    return value of EOModelGroup.defaultGroup

      This is the launch. Shouldn't it see the opened model framework project as
    well and point to the resources? It only seeing the App's project file at
    launch:
      DEBUG 10:54:25 (NSLog :44) -*** The application has found the following
    opened, development-mode ProjectBuilderWO projects:
    (<com.webobjects.appserver._private.WOProjectBundle: projectName='MyYFUWeb';
    bundlePath='C:\Programming\workspace\MyYFUWeb\build\MyYFUWeb.woa';
    projectPath='C:\Programming\workspace\MyYFUWeb'>)
      WARN 10:54:25 (NSLog :41) -Application project found: Will locate
    resources in 'C:\Programming\workspace\MyYFUWeb' rather than
    'C:\Programming\workspace\MyYFUWeb\build\MyYFUWeb.woa' .

      DEBUG 10:54:25 (NSLog :44) -Creating LifebeatThread now with: MyYFUWeb
    10000 localhost/127.0.0.1 1085 30000

      Thanks in advance for your help and also for providing WOLips!
      David



    This archive was generated by hypermail 2.0.0 : Fri Jul 23 2004 - 16:44:29 EDT