• 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: ERXMigration, Frameworks & executeUpdateScriptFromResourceNamed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERXMigration, Frameworks & executeUpdateScriptFromResourceNamed


  • Subject: Re: ERXMigration, Frameworks & executeUpdateScriptFromResourceNamed
  • From: Kevin Hinkson <email@hidden>
  • Date: Tue, 30 Aug 2011 06:35:08 -0400

Chuck, thanks for answering my question.


—K.R.H.

On Aug 29, 2011, at 22:20, Chuck Hill <email@hidden> wrote:

>
> On 2011-08-29, at 5:58 PM, Kevin Hinkson wrote:
>
>> Hi all,
>>
>> I've recently moved to having my Model/EO code in a Wonder framework. So I now have a Wonder App (web app) and a Wonder Framework (model framework).
>>
>> I noticed that when the migrations in the model framework are run when launching the web app, a call to ERXJDBCUtilities.executeUpdateScriptFromResourceNamed to run a SQL file in the framework Resource folder is not found.
>
> Is the third parameter to ERXJDBCUtilities.executeUpdateScriptFromResourceNamed a null or the framework name.  null means the application bundle.
>
> Chuck
>
>
>
>> I think this is because the Resource path is set to be the web app resource folder. Is there a way around this other than running ERXJDBCUtilities.executeQuery?
>>
>> Also, might some setting be bungled or not set correctly? Any pointers would be helpful.
>>
>> — K.R.H.
>>
>> _______________________________________________
>> 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
>
> --
> Chuck Hill             Senior Consultant / VP Development
>
> Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
> http://www.global-village.net/products/practical_webobjects
>
>
>
>
>
>
>
 _______________________________________________
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

References: 
 >ERXMigration, Frameworks & executeUpdateScriptFromResourceNamed (From: Kevin Hinkson <email@hidden>)
 >Re: ERXMigration, Frameworks & executeUpdateScriptFromResourceNamed (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: WebOjects Apache Adaptor for 16 Servers+
  • Next by Date: Re: Will a 5.3.3 application work on snow leopard server?
  • Previous by thread: Re: ERXMigration, Frameworks & executeUpdateScriptFromResourceNamed
  • Next by thread: Will a 5.3.3 application work on snow leopard server?
  • Index(es):
    • Date
    • Thread