hello,
 sorry i solve dit by defining
# Maven JUnit SysProperties...
maven.junit.sysproperties=db.url db.user db.password db.driver db.seedfile
db.url=jdbc:mysql://localhost:3306/test
db.user=root
db.password=mypass
db.driver=com.mysql.jdbc.Driver
db.seedfile=/budget-seed.xml


thanx anyway and regards
 marco

On 8/9/05, Marco Mistroni <[EMAIL PROTECTED]> wrote:
> Hello all,
>  i am using Maven to build my project, but i am stuck with a problem.
> In running my tests, i would like to reuse inside my tests some
> properties defined in my project.properties.
> for example, i have to load a connection to a database (in my dbunit
> test), and i would like to pick databasename,user,password etc from
> project.properties.
> 
> i have defined thos eproperties in project.properties, and in my
> dbunit file i am calling
> System.getProperty("db.user") for example
> 
> but i get back null
> 
> can anyone help me ou t?>
> 
> thanx in advance and regards
>  marco
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to