Initial Data Loading

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

Initial Data Loading

Brendan Vogt
Hi,

 

I am new to this kind of setup.  I am a C# programmer, and I am used to
clicking a couple of times then everything is installed and ready to go.  I
am wanting to try out the OfBiz application.

 

After hours of trying to get the source code, I managed to download it.  Now
I am following the installation steps as set out in:

http://docs.ofbiz.org/display/OFBTECH/Apache+OFBiz+Technical+Production+Setu
p+Guide

 

I am busy with the section under Initial Data Loading.  I have SQL Server
2005, but want to use Postgres database.  I have it installed as well.  I
have added the JDBC driver .rar in the directory which they said I must.

 

Question

I must install the data like:

java -jar ofbiz.jar -install -readers=seed

 

Where do I get ofbiz.jar from?

 

Question

What is the difference between seed and demo?

 

Regards,

Brendan

Reply | Threaded
Open this post in threaded view
|

Re: Initial Data Loading

BJ Freeman
under OFBiz Installation
#2 is kind of vauge. Means you have to build from the source code to get
the jars.
Note: reading up on Ant may help.

Brendan Vogt sent the following on 10/20/2007 8:19 AM:

> Hi,
>
>  
>
> I am new to this kind of setup.  I am a C# programmer, and I am used to
> clicking a couple of times then everything is installed and ready to go.  I
> am wanting to try out the OfBiz application.
>
>  
>
> After hours of trying to get the source code, I managed to download it.  Now
> I am following the installation steps as set out in:
>
> http://docs.ofbiz.org/display/OFBTECH/Apache+OFBiz+Technical+Production+Setu
> p+Guide
>
>  
>
> I am busy with the section under Initial Data Loading.  I have SQL Server
> 2005, but want to use Postgres database.  I have it installed as well.  I
> have added the JDBC driver .rar in the directory which they said I must.
>
>  
>
> Question
>
> I must install the data like:
>
> java -jar ofbiz.jar -install -readers=seed
>
>  
>
> Where do I get ofbiz.jar from?
>
>  
>
> Question
>
> What is the difference between seed and demo?
>
>  
>
> Regards,
>
> Brendan
>
>
Reply | Threaded
Open this post in threaded view
|

RE: Initial Data Loading

SkipDever
In reply to this post by Brendan Vogt
Brendon

Recommend that you do not initially to run-install-seed.  Also recommend
that you do not use postgres initially.

Start like this:

1.  Download the svn into a directory.

2.  Install java and ant and make sure you JAVA_HOME and ANT_HOME set up
correctly.  Sounds like you are using windows, so go to the control panel,
and add system environmental variables to reflect the install locations.

3.  Run ant run-install
        This installs some demo data you can play with.

