ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wolfgang Paul Rauchholz <wp.rauchh...@gmail.com>
Subject Re: Fwd: MODERATE for user@ofbiz.apache.org
Date Wed, 09 May 2018 10:04:01 GMT
Thanks for helping...
I added the above line into the runtime section of the dependencies
I got an error message:

* What went wrong:
Could not compile build file '/usr/local/ofbiz/build.gradle'.
> startup failed:
  build file '/usr/local/ofbiz/build.gradle': 138: expecting '}', found ':'
@ line 138, column 39.
         runtime mysql:mysql-connector-java:5.1.25-3
                                           ^


On Wed, May 9, 2018 at 10:16 AM, Deepak Dixit <
deepak.dixit@hotwaxsystems.com> wrote:

> use following code
>
> runtime mysql:mysql-connector-java:5.1.25-3
>
>
>
>
> Thanks & Regards
> --
> Deepak Dixit
> www.hotwax.co
>
> On Wed, May 9, 2018 at 1:36 PM, Wolfgang Paul Rauchholz <
> wp.rauchholz@gmail.com> wrote:
>
> > The on in the main ofbiz directory
> >
> > /usr/local/ofbiz/build.gradle
> >
> > On Wed, May 9, 2018 at 7:40 AM, Deepak Dixit <deepak.dixit@hotwaxsystems.
> > com
> > > wrote:
> >
> > > Hi Wolfgang,
> > >
> > > Could you please share in which build.gradle you are adding
> > > pluginLibsRuntime?
> > >
> > > if you are using main build.gradle then you need to add following
> entry:
> > >
> > > runtime mysql:mysql-connector-java:5.1.25-3
> > >
> > >
> > > And if you are using plugins component build.gradle file then you need
> to
> > > use
> > >
> > > pluginLibsRuntime "mysql:mysql-connector-java:5.1.25-3"
> > >
> > >
> > >
> > >
> > >
> > > Thanks & Regards
> > > --
> > > Deepak Dixit
> > > www.hotwax.co
> > >
> > > On Wed, May 9, 2018 at 1:07 AM, wp.rauchholz@gmail.com <
> > > wp.rauchholz@gmail.com> wrote:
> > >
> > > > I am trying to install ofbiz in a CENTOS 7 server with mariadb.
> > > > Ofbiz runs fine with derby database, but I am not getting mariadb up
> > and
> > > > running
> > > > This is what I did so far
> > > > created databases in mariadb
> > > > the following connector is installed: mysql-connector-java-5.1.25-3.
> > > > el7.noarch
> > > > I added the following line to the build.gradle  file:
> > > >
> > > > ...
> > > > dependencies {
> > > >     // ofbiz compile libs
> > > >
> > > >     pluginLibsRuntime "mysql:mysql-connector-java:5.1.25-3"
> > > >
> > > >     compile 'apache-xerces:xercesImpl:2.9.1'
> > > >     compile 'com.google.zxing:core:3.2.1'
> > > > ..
> > > >
> > > >
> > > > * What went wrong:
> > > > A problem occurred evaluating root project 'ofbiz'.
> > > > > Could not find method pluginLibsRuntime() for arguments
> > > > [mysql:mysql-connector-java:5.1.25-3] on root project 'ofbiz'.
> > > >
> > > >
> > > > What am I doing wrong? Thanks for your help. Wolfgang
> > > >
> > > >
> > > >
> > > > On 2018/05/08 16:40:15, Deepak Dixit <deepak.dixit@hotwaxsystems.com
> >
> > > > wrote:
> > > > > Hi wp.rauchholz,
> > > > >
> > > > > Your email has been moderated, Please subscribe mailing list
> > > > > http://ofbiz.apache.org/mailing-lists.html
> > > > >
> > > > >
> > > > > Thanks & Regards
> > > > > --
> > > > > Deepak Dixit
> > > > >
> > > > >
> > > > > ---------- Forwarded message ----------
> > > > > From: "wp.rauchholz@gmail.com" <wp.rauchholz@gmail.com>
> > > > > To: <user@ofbiz.apache.org>
> > > > > Cc:
> > > > > Bcc:
> > > > > Date: Tue, 08 May 2018 15:10:52 -0000
> > > > > Subject: Connect to mariadb
> > > > > Good day,
> > > > >
> > > > > would you please confirm that the procedure referenced underneath
> is
> > > > still
> > > > > up to date to connect to mariadb? I can't make it happen. Is there
> a
> > > > better
> > > > > procedure out there?
> > > > >
> > > > > java -jar ofbiz.jar -install: throws out a message that -install
is
> > > > unknown
> > > > > option
> > > > >
> > > > > https://cwiki.apache.org/confluence/display/OFBIZ/How+
> > > > > to+migrate+OFBiz+from+Derby+to+MySQL+database
> > > > >
> > > > >
> > > > > Thank you for your help, Wolfgang
> > > > >
> > > >
> > >
> >
> >
> >
> > --
> >
> > Wolfgang Rauchholz
> >
>



-- 

Wolfgang Rauchholz

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message