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/09/02 09:36:03 UTC

Re: [Mifos-developer] Failure while trying to build a development environment

Hi,

Push your code somewhere on Github lets see.

Use Postman to retrieve an office and see if those parameters are sent back
to you.

You dont need to use the Penv parameter. Just use the /gradlew clean war
command

On Mon, Sep 2, 2019 at 10:22 AM Girish Kumar <he...@gmail.com> wrote:

> Hi All
>
> For the past few days, I have been trying to create a fresh Fineract
> development environment on a windows platform
>
> I followed the instructions on how to.
>
> My environment
> O/S Windows 7 and I will be using Eclipse as my IDE
>
> Here is what I did,
>
> I added a few columns on the Database, table m_office,
> Then
> Office.java
> officedata.java,
> officereadplatformservice.java,
> officecommandfromapijsondeser....
> officeapiresource
> officeapiresourceswagger
>
> ----------------------------------------------------------------------------------------------------------
> Old Ref:- to the same issue
>
> https://lists.apache.org/thread.html/40aff10d2021086fe57f865b86a99fe222a597685ceca5cbd8204c12@%3Cdev.fineract.apache.org%3E
>
>
> ----------------------------------------------------------------------------------------------------------
> gradle clean build was done (without  -Penv)
>
> Then to check decompiled the classes to see whether our code was there and
> all were fine.
>
> Replaced the war file on tomcat with the one we had build.
>
> Again checked the class file of Office to check our code is there or not.
> But to our surprise, none of the changes was there on the tomcat version
> (after the war extracted)
>
> Then thought might be because of -Penv missing while building
>
> So we tried to do with -Penv param
>
> But that was giving errors,
>
> We know somewhere we are mysteriously going wrong or missing something
>
> As now we had hit a serious roadblock which is so frustrating for us now,
> there are no writeups on how to resolve these
>
>
> gradlew -Penv=dev clean war
>
>
> -----------------------------------------------------------------------------------------
>
> daemon will be stopped at the end of the build stopping after processing
>  Task :compileJava FAILED
>
> uring the build, one or more dependencies that were declared without a
> version
> ailed to resolve:
>    org.springframework:spring-jms:
>    org.apache.activemq:activemq-broker:
>
> id you forget to apply the io.spring.dependency-management plugin to the
> finera
> t-provider project?
>
>
> FAILURE: Build failed with an exception.
>
>  What went wrong:
> xecution failed for task ':compileJava'.
>  Could not resolve all files for configuration ':compileClasspath'.
>   > Could not find org.springframework:spring-jms:.
>     Required by:
>         project :
>   > Could not find org.apache.activemq:activemq-broker:.
>     Required by:
>         project :
>
> --------------------------------------------------------------------------------------------------------------
>
> Any quick help  / advise in this respect is very much appreciated,
>
> Hoping for someone to come out and help us
>
> We can even have a team viewer to check our code
>
> Regards
> Girish Kumar
>
>
>
>
>
>
>
>
>
> 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 while trying to build a development environment

Posted by Girish Kumar <he...@gmail.com>.
Hi Awasum


Here is the Git repository where we have our code merged to the original fineract forked.

https://github.com/henagirish/fineract_gina

there is a file inside the fineract_provider named m_office.sql where the script for the db change is specified.

Regards
Girish

