From: "Jacopo Cappellato" <[EMAIL PROTECTED]>
Case Torres wrote:
Yes, I'm sure. Looks like I'll have to remove the demo data manually or at
least change the screen code so it doesn't show up on the various screens.
Just to clarify what I did and my new understanding, in my haste and being a
novice, I initially ran, ant run-install. I was thinking that if I now ran
ant run-install-seed, the demo data would be wiped out. Not true. 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

Maybe to better understand all that, just have a look at the main build.xml (in 
OFBiz root). It's open source, remember ;o)

Jacques



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]



Reply via email to