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 < email@hidden>: On Apr 24, 2014, at 9:16 AM, David Avendasora <email@hidden> 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.
|