On 2019/09/02 09:42:16, Girish Kumar <he...@gmail.com> wrote: 
> Thanks Awasum 
> 
> Great, Will share the code on a Github
> 
> Yeah later on after reviewing so many posts we understood that =Penv is for mariadb libs...
> 
> Hope we will be able to get this thing up very soon and share the code for Fineract
> 
> Regards
> Girish
> 
> 
> 
> On 2019/09/02 09:36:03, Awasum Yannick <aw...@apache.org> wrote: 
> > Hi,
> > 
> > Push your code somewhere on Github lets see.
> > 
> > Use Postman to retrieve an office and see if those parameters are sent back
> > to you.
> > 
> > You dont need to use the Penv parameter. Just use the /gradlew clean war
> > command
> > 
> > On Mon, Sep 2, 2019 at 10:22 AM Girish Kumar <he...@gmail.com> wrote:
> > 
> > > Hi All
> > >
> > > For the past few days, I have been trying to create a fresh Fineract
> > > development environment on a windows platform
> > >
> > > I followed the instructions on how to.
> > >
> > > My environment
> > > O/S Windows 7 and I will be using Eclipse as my IDE
> > >
> > > Here is what I did,
> > >
> > > I added a few columns on the Database, table m_office,
> > > Then
> > > Office.java
> > > officedata.java,
> > > officereadplatformservice.java,
> > > officecommandfromapijsondeser....
> > > officeapiresource
> > > officeapiresourceswagger
> > >
> > > ----------------------------------------------------------------------------------------------------------
> > > Old Ref:- to the same issue
> > >
> > > https://lists.apache.org/thread.html/40aff10d2021086fe57f865b86a99fe222a597685ceca5cbd8204c12@%3Cdev.fineract.apache.org%3E
> > >
> > >
> > > ----------------------------------------------------------------------------------------------------------
> > > gradle clean build was done (without  -Penv)
> > >
> > > Then to check decompiled the classes to see whether our code was there and
> > > all were fine.
> > >
> > > Replaced the war file on tomcat with the one we had build.
> > >
> > > Again checked the class file of Office to check our code is there or not.
> > > But to our surprise, none of the changes was there on the tomcat version
> > > (after the war extracted)
> > >
> > > Then thought might be because of -Penv missing while building
> > >
> > > So we tried to do with -Penv param
> > >
> > > But that was giving errors,
> > >
> > > We know somewhere we are mysteriously going wrong or missing something
> > >
> > > As now we had hit a serious roadblock which is so frustrating for us now,
> > > there are no writeups on how to resolve these
> > >
> > >
> > > gradlew -Penv=dev clean war
> > >
> > >
> > > -----------------------------------------------------------------------------------------
> > >
> > > daemon will be stopped at the end of the build stopping after processing
> > >  Task :compileJava FAILED
> > >
> > > uring the build, one or more dependencies that were declared without a
> > > version
> > > ailed to resolve:
> > >    org.springframework:spring-jms:
> > >    org.apache.activemq:activemq-broker:
> > >
> > > id you forget to apply the io.spring.dependency-management plugin to the
> > > finera
> > > t-provider project?
> > >
> > >
> > > FAILURE: Build failed with an exception.
> > >
> > >  What went wrong:
> > > xecution failed for task ':compileJava'.
> > >  Could not resolve all files for configuration ':compileClasspath'.
> > >   > Could not find org.springframework:spring-jms:.
> > >     Required by:
> > >         project :
> > >   > Could not find org.apache.activemq:activemq-broker:.
> > >     Required by:
> > >         project :
> > >
> > > --------------------------------------------------------------------------------------------------------------
> > >
> > > Any quick help  / advise in this respect is very much appreciated,
> > >
> > > Hoping for someone to come out and help us
> > >
> > > We can even have a team viewer to check our code
> > >
> > > Regards
> > > Girish Kumar
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > 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 while trying to build a development environment

Posted by Girish Kumar <he...@gmail.com>.
Thanks Awasum 

Great, Will share the code on a Github

Yeah later on after reviewing so many posts we understood that =Penv is for mariadb libs...

Hope we will be able to get this thing up very soon and share the code for Fineract

Regards
Girish



