ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Le Roux" <jacques.le.r...@les7arts.com>
Subject Re: running ant run-install-seed, still gets demo data
Date Sun, 02 Mar 2008 17:21:59 GMT
From: "Jacopo Cappellato" <tiz@sastau.it>
> 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
>> case@casetorrestech.com
>> 
>>  
>> 
>>> -----Original Message-----
>>> From: Jacopo Cappellato [mailto:tiz@sastau.it] 
>>> Sent: Saturday, March 01, 2008 10:59 PM
>>> To: user@ofbiz.apache.org
>>> 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
>>>> case@casetorrestech.com
>>>>
>>>>  
>>>>
>>>>> -----Original Message-----
>>>>> From: Jacopo Cappellato [mailto:tiz@sastau.it]
>>>>> Sent: Saturday, March 01, 2008 12:30 PM
>>>>> To: user@ofbiz.apache.org
>>>>> 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
>>>>>> case@casetorrestech.com
>>>>>>
> 
>

Mime
View raw message