You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@fineract.apache.org by Awasum Yannick <aw...@apache.org> on 2019/07/12 08:40:43 UTC

Re: [Mifos-developer] Failure to Building war file

Always add Fineract Dev List and Subscibe to the list if you are not on it:
http://fineract.apache.org/

On Fri, Jul 12, 2019 at 9:29 AM <in...@taatconsulting.com> wrote:

> Good Day
>
>
>
> Kindly assist, am working on windows 10 with gradle version 2.4 I have
> build fineract war file using the following steps however If I deploy the
> war file on server its failing to work on tomcat getting an error “couldn’t
> connect to server.Make sure you are using correct settings”
>
>
>
> git clone https://github.com/apache/fineract.git
>
> cd fineract/
>
> git checkout develop
>
> git remote add upstream https://github.com/apache/fineract.git
>
> git fetch upstream
>
> git merge upstream/develop
>
> cd fineract-provider/
>
> gradle clean war
>
> gradle build
>
>
>
> kindly advice where am wrong
>
>
>
> Regards
>
>
>
> Innocent Marozva
>
>
> Mifos-developer mailing list
> mifos-developer@lists.sourceforge.net
> Unsubscribe or change settings at:
> https://lists.sourceforge.net/lists/listinfo/mifos-developer

Re: [Mifos-developer] Failure to Building war file

Posted by Awasum Yannick <aw...@apache.org>.
Innocent, Get to the Fineract root folder not fineract-provider... thats
where the Wrapper files are found.

Go back one directory.

On Fri, Jul 12, 2019 at 10:14 AM <in...@taatconsulting.com> wrote:

> Hi Funsho
>
>
>
> I am running from Windows
>
>
>
> Regards
>
> Innocent
>
>
>
>
>
> *From:* funsho@jethroltd.com <fu...@jethroltd.com>
> *Sent:* Friday, July 12, 2019 11:12 AM
> *To:* dev@fineract.apache.org
> *Cc:* innocent@taatconsulting.com
> *Subject:* RE: [Mifos-developer] Failure to Building war file
>
>
>
> Hi Innocent,
>
>
>
> Are you running this from Linux or Windows.
>
>
>
> The .bat is for windows.
>
>
>
> Funsho
>
>
>
> -----Original Message-----
> From: innocent@taatconsulting.com
> Sent: Friday, 12 July, 2019 09:58
> To: "'Mifos software development'" <mi...@lists.sourceforge.net>,
> "'Dev'" <de...@fineract.apache.org>
> Subject: RE: [Mifos-developer] Failure to Building war file
>
> Hi
>
>
>
> Following your mail , I removed gradle on my windows machine when I try to
> build using *gradlew.bat clean war * am getting an error bash:
> gradlew.bat: command not found
>
> See attached pic
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> e
>
> Regards
>
> Innocent Maroza
>
>
>
>
>
>
>
> *From:* Awasum Yannick <aw...@apache.org>
> *Sent:* Friday, July 12, 2019 10:41 AM
> *To:* Mifos software development <mi...@lists.sourceforge.net>;
> Dev <de...@fineract.apache.org>
> *Subject:* Re: [Mifos-developer] Failure to Building war file
>
>
>
> Always add Fineract Dev List and Subscibe to the list if you are not on
> it: *http://fineract.apache.org/* <http://fineract.apache.org/>
>
>
>
> On Fri, Jul 12, 2019 at 9:29 AM <*innocent@taatconsulting.com*
> <in...@taatconsulting.com>> wrote:
>
> Good Day
>
>
>
> Kindly assist, am working on windows 10 with gradle version 2.4 I have
> build fineract war file using the following steps however If I deploy the
> war file on server its failing to work on tomcat getting an error “couldn’t
> connect to server.Make sure you are using correct settings”
>
>
>
> git clone *https://github.com/apache/fineract.git*
> <https://github.com/apache/fineract.git>
>
> cd fineract/
>
> git checkout develop
>
> git remote add upstream *https://github.com/apache/fineract.git*
> <https://github.com/apache/fineract.git>
>
> git fetch upstream
>
> git merge upstream/develop
>
> cd fineract-provider/
>
> gradle clean war
>
> gradle build
>
>
>
> kindly advice where am wrong
>
>
>
> Regards
>
>
>
> Innocent Marozva
>
>
>
> Mifos-developer mailing list
> *mifos-developer@lists.sourceforge.net*
> <mi...@lists.sourceforge.net>
> Unsubscribe or change settings at:
> *https://lists.sourceforge.net/lists/listinfo/mifos-developer*
> <https://lists.sourceforge.net/lists/listinfo/mifos-developer>
>
>