On 2019/09/02 09:36:03, Awasum Yannick <aw...@apache.org> wrote: 
> Hi,
> 
> Push your code somewhere on Github lets see.
> 
> Use Postman to retrieve an office and see if those parameters are sent back
> to you.
> 
> You dont need to use the Penv parameter. Just use the /gradlew clean war
> command
> 
> On Mon, Sep 2, 2019 at 10:22 AM Girish Kumar <he...@gmail.com> wrote:
> 
> > Hi All
> >
> > For the past few days, I have been trying to create a fresh Fineract
> > development environment on a windows platform
> >
> > I followed the instructions on how to.
> >
> > My environment
> > O/S Windows 7 and I will be using Eclipse as my IDE
> >
> > Here is what I did,
> >
> > I added a few columns on the Database, table m_office,
> > Then
> > Office.java
> > officedata.java,
> > officereadplatformservice.java,
> > officecommandfromapijsondeser....
> > officeapiresource
> > officeapiresourceswagger
> >
> > ----------------------------------------------------------------------------------------------------------
> > Old Ref:- to the same issue
> >
> > https://lists.apache.org/thread.html/40aff10d2021086fe57f865b86a99fe222a597685ceca5cbd8204c12@%3Cdev.fineract.apache.org%3E
> >
> >
> > ----------------------------------------------------------------------------------------------------------
> > gradle clean build was done (without  -Penv)
> >
> > Then to check decompiled the classes to see whether our code was there and
> > all were fine.
> >
> > Replaced the war file on tomcat with the one we had build.
> >
> > Again checked the class file of Office to check our code is there or not.
> > But to our surprise, none of the changes was there on the tomcat version
> > (after the war extracted)
> >
> > Then thought might be because of -Penv missing while building
> >
> > So we tried to do with -Penv param
> >
> > But that was giving errors,
> >
> > We know somewhere we are mysteriously going wrong or missing something
> >
> > As now we had hit a serious roadblock which is so frustrating for us now,
> > there are no writeups on how to resolve these
> >
> >
> > gradlew -Penv=dev clean war
> >
> >
> > -----------------------------------------------------------------------------------------
> >
> > daemon will be stopped at the end of the build stopping after processing
> >  Task :compileJava FAILED
> >
> > uring the build, one or more dependencies that were declared without a
> > version
> > ailed to resolve:
> >    org.springframework:spring-jms:
> >    org.apache.activemq:activemq-broker:
> >
> > id you forget to apply the io.spring.dependency-management plugin to the
> > finera
> > t-provider project?
> >
> >
> > FAILURE: Build failed with an exception.
> >
> >  What went wrong:
> > xecution failed for task ':compileJava'.
> >  Could not resolve all files for configuration ':compileClasspath'.
> >   > Could not find org.springframework:spring-jms:.
> >     Required by:
> >         project :
> >   > Could not find org.apache.activemq:activemq-broker:.
> >     Required by:
> >         project :
> >
> > --------------------------------------------------------------------------------------------------------------
> >
> > Any quick help  / advise in this respect is very much appreciated,
> >
> > Hoping for someone to come out and help us
> >
> > We can even have a team viewer to check our code
> >
> > Regards
> > Girish Kumar
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > 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 while trying to build a development environment

Posted by Girish Kumar <he...@gmail.com>.
Thanks Michael

We forked from the git hub and started to have a dev environment, there were quite a lot of hurdles at first.

Somehow at a point of time, our tomcat got crashed while development and then we reinstalled copied our war, to our surprise we got the log with our change no idea what went wrong and rite. anyways we are into it and doing our best to get things up. 

There are a few stuff that needed to be done on the Fineract, 1 such is Transfer of Share, its not mandatory that the Shareholder should redeem it first for transferring his share to someone, 2nd is there needs to be some more reports in the accounting side. which I am trying to build the sql , like daybook, cashbook, bank reconciliation etc. (If someone had already developed it kindly share) 

Will update the community if I get it correct

Regards
Girish K

