You could drop all tables in your database, then run ant install-seed.
-Adrian
Case Torres wrote:
If I understand your comments below correctly i.e. "If you are running an
external db they will have no effect on the data (both seed and demo)" I'm
stuck with the Demo data because I'm using a Postgres database and I
accidentally installed demo data and there is no command I can run that will
get rid of the demo data. "ant clean-all" and "ant clean-data" gets rid of
the demo data, as well as everything else, but this is true only if using
the Derby db.
Yikes! If that's true, I'm stuck with the demo data in my postgres db on my
production server.
I read the build.xml and was able to follow the code into the
framework/build.xml but didn't see anything that indicated the demo data
gets wiped or not.
Am I still misunderstanding?
Thanks for you help in this matter.
Case
-----Original Message-----
From: Jacopo Cappellato [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 02, 2008 8:49 AM
To: [email protected]
Subject: Re: running ant run-install-seed, still gets demo data
Case Torres wrote:
...
But if I now run with the "clean" command, I'll wipe out *all* our
data, not just the demo data. Right?
Yes, but only if you run "ant clean-all" or "ant clean-data"
AND you are using the default Derby db.
If you are running an external db they will have no effect on
the data (both seed and demo).
Jacopo
Thanks again for you your help,
Case Torres
[EMAIL PROTECTED]
-----Original Message-----
From: Jacopo Cappellato [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 01, 2008 10:59 PM
To: [email protected]
Subject: Re: running ant run-install-seed, still gets demo data
Case Torres wrote:
Thanks Jacopo,
Is this the right command because I'm still getting all the
demo data.?
Are you sure?
Just to clarify: "ant run-install-seed" (that has the same
effect as
"java -jar ofbiz.jar -install -readers=seed") will not remove
existing demo data in your database.
Jacopo
ant run-install-seed
Is there any difference between:
ant run-install-seed
and
java -jar ofbiz.jar -install -readers=seed
Case Torres
[EMAIL PROTECTED]
-----Original Message-----
From: Jacopo Cappellato [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 01, 2008 12:30 PM
To: [email protected]
Subject: Re: running ant run-install-seed
Case Torres wrote:
Hi,
I want to make sure I understand what this command does
before I run
it on my production server.
It will install the seed data but not the demo data.
It will *NOT* remove any data currently in the database.
Is this correct??
It is correct.
Another thing to mention is that the password for the "admin"
user (and the flexadmin etc) will be overriden (to "ofbiz").
You'll have to change them right after the update.
Jacopo
Thanks much,
---
Case Torres
[EMAIL PROTECTED]