// util to write the first config migrations file, solve the chicken an egg problem. After that we // can do it manually public static void main(String[] args) { Migration c = new Migration(201011181800L, NullMigrationStrategy.class.getName(), new String[] {}); Migration c1 = new Migration( 201103201834L, RegexMigrationStrategy.class.getName(), new String[] {"Last Refresh\\w", "Last Refresh Time"}); ConfigManagerMigrations m = new ConfigManagerMigrations(); m.addMigration(c); m.addMigration(c1); writeMigrationsFile(m, new File(args[0])); }