On 2019/09/04 16:22:36, Michael Vorburger <mi...@vorburger.ch> wrote: 
> On Mon, Sep 2, 2019 at 1:21 PM Girish Kumar <he...@gmail.com> wrote:
> 
> > Hi Awasum
> >
> >
> > Here is the Git repository where we have our code merged to the original fineract forked.
> > https://github.com/henagirish/fineract_gina
> >
> > Girish, I had a very quick look at
> https://github.com/henagirish/fineract_gina but it's really difficult for
> us to help you looking at that - because we can't actually see the changes
> you made there - do you know what I mean? What I suspect you did is,
> probably, you downloaded a ZIP from https://github.com/apache/fineract and
> then made changes locally, and then did a single big git commit and pushed
> that, right?
> 
> What you need to do, instead, is to "Fork"
> https://github.com/apache/fineract, create a branch, make your changes, and
> push that.
> 
> We realized at the beginning this whole process can seem a little bit
> confusing - but it's worth to learn how to this, so that you can
> participate in open source! To get started, I would work through e.g.
> https://lab.github.com/ and https://guides.github.com/. Again, welcome to
> Open Source - we're here to help you along the way if you need assistance.
> 
> there is a file inside the fineract_provider named m_office.sql where
> the script for the db change is specified.
> >
> > Regards
> > Girish
> >
> >
> > On Mon, Sep 2, 2019 at 3:08 PM Awasum Yannick <aw...@apache.org> wrote:
> >
> >> Hi,
> >>
> >> Push your code somewhere on Github lets see.
> >>
> >> Use Postman to retrieve an office and see if those parameters are sent
> >> back to you.
> >>
> >> You dont need to use the Penv parameter. Just use the /gradlew clean war
> >> command
> >>
> >> On Mon, Sep 2, 2019 at 10:22 AM Girish Kumar <he...@gmail.com>
> >> wrote:
> >>
> >>> Hi All
> >>>
> >>> For the past few days, I have been trying to create a fresh Fineract
> >>> development environment on a windows platform
> >>>
> >>> I followed the instructions on how to.
> >>>
> >>> My environment
> >>> O/S Windows 7 and I will be using Eclipse as my IDE
> >>>
> >>> Here is what I did,
> >>>
> >>> I added a few columns on the Database, table m_office,
> >>> Then
> >>> Office.java
> >>> officedata.java,
> >>> officereadplatformservice.java,
> >>> officecommandfromapijsondeser....
> >>> officeapiresource
> >>> officeapiresourceswagger
> >>>
> >>> ----------------------------------------------------------------------------------------------------------
> >>> Old Ref:- to the same issue
> >>>
> >>> https://lists.apache.org/thread.html/40aff10d2021086fe57f865b86a99fe222a597685ceca5cbd8204c12@%3Cdev.fineract.apache.org%3E
> >>>
> >>>
> >>> ----------------------------------------------------------------------------------------------------------
> >>> gradle clean build was done (without  -Penv)
> >>>
> >>> Then to check decompiled the classes to see whether our code was there
> >>> and all were fine.
> >>>
> >>> Replaced the war file on tomcat with the one we had build.
> >>>
> >>> Again checked the class file of Office to check our code is there or
> >>> not. But to our surprise, none of the changes was there on the tomcat
> >>> version (after the war extracted)
> >>>
> >>> Then thought might be because of -Penv missing while building
> >>>
> >>> So we tried to do with -Penv param
> >>>
> >>> But that was giving errors,
> >>>
> >>> We know somewhere we are mysteriously going wrong or missing something
> >>>
> >>> As now we had hit a serious roadblock which is so frustrating for us
> >>> now, there are no writeups on how to resolve these
> >>>
> >>>
> >>> gradlew -Penv=dev clean war
> >>>
> >>>
> >>> -----------------------------------------------------------------------------------------
> >>>
> >>> daemon will be stopped at the end of the build stopping after processing
> >>>  Task :compileJava FAILED
> >>>
> >>> uring the build, one or more dependencies that were declared without a
> >>> version
> >>> ailed to resolve:
> >>>    org.springframework:spring-jms:
> >>>    org.apache.activemq:activemq-broker:
> >>>
> >>> id you forget to apply the io.spring.dependency-management plugin to the
> >>> finera
> >>> t-provider project?
> >>>
> >>>
> >>> FAILURE: Build failed with an exception.
> >>>
> >>>  What went wrong:
> >>> xecution failed for task ':compileJava'.
> >>>  Could not resolve all files for configuration ':compileClasspath'.
> >>>   > Could not find org.springframework:spring-jms:.
> >>>     Required by:
> >>>         project :
> >>>   > Could not find org.apache.activemq:activemq-broker:.
> >>>     Required by:
> >>>         project :
> >>>
> >>> --------------------------------------------------------------------------------------------------------------
> >>>
> >>> Any quick help  / advise in this respect is very much appreciated,
> >>>
> >>> Hoping for someone to come out and help us
> >>>
> >>> We can even have a team viewer to check our code
> >>>
> >>> Regards
> >>> Girish Kumar
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> Mifos-developer mailing list
> >>> mifos-developer@lists.sourceforge.net
> >>> Unsubscribe or change settings at:
> >>> https://lists.sourceforge.net/lists/listinfo/mifos-developer
> >>
> >> Mifos-developer mailing list
> >> mifos-developer@lists.sourceforge.net
> >> Unsubscribe or change settings at:
> >> https://lists.sourceforge.net/lists/listinfo/mifos-developer
> >
> > 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 while trying to build a development environment

Posted by Michael Vorburger <mi...@vorburger.ch>.
On Mon, Sep 2, 2019 at 1:21 PM Girish Kumar <he...@gmail.com> wrote:

> Hi Awasum
>
>
> Here is the Git repository where we have our code merged to the original fineract forked.
> https://github.com/henagirish/fineract_gina
>
> Girish, I had a very quick look at
https://github.com/henagirish/fineract_gina but it's really difficult for
us to help you looking at that - because we can't actually see the changes
you made there - do you know what I mean? What I suspect you did is,
probably, you downloaded a ZIP from https://github.com/apache/fineract and
then made changes locally, and then did a single big git commit and pushed
that, right?

What you need to do, instead, is to "Fork"
https://github.com/apache/fineract, create a branch, make your changes, and
push that.