Re: [Mifos-developer] Failure to Building war file

Posted by Tonio O <tc...@gmail.com>.
You should be able to run ./gradlew clean war with your MINGW.(bash
emulator)

On Fri, Jul 12, 2019 at 5:36 AM Michael Vorburger <mi...@vorburger.ch> wrote:

> gradlew.bat is definitely available, see
> https://github.com/apache/fineract/blob/develop/gradlew.bat
>
> But your screenshot shows you are using MINGW which I am assuming you are
> using for Git on Windows... that's (kind of) like Linux, so you (probably,
> not tested) can actually just use ./gradlew and not the BAT - try it, and
> let us know if it works for you.
>
>
> On Fri, 12 Jul 2019, 11:14 , <in...@taatconsulting.com> wrote:
>
>> Hi Funsho
>>
>>
>>
>> I am running from Windows
>>
>>
>>
>> Regards
>>
>> Innocent
>>
>>
>>
>>
>>
>> *From:* funsho@jethroltd.com <fu...@jethroltd.com>
>> *Sent:* Friday, July 12, 2019 11:12 AM
>> *To:* dev@fineract.apache.org
>> *Cc:* innocent@taatconsulting.com
>> *Subject:* RE: [Mifos-developer] Failure to Building war file
>>
>>
>>
>> Hi Innocent,
>>
>>
>>
>> Are you running this from Linux or Windows.
>>
>>
>>
>> The .bat is for windows.
>>
>>
>>
>> Funsho
>>
>>
>>
>> -----Original Message-----
>> From: innocent@taatconsulting.com
>> Sent: Friday, 12 July, 2019 09:58
>> To: "'Mifos software development'" <mi...@lists.sourceforge.net>,
>> "'Dev'" <de...@fineract.apache.org>
>> Subject: RE: [Mifos-developer] Failure to Building war file
>>
>> Hi
>>
>>
>>
>> Following your mail , I removed gradle on my windows machine when I try
>> to build using *gradlew.bat clean war * am getting an error bash:
>> gradlew.bat: command not found
>>
>> See attached pic
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> e
>>
>> Regards
>>
>> Innocent Maroza
>>
>>
>>
>>
>>
>>
>>
>> *From:* Awasum Yannick <aw...@apache.org>
>> *Sent:* Friday, July 12, 2019 10:41 AM
>> *To:* Mifos software development <mi...@lists.sourceforge.net>;
>> Dev <de...@fineract.apache.org>
>> *Subject:* Re: [Mifos-developer] Failure to Building war file
>>
>>
>>
>> Always add Fineract Dev List and Subscibe to the list if you are not on
>> it: *http://fineract.apache.org/* <http://fineract.apache.org/>
>>
>>
>>
>> On Fri, Jul 12, 2019 at 9:29 AM <*innocent@taatconsulting.com*
>> <in...@taatconsulting.com>> wrote:
>>
>> Good Day
>>
>>
>>
>> Kindly assist, am working on windows 10 with gradle version 2.4 I have
>> build fineract war file using the following steps however If I deploy the
>> war file on server its failing to work on tomcat getting an error “couldn’t
>> connect to server.Make sure you are using correct settings”
>>
>>
>>
>> git clone *https://github.com/apache/fineract.git*
>> <https://github.com/apache/fineract.git>
>>
>> cd fineract/
>>
>> git checkout develop
>>
>> git remote add upstream *https://github.com/apache/fineract.git*
>> <https://github.com/apache/fineract.git>
>>
>> git fetch upstream
>>
>> git merge upstream/develop
>>
>> cd fineract-provider/
>>
>> gradle clean war
>>
>> gradle build
>>
>>
>>
>> kindly advice where am wrong
>>
>>
>>
>> Regards
>>
>>
>>
>> Innocent Marozva
>>
>>
>>
>> Mifos-developer mailing list
>> *mifos-developer@lists.sourceforge.net*
>> <mi...@lists.sourceforge.net>
>> Unsubscribe or change settings at:
>> *https://lists.sourceforge.net/lists/listinfo/mifos-developer*
>> <https://lists.sourceforge.net/lists/listinfo/mifos-developer>
>>
>>

