Hi,

Please run all your gradle builds with JDK 17 and run gradlew cleanEclispe
and gradlew eclipse.

In Eclipse project configuration, Please make sure that your fineract is
using JDK 17. and gradle in eclipse is also using the correct JDK ...
And then try to run eclipse build.

Thanks,
Hitesh




On Wed, Mar 15, 2023 at 11:21 AM Ajin Roch Antony Dhason <
[email protected]> wrote:

> Hi Hitesh,
>
> Thank you for your immediate response, it was very helpful for me. Please
> do not think I am overstepping my boundaries, If you could clarify me on
> below at your leisure, it would really be of great relief for me. I assure
> help goes both ways and If I could be of any help anytime, I would not
> think twice.
>
> I was able to debug as you said, but not able to build fineract-provider
> in my Eclipse 2022. After importing my build fails.
>
> Reference pic are attached below.
>
> Thanks & Regards
>
> A. Ajin Roch
> +91 8098281389
> Software Developer Executive, FinOS
>
>
>
> ---- On Tue, 14 Mar 2023 17:59:50 +0530 *hitesh prajapati
> <[email protected] <[email protected]>>*
> wrote ---
>
> Hi Arjune,
>
> I am not using Eclipse as my IDE but I am using Intellij IDEA community
> edition.
> I am able to debug fineract-provider with Intellij as a remote java
> application and it works fine.
>
> First build the fineract bootJar using below command in the fineract
> source folder. please note that i am skipping the test -x test just to
> minimize the time.
>
> gradlew --no-daemon :fineract-provider:clean :fineract-provider:bootJar -x
> test
>
> Once the build is done and successful, the fineract-provider.jar will be
> there in fineract-provider/build/libs directory. Just run with below
> command which is allows the remote debugger from Intellij to connect
> fineract-provider with address 5005.
>
> java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005
> -jar fineract-provider/build/libs/fineract-provider-0.0.0-18d3813e.jar
>
> My Intellij Idea Debug configuration looks like this
> [image: image.png]
>
>
>
> On Tue, Mar 14, 2023 at 1:41 PM Arjune Vasantharajan <[email protected]>
> wrote:
>
> Hi
>
> we have deployed Fineract 1.8.3 with your web-app(2021) successfully using
> the tomcat-9, but we are facing issue in the debugging part of the Fineract
> provider. we followed the same given in the documentation but we were not
> able to debug.
> We are using eclipse 2022,gradle build 7.5. whether we need to follow
> different approach kindly do help for the same.
>
> we got error while importing "fineract-provider" mentioning "sql task is
> not available" also build failed, if any detailed documentation  available
> kindly do provide the link.
>
> Please anyone guide us as soon as possible
>
> Thank you
> V Arjune
>
>
>
>

Reply via email to