ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marco Speranza <marco.speranz...@gmail.com>
Subject Migrator: system properties via command line.
Date Sun, 21 Feb 2010 13:10:36 GMT
Hi all guys, I'm using migrator and I think that is a beautiful tool. In my
company we use migrator into a team of 10 person, each developer has its own
database. Into scm we have committed only two files: prod.properties (for
production environment) and developer.properties (for dev environment) So
each developer have to modify the developer.properties file with you
personal information. My little idea is this: add a new migrator command
line argument that overwrites "on the fly" any properties like this:

migrate -Dusername=bob -Dpassword=superSecret -DotherProp=value up

what do you think about this? If you think it's a good idea, I'd like to
implement this features.

thank a lot.

best regards
-- 
Marco Speranza <marco.speranza79@gmail.com>

Mime
View raw message