4.  startofbiz (it's a batch file)

You can then connect to http:\\localhost:8080\webtools\control\main

Then, after you have your feet wet and are ready to load your own data into
it,

1.  ant clean-all

2.  ant run-install-seed
        This just loads the required seed data with no demo stuff in it.
        You can then use Access or whatever to populate the database
        with your data.

You might want to set up postgres before importing your live data.

Note that ant clean-all does not clean out external databases.  You have to
drop the database and then recreate it to start from scratch.

Cheers

Skip


-----Original Message-----
From: Brendan Vogt [mailto:[hidden email]]
Sent: Saturday, October 20, 2007 8:20 AM
To: [hidden email]
Subject: Initial Data Loading


Hi,



I am new to this kind of setup.  I am a C# programmer, and I am used to
clicking a couple of times then everything is installed and ready to go.  I
am wanting to try out the OfBiz application.



After hours of trying to get the source code, I managed to download it.  Now
I am following the installation steps as set out in:

http://docs.ofbiz.org/display/OFBTECH/Apache+OFBiz+Technical+Production+Setu
p+Guide



I am busy with the section under Initial Data Loading.  I have SQL Server
2005, but want to use Postgres database.  I have it installed as well.  I
have added the JDBC driver .rar in the directory which they said I must.



Question

I must install the data like:

java -jar ofbiz.jar -install -readers=seed



Where do I get ofbiz.jar from?



Question

What is the difference between seed and demo?



Regards,

Brendan


Reply | Threaded
Open this post in threaded view
|

RE: Initial Data Loading

CaseT

Skip,
Is it really necessary to install ant? On my windows box and Linux I just
used what came with the ofbiz package. But am I missing something by using
the ofbiz package version?

Thanks, Case

-----Original Message-----
From: skip@theDevers [mailto:[hidden email]]
Sent: Saturday, October 20, 2007 10:38 AM
To: [hidden email]
Subject: RE: Initial Data Loading

Brendon

Recommend that you do not initially to run-install-seed.  Also recommend
that you do not use postgres initially.

Start like this:

1.  Download the svn into a directory.

2.  Install java and ant and make sure you JAVA_HOME and ANT_HOME set up
correctly.  Sounds like you are using windows, so go to the control panel,
and add system environmental variables to reflect the install locations.



Reply | Threaded
Open this post in threaded view
|

Re: Initial Data Loading

Jacques Le Roux
Administrator
Brendan is on Windows...

Jacques

De : "Case Torres" <[hidden email]>

>
> Skip,
> Is it really necessary to install ant? On my windows box and Linux I just
> used what came with the ofbiz package. But am I missing something by using
> the ofbiz package version?
>
> Thanks, Case
>
> -----Original Message-----
> From: skip@theDevers [mailto:[hidden email]]
> Sent: Saturday, October 20, 2007 10:38 AM
> To: [hidden email]
> Subject: RE: Initial Data Loading
>
> Brendon
>
> Recommend that you do not initially to run-install-seed.  Also recommend
> that you do not use postgres initially.
>
> Start like this:
>
> 1.  Download the svn into a directory.
>
> 2.  Install java and ant and make sure you JAVA_HOME and ANT_HOME set up
> correctly.  Sounds like you are using windows, so go to the control panel,
> and add system environmental variables to reflect the install locations.
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Initial Data Loading

Jacques Le Roux
Administrator
In reply to this post by Brendan Vogt
Hi Case,

When I 1st came to OFBiz in fall 2004 there was no ant.jar in base/lib (it was introduced 2 years ago) and I always forget about
that. So no, you do not need any ant

Sorry for the trouble

Jacques

> Jacques,
> Yes, I know he's on Windows. I have ofbiz running both on Windows and Linux
> and have just used the "ant" that comes downloaded with the ofbiz package. I
> have not had to install ant to get Ofbiz up and running. I'm wondering if
> I'll need it later on.
>
> Thanks, Case
>
> -----Original Message-----
> From: Jacques Le Roux [mailto:[hidden email]]
> Sent: Friday, October 26, 2007 11:46 AM
> To: [hidden email]; [hidden email]
> Subject: Re: Initial Data Loading
>
> Brendan is on Windows...
>
> Jacques
>
> De : "Case Torres" <[hidden email]>
> >
> > Skip,
> > Is it really necessary to install ant? On my windows box and Linux I just
> > used what came with the ofbiz package. But am I missing something by using
> > the ofbiz package version?
> >
> > Thanks, Case
> >
> > -----Original Message-----
> > From: skip@theDevers [mailto:[hidden email]]
> > Sent: Saturday, October 20, 2007 10:38 AM
> > To: [hidden email]
> > Subject: RE: Initial Data Loading
> >
> > Brendon
> >
> > Recommend that you do not initially to run-install-seed.  Also recommend
> > that you do not use postgres initially.
> >
> > Start like this:
> >
> > 1.  Download the svn into a directory.
> >
> > 2.  Install java and ant and make sure you JAVA_HOME and ANT_HOME set up
> > correctly.  Sounds like you are using windows, so go to the control panel,
> > and add system environmental variables to reflect the install locations.
> >
> >
> >
>

Reply | Threaded
Open this post in threaded view
|

RE: Initial Data Loading

SkipDever
In reply to this post by CaseT
Case

You need ant.  I can't imagine that Ofbiz will be 100% OOTB useful and any
changes will need to be rebuilt.  Also, take it from a diehard
Windows/Visual Studio guy, Ant is the best thing since sliced bread.

Skip

-----Original Message-----
From: Case Torres [mailto:[hidden email]]
Sent: Friday, October 26, 2007 10:09 AM
To: [hidden email]
Subject: RE: Initial Data Loading



Skip,
Is it really necessary to install ant? On my windows box and Linux I just
used what came with the ofbiz package. But am I missing something by using
the ofbiz package version?

Thanks, Case

-----Original Message-----
From: skip@theDevers [mailto:[hidden email]]
Sent: Saturday, October 20, 2007 10:38 AM
To: [hidden email]
Subject: RE: Initial Data Loading

Brendon

Recommend that you do not initially to run-install-seed.  Also recommend
that you do not use postgres initially.

Start like this:

1.  Download the svn into a directory.

2.  Install java and ant and make sure you JAVA_HOME and ANT_HOME set up
correctly.  Sounds like you are using windows, so go to the control panel,
and add system environmental variables to reflect the install locations.




Reply | Threaded
Open this post in threaded view
|

RE: Initial Data Loading

SkipDever
In reply to this post by Jacques Le Roux
Jacques

Me too.  Windows is the best development platform on the planet (but I
havent tried a Mac to be honest).

Skip

-----Original Message-----
From: Jacques Le Roux [mailto:[hidden email]]
Sent: Friday, October 26, 2007 11:46 AM
To: [hidden email]; [hidden email]
Subject: Re: Initial Data Loading


Brendan is on Windows...

Jacques

De : "Case Torres" <[hidden email]>

>
> Skip,
> Is it really necessary to install ant? On my windows box and Linux I just
> used what came with the ofbiz package. But am I missing something by using
> the ofbiz package version?
>
> Thanks, Case
>
> -----Original Message-----
> From: skip@theDevers [mailto:[hidden email]]
> Sent: Saturday, October 20, 2007 10:38 AM
> To: [hidden email]
> Subject: RE: Initial Data Loading
>
> Brendon
>
> Recommend that you do not initially to run-install-seed.  Also recommend
> that you do not use postgres initially.
>
> Start like this:
>
> 1.  Download the svn into a directory.
>
> 2.  Install java and ant and make sure you JAVA_HOME and ANT_HOME set up
> correctly.  Sounds like you are using windows, so go to the control panel,
> and add system environmental variables to reflect the install locations.
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Initial Data Loading

Scott Gray
In reply to this post by SkipDever
The point was that you don't need to download ant separately, it comes bundled

Scott

On 27/10/2007, skip@theDevers <[hidden email]> wrote:

> Case
>
> You need ant.  I can't imagine that Ofbiz will be 100% OOTB useful and any
> changes will need to be rebuilt.  Also, take it from a diehard
> Windows/Visual Studio guy, Ant is the best thing since sliced bread.
>
> Skip
>
> -----Original Message-----
> From: Case Torres [mailto:[hidden email]]
> Sent: Friday, October 26, 2007 10:09 AM
> To: [hidden email]
> Subject: RE: Initial Data Loading
>
>
>
> Skip,
> Is it really necessary to install ant? On my windows box and Linux I just
> used what came with the ofbiz package. But am I missing something by using
> the ofbiz package version?
>
> Thanks, Case
>
> -----Original Message-----
> From: skip@theDevers [mailto:[hidden email]]
> Sent: Saturday, October 20, 2007 10:38 AM
> To: [hidden email]
> Subject: RE: Initial Data Loading
>
> Brendon
>
> Recommend that you do not initially to run-install-seed.  Also recommend
> that you do not use postgres initially.
>
> Start like this:
>
> 1.  Download the svn into a directory.
>
> 2.  Install java and ant and make sure you JAVA_HOME and ANT_HOME set up
> correctly.  Sounds like you are using windows, so go to the control panel,
> and add system environmental variables to reflect the install locations.
>
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Initial Data Loading

rajsaini
In reply to this post by SkipDever
I don't think you would say this if you have used Ubuntu. And if you
install 7.10, you can also have all eye candy things you see in Vista of
course without degrading the performance.

Eclipse runs best on Ubuntu.

Thanks,

Raj

skip@theDevers wrote:

> Jacques
>
> Me too.  Windows is the best development platform on the planet (but I
> havent tried a Mac to be honest).
>
> Skip
>
> -----Original Message-----
> From: Jacques Le Roux [mailto:[hidden email]]
> Sent: Friday, October 26, 2007 11:46 AM
> To: [hidden email]; [hidden email]
> Subject: Re: Initial Data Loading
>
>
> Brendan is on Windows...
>
> Jacques
>
> De : "Case Torres" <[hidden email]>
>  
>> Skip,
>> Is it really necessary to install ant? On my windows box and Linux I just
>> used what came with the ofbiz package. But am I missing something by using
>> the ofbiz package version?
>>
>> Thanks, Case
>>
>> -----Original Message-----
>> From: skip@theDevers [mailto:[hidden email]]
>> Sent: Saturday, October 20, 2007 10:38 AM
>> To: [hidden email]
>> Subject: RE: Initial Data Loading
>>
>> Brendon
>>
>> Recommend that you do not initially to run-install-seed.  Also recommend
>> that you do not use postgres initially.
>>
>> Start like this:
>>
>> 1.  Download the svn into a directory.
>>
>> 2.  Install java and ant and make sure you JAVA_HOME and ANT_HOME set up
>> correctly.  Sounds like you are using windows, so go to the control panel,
>> and add system environmental variables to reflect the install locations.
>>
>>
>>
>>    
>
>
>  

Reply | Threaded
Open this post in threaded view
|

Re: Initial Data Loading

Jacques Le Roux
Administrator
De : "Raj Saini" <[hidden email]>
> I don't think you would say this if you have used Ubuntu. And if you
> install 7.10, you can also have all eye candy things you see in Vista of
> course without degrading the performance.
>
> Eclipse runs best on Ubuntu.

That's so true ! And I think the disk system is for something in it.

I use Windows only because I have a lot of tools and habits there. But I use also Ubuntu from time to time and I really like it.
When it comes to ressources, Linux is far better, no doubt !

Jacques

>
> Thanks,
>
> Raj
>
> skip@theDevers wrote:
> > Jacques
> >
> > Me too.  Windows is the best development platform on the planet (but I
> > havent tried a Mac to be honest).
> >
> > Skip
> >
> > -----Original Message-----
> > From: Jacques Le Roux [mailto:[hidden email]]
> > Sent: Friday, October 26, 2007 11:46 AM
> > To: [hidden email]; [hidden email]
> > Subject: Re: Initial Data Loading
> >
> >
> > Brendan is on Windows...
> >
> > Jacques
> >
> > De : "Case Torres" <[hidden email]>
> >
> >> Skip,
> >> Is it really necessary to install ant? On my windows box and Linux I just
> >> used what came with the ofbiz package. But am I missing something by using
> >> the ofbiz package version?
> >>
> >> Thanks, Case
> >>
> >> -----Original Message-----
> >> From: skip@theDevers [mailto:[hidden email]]
> >> Sent: Saturday, October 20, 2007 10:38 AM
> >> To: [hidden email]
> >> Subject: RE: Initial Data Loading
> >>
> >> Brendon
> >>
> >> Recommend that you do not initially to run-install-seed.  Also recommend
> >> that you do not use postgres initially.
> >>
> >> Start like this:
> >>
> >> 1.  Download the svn into a directory.
> >>
> >> 2.  Install java and ant and make sure you JAVA_HOME and ANT_HOME set up
> >> correctly.  Sounds like you are using windows, so go to the control panel,
> >> and add system environmental variables to reflect the install locations.
> >>
> >>
> >>
> >>
> >
> >
> >
>