Re: [Mifos-developer] Failure to Building war file

Posted by Michael Vorburger <mi...@vorburger.ch>.
gradlew.bat is definitely available, see
https://github.com/apache/fineract/blob/develop/gradlew.bat

But your screenshot shows you are using MINGW which I am assuming you are
using for Git on Windows... that's (kind of) like Linux, so you (probably,
not tested) can actually just use ./gradlew and not the BAT - try it, and
let us know if it works for you.


On Fri, 12 Jul 2019, 11:14 , <in...@taatconsulting.com> wrote:

> Hi Funsho
>
>
>
> I am running from Windows
>
>
>
> Regards
>
> Innocent
>
>
>
>
>
> *From:* funsho@jethroltd.com <fu...@jethroltd.com>
> *Sent:* Friday, July 12, 2019 11:12 AM
> *To:* dev@fineract.apache.org
> *Cc:* innocent@taatconsulting.com
> *Subject:* RE: [Mifos-developer] Failure to Building war file
>
>
>
> Hi Innocent,
>
>
>
> Are you running this from Linux or Windows.
>
>
>
> The .bat is for windows.
>
>
>
> Funsho
>
>
>
> -----Original Message-----
> From: innocent@taatconsulting.com
> Sent: Friday, 12 July, 2019 09:58
> To: "'Mifos software development'" <mi...@lists.sourceforge.net>,
> "'Dev'" <de...@fineract.apache.org>
> Subject: RE: [Mifos-developer] Failure to Building war file
>
> Hi
>
>
>
> Following your mail , I removed gradle on my windows machine when I try to
> build using *gradlew.bat clean war * am getting an error bash:
> gradlew.bat: command not found
>
> See attached pic
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> e
>
> Regards
>
> Innocent Maroza
>
>
>
>
>
>
>
> *From:* Awasum Yannick <aw...@apache.org>
> *Sent:* Friday, July 12, 2019 10:41 AM
> *To:* Mifos software development <mi...@lists.sourceforge.net>;
> Dev <de...@fineract.apache.org>
> *Subject:* Re: [Mifos-developer] Failure to Building war file
>
>
>
> Always add Fineract Dev List and Subscibe to the list if you are not on
> it: *http://fineract.apache.org/* <http://fineract.apache.org/>
>
>
>
> On Fri, Jul 12, 2019 at 9:29 AM <*innocent@taatconsulting.com*
> <in...@taatconsulting.com>> wrote:
>
> Good Day
>
>
>
> Kindly assist, am working on windows 10 with gradle version 2.4 I have
> build fineract war file using the following steps however If I deploy the
> war file on server its failing to work on tomcat getting an error “couldn’t
> connect to server.Make sure you are using correct settings”
>
>
>
> git clone *https://github.com/apache/fineract.git*
> <https://github.com/apache/fineract.git>
>
> cd fineract/
>
> git checkout develop
>
> git remote add upstream *https://github.com/apache/fineract.git*
> <https://github.com/apache/fineract.git>
>
> git fetch upstream
>
> git merge upstream/develop
>
> cd fineract-provider/
>
> gradle clean war
>
> gradle build
>
>
>
> kindly advice where am wrong
>
>
>
> Regards
>
>
>
> Innocent Marozva
>
>
>
> Mifos-developer mailing list
> *mifos-developer@lists.sourceforge.net*
> <mi...@lists.sourceforge.net>
> Unsubscribe or change settings at:
> *https://lists.sourceforge.net/lists/listinfo/mifos-developer*
> <https://lists.sourceforge.net/lists/listinfo/mifos-developer>
>
>

RE: [Mifos-developer] Failure to Building war file

Posted by in...@taatconsulting.com.
Hi Funsho 

 

I am running from Windows 

 

Regards 

Innocent 

 

 

From: funsho@jethroltd.com <fu...@jethroltd.com> 
Sent: Friday, July 12, 2019 11:12 AM
To: dev@fineract.apache.org
Cc: innocent@taatconsulting.com
Subject: RE: [Mifos-developer] Failure to Building war file

 

