Hi David,

        protected void migrationsWillRun(ERXMigrator migrator) {
                // TODO Auto-generated method stub
                super.migrationsWillRun(migrator);
                System.out.println("-->migrationsWillRun<--");
        }

Is never called, local or in the Appserver ??

If migration run or not …

Calling migration by hand is not a problem ?

er.migration.migrateAtStartup=false 

        @Override
        public void finishInitialization() {
                // TODO Auto-generated method stub
                super.finishInitialization();
                try     {
                        System.out.println("-->finishInitialization<--");
                migrator().log.setLevel(Level.DEBUG);
            migrator().migrateToLatest();
            System.out.println("-->finishInitialization<--");
        }
        catch (ERXMigrationFailedException e) {
            // It might be a missing plugin problem
            e.printStackTrace();
        }
        }




Am 24.04.2014 um 15:18 schrieb David Avendasora <webobje...@avendasora.com>:

> 
> On Apr 24, 2014, at 9:16 AM, David Avendasora <webobje...@avendasora.com> 
> wrote:
> 
>> Override the migrationsWillRun method and stick a breakpoint on it. Let’s 
>> make sure that it is getting that far.
> 
> Umm… in your subclass of ERXApplication, in case that wasn’t clear… It 
> probably was to you, but hey, Future Dave is going to come here at some 
> point, and *that* guy is pathetic.
> 
> Sir Dave
> 
> —————————————————————————————
> WebObjects - so easy that even Dave Avendasora can do it!™
> —————————————————————————————
> David Avendasora
> Senior Software Abuser
> Nekesto, Inc.
> 
> 
> 
> 
> 
> 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to