Please disregard my former email. It went through ok.
I was missing a quote sign in the statement and I had tot take -3 off.

Correct statement looks like this:
runtime 'mysql:mysql-connector-java:5.1.25'


Thank you, Wolfgang


On Wed, May 9, 2018 at 12:04 PM, Wolfgang Paul Rauchholz <
[email protected]> wrote:

> 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 <
>> [email protected]> 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, [email protected] <
>> > > [email protected]> 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 <[email protected]
>> m>
>> > > > 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: "[email protected]" <[email protected]>
>> > > > > To: <[email protected]>
>> > > > > 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
>
>
>
>


-- 

Wolfgang Rauchholz

Reply via email to