Hi Innocent,

 

Are you running this from Linux or Windows.

 

The .bat is for windows. 

 

Funsho

 

-----Original Message-----
From: innocent@taatconsulting.com <ma...@taatconsulting.com> 
Sent: Friday, 12 July, 2019 09:58
To: "'Mifos software development'" <mifos-developer@lists.sourceforge.net <ma...@lists.sourceforge.net> >, "'Dev'" <dev@fineract.apache.org <ma...@fineract.apache.org> >
Subject: RE: [Mifos-developer] Failure to Building war file

Hi

 

Following your mail , I removed gradle on my windows machine when I try to build using gradlew.bat clean war  am getting an error bash: gradlew.bat: command not found

See attached pic

 

 

 

 



 

 

 

e

Regards

Innocent Maroza

 

 

 

From: Awasum Yannick <awasum@apache.org <ma...@apache.org> > 
Sent: Friday, July 12, 2019 10:41 AM
To: Mifos software development <mifos-developer@lists.sourceforge.net <ma...@lists.sourceforge.net> >; Dev <dev@fineract.apache.org <ma...@fineract.apache.org> >
Subject: Re: [Mifos-developer] Failure to Building war file

 

Always add Fineract Dev List and Subscibe to the list if you are not on it:  <http://fineract.apache.org/> http://fineract.apache.org/

 

On Fri, Jul 12, 2019 at 9:29 AM < <ma...@taatconsulting.com> innocent@taatconsulting.com> wrote:

Good Day

 

Kindly assist, am working on windows 10 with gradle version 2.4 I have build fineract war file using the following steps however If I deploy the war file on server its failing to work on tomcat getting an error “couldn’t connect to server.Make sure you are using correct settings”

 

git clone  <https://github.com/apache/fineract.git> https://github.com/apache/fineract.git

cd fineract/

git checkout develop

git remote add upstream  <https://github.com/apache/fineract.git> https://github.com/apache/fineract.git

git fetch upstream

git merge upstream/develop

cd fineract-provider/

gradle clean war  

gradle build   

 

kindly advice where am wrong

 

Regards

 

Innocent Marozva

 

Mifos-developer mailing list
 <ma...@lists.sourceforge.net> mifos-developer@lists.sourceforge.net
Unsubscribe or change settings at:
 <https://lists.sourceforge.net/lists/listinfo/mifos-developer> https://lists.sourceforge.net/lists/listinfo/mifos-developer


RE: [Mifos-developer] Failure to Building war file

Posted by in...@taatconsulting.com.
Hi 

 

Following your mail , I removed gradle on my windows machine when I try to build using gradlew.bat clean war  am getting an error bash: gradlew.bat: command not found 

See attached pic 

 

 

 

 



 

 

 

e

Regards 

Innocent Maroza

 

 

 

From: Awasum Yannick <aw...@apache.org> 
Sent: Friday, July 12, 2019 10:41 AM
To: Mifos software development <mi...@lists.sourceforge.net>; Dev <de...@fineract.apache.org>
Subject: Re: [Mifos-developer] Failure to Building war file

 

Always add Fineract Dev List and Subscibe to the list if you are not on it:  <http://fineract.apache.org/> http://fineract.apache.org/

 

On Fri, Jul 12, 2019 at 9:29 AM <innocent@taatconsulting.com <ma...@taatconsulting.com> > wrote:

Good Day 

 

Kindly assist, am working on windows 10 with gradle version 2.4 I have build fineract war file using the following steps however If I deploy the war file on server its failing to work on tomcat getting an error “couldn’t connect to server.Make sure you are using correct settings”

 

git clone https://github.com/apache/fineract.git

cd fineract/

git checkout develop

git remote add upstream https://github.com/apache/fineract.git

git fetch upstream

git merge upstream/develop

cd fineract-provider/

gradle clean war   

gradle build    

 

kindly advice where am wrong 

 

Regards 

 

Innocent Marozva

 

Mifos-developer mailing list
mifos-developer@lists.sourceforge.net <ma...@lists.sourceforge.net> 
Unsubscribe or change settings at:
https://lists.sourceforge.net/lists/listinfo/mifos-developer