We realized at the beginning this whole process can seem a little bit
confusing - but it's worth to learn how to this, so that you can
participate in open source! To get started, I would work through e.g.
https://lab.github.com/ and https://guides.github.com/. Again, welcome to
Open Source - we're here to help you along the way if you need assistance.

there is a file inside the fineract_provider named m_office.sql where
the script for the db change is specified.
>
> Regards
> Girish
>
>
> On Mon, Sep 2, 2019 at 3:08 PM Awasum Yannick <aw...@apache.org> wrote:
>
>> Hi,
>>
>> Push your code somewhere on Github lets see.
>>
>> Use Postman to retrieve an office and see if those parameters are sent
>> back to you.
>>
>> You dont need to use the Penv parameter. Just use the /gradlew clean war
>> command
>>
>> On Mon, Sep 2, 2019 at 10:22 AM Girish Kumar <he...@gmail.com>
>> wrote:
>>
>>> Hi All
>>>
>>> For the past few days, I have been trying to create a fresh Fineract
>>> development environment on a windows platform
>>>
>>> I followed the instructions on how to.
>>>
>>> My environment
>>> O/S Windows 7 and I will be using Eclipse as my IDE
>>>
>>> Here is what I did,
>>>
>>> I added a few columns on the Database, table m_office,
>>> Then
>>> Office.java
>>> officedata.java,
>>> officereadplatformservice.java,
>>> officecommandfromapijsondeser....
>>> officeapiresource
>>> officeapiresourceswagger
>>>
>>> ----------------------------------------------------------------------------------------------------------
>>> Old Ref:- to the same issue
>>>
>>> https://lists.apache.org/thread.html/40aff10d2021086fe57f865b86a99fe222a597685ceca5cbd8204c12@%3Cdev.fineract.apache.org%3E
>>>
>>>
>>> ----------------------------------------------------------------------------------------------------------
>>> gradle clean build was done (without  -Penv)
>>>
>>> Then to check decompiled the classes to see whether our code was there
>>> and all were fine.
>>>
>>> Replaced the war file on tomcat with the one we had build.
>>>
>>> Again checked the class file of Office to check our code is there or
>>> not. But to our surprise, none of the changes was there on the tomcat
>>> version (after the war extracted)
>>>
>>> Then thought might be because of -Penv missing while building
>>>
>>> So we tried to do with -Penv param
>>>
>>> But that was giving errors,
>>>
>>> We know somewhere we are mysteriously going wrong or missing something
>>>
>>> As now we had hit a serious roadblock which is so frustrating for us
>>> now, there are no writeups on how to resolve these
>>>
>>>
>>> gradlew -Penv=dev clean war
>>>
>>>
>>> -----------------------------------------------------------------------------------------
>>>
>>> daemon will be stopped at the end of the build stopping after processing
>>>  Task :compileJava FAILED
>>>
>>> uring the build, one or more dependencies that were declared without a
>>> version
>>> ailed to resolve:
>>>    org.springframework:spring-jms:
>>>    org.apache.activemq:activemq-broker:
>>>
>>> id you forget to apply the io.spring.dependency-management plugin to the
>>> finera
>>> t-provider project?
>>>
>>>
>>> FAILURE: Build failed with an exception.
>>>
>>>  What went wrong:
>>> xecution failed for task ':compileJava'.
>>>  Could not resolve all files for configuration ':compileClasspath'.
>>>   > Could not find org.springframework:spring-jms:.
>>>     Required by:
>>>         project :
>>>   > Could not find org.apache.activemq:activemq-broker:.
>>>     Required by:
>>>         project :
>>>
>>> --------------------------------------------------------------------------------------------------------------
>>>
>>> Any quick help  / advise in this respect is very much appreciated,
>>>
>>> Hoping for someone to come out and help us
>>>
>>> We can even have a team viewer to check our code
>>>
>>> Regards
>>> Girish Kumar
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Mifos-developer mailing list
>>> mifos-developer@lists.sourceforge.net
>>> Unsubscribe or change settings at:
>>> https://lists.sourceforge.net/lists/listinfo/mifos-developer
>>
>> Mifos-developer mailing list
>> mifos-developer@lists.sourceforge.net
>> Unsubscribe or change settings at:
>> https://lists.sourceforge.net/lists/listinfo/mifos-developer
>
> Mifos-developer mailing list
> mifos-developer@lists.sourceforge.net
> Unsubscribe or change settings at:
> https://lists.sourceforge.net/lists/listinfo/mifos-developer