• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Doesn't see all prototypes model?!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Doesn't see all prototypes model?!


  • Subject: Re: Doesn't see all prototypes model?!
  • From: Chuck Hill <email@hidden>
  • Date: Thu, 16 Dec 2004 16:21:19 -0800

Classpath issue.  The framework is not getting loaded.  Check the path in
Appname.woa/Contents/Windows/CLSSPATH.TXT.  Check that the jar for the FW
is really there.  Check that the .eomodeld file really is under the
Resources directory in the model.

Chuck

At 06:11 PM 16/12/2004 -0600, James Cicenia wrote:
>This only sees the main model.. not the one in the framework... it only
>loops once.
>
>  public void appendJdbcUrl(String additionalUrl) {
>		String newDatabaseTag = databaseTagFromUrl(additionalUrl);
>		if (newDatabaseTag != null) {
>			EOPrototypeSwitcher switcher = new
>EOPrototypeSwitcher(newDatabaseTag.toUpperCase());
>			System.out.println("Database Tag: "+newDatabaseTag);
>			jdbcUrls.setObjectForKey(additionalUrl, newDatabaseTag);
>
>			for (Enumeration en =
>EOModelGroup.defaultGroup().models().objectEnumerator();
>en.hasMoreElements();) {
>				EOModel theModel = (EOModel) en.nextElement();
>				NSMutableDictionary dict = new
>NSMutableDictionary(theModel.connectionDictionary());
>				String oldUrl = (String) dict.objectForKey("URL");
>				String replacementUrl = (String)
>jdbcUrls.objectForKey(databaseTagFromUrl(oldUrl));
>				if (replacementUrl != null) {
>					dict.setObjectForKey(replacementUrl, "URL");
>					theModel.setConnectionDictionary(dict);
>
>					System.out.println("Override EOModel URL. New url is: "
>							+ theModel.connectionDictionary().objectForKey(
>									"URL"));
>				}
>				switcher.updatePrototypes(theModel);
>				EOFJDBCConnectionAnalyzer analyzer = new
>EOFJDBCConnectionAnalyzer(theModel.connectionDictionary());
>			}
>		}
>	}
>
>any thoughts?
>
> _______________________________________________
>Do not post admin requests to the list. They will be ignored.
>Webobjects-dev mailing list      (email@hidden)
>Help/Unsubscribe/Update your Subscription:
e.net
>
>This email sent to email@hidden
>

--

Chuck Hill                                 email@hidden
Global Village Consulting Inc.             http://www.global-village.net
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Doesn't see all prototypes model?!
      • From: James Cicenia <email@hidden>
References: 
 >EOModeler and Prototype Problem in Deployment (From: James Cicenia <email@hidden>)
 >Doesn't see all prototypes model?! (From: James Cicenia <email@hidden>)

  • Prev by Date: Doesn't see all prototypes model?!
  • Next by Date: Re: Doesn't see all prototypes model?!
  • Previous by thread: Doesn't see all prototypes model?!
  • Next by thread: Re: Doesn't see all prototypes model?!
  • Index(es):
    • Date
    • Thread