Basically i want to refresh the database for that first i've to delete the existing database and run create.sql to create new database and restore the database for test data.
On 12/13/05, Dion Gillard <[EMAIL PROTECTED]> wrote: > > Are you trying to populate the database with some test data, or are > you trying to create tables, views etc? > > On 12/14/05, charles Anto <[EMAIL PROTECTED]> wrote: > > Hi dion, > > > > I've downloaded dbunit jar files and no idea where to put that jar > file > > and how to establish connection with maven script and postgresql. > > Ken: I'm using maven1.0.2 > > > > > > On 12/13/05, Kenney Westerhof <[EMAIL PROTECTED]> wrote: > > > > > > On Tue, 13 Dec 2005, Kenney Westerhof wrote: > > > > > > Oh, I forgot to ask wheter you're using maven 1 or 2 - the text below > is > > > for maven 2 :) > > > > > > -- Kenney > > > > > > > On Tue, 13 Dec 2005, charles Anto wrote: > > > > > > > > I recall someone working on an sql plugin, but in the mean time > > > > you could try using the <sql> ant task and the antrun plugin. > > > > Make sure you add a dependency on postgresql in the <plugin> tag for > > > > the antrun plugin, and you should be set. > > > > > > > > -- Kenney > > > > > > > > > > > > > > > > Any idea, how to create database in postgresql using maven or > ant > > > scripts. > > > > > > I've tried DBUNIT. But not able to reach the goal. Because i > don't > > > know > > > > > > how to configure JDBC driver and DBunit driver with maven > scripts. > > > > > > > > > > > > > > > > > > Thanks, > > > > > > Charles > > > > > > > > > > > > > > > > > > > -- > > > > Kenney Westerhof > > > > http://www.neonics.com > > > > GPG public key: http://www.gods.nl/~forge/kenneyw.key > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > -- > > > Kenney Westerhof > > > http://www.neonics.com > > > GPG public key: http://www.gods.nl/~forge/kenneyw.key > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > -- > http://www.multitask.com.au/people/dion/ > "You are going to let the fear of poverty govern your life and your > reward will be that you will eat, but you will not live." - George > Bernard Shaw > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
