ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simone Tripodi <simone.trip...@gmail.com>
Subject Re: Migrator: system properties via command line.
Date Sun, 21 Feb 2010 14:51:18 GMT
Hi all guys, ciao Marco,
I'd suggest to add profiles support instead of managing n different
properties, developers write once their local *.properties and are
free to switch from a profile to another.
Simo ;)

http://people.apache.org/~simonetripodi/



On Sun, Feb 21, 2010 at 2:10 PM, Marco Speranza
<marco.speranza79@gmail.com> wrote:
> 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>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ibatis.apache.org
For additional commands, e-mail: dev-help@ibatis.apache.org


Mime
View raw message