You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Michael Vorburger (Jira)" <ji...@apache.org> on 2020/06/01 09:48:00 UTC

[jira] [Commented] (FINERACT-918) Document how to run Fineract in IDEs like Eclipse & IntelliJ - great for easy debugging!

    [ https://issues.apache.org/jira/browse/FINERACT-918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17120898#comment-17120898 ] 

Michael Vorburger commented on FINERACT-918:
--------------------------------------------

This is SO COOL. I've just tested this by pulling down this PR and following the doc - it works great!! Merged.

One small thing I was wondering is if {{./gradlew cleanEclipse eclipse}} was required, or if there was a way to even make this work with the (more "modern") Gradle support that Eclipse nowadaways has "built-in" (with the "BuildShip" Eclipse Plug-In, for Gradle; it's installed by default, now). Of course, the "old ways" of having the eclipse Gradle task actually generate .project and .classpath files still works just fine as well, so this is fine - and was not a reason to hold back merging this (and closing this issue).

[~ptuomola] do you want to announce this on the dev mailing list?

> Document how to run Fineract in IDEs like Eclipse & IntelliJ - great for easy debugging!
> ----------------------------------------------------------------------------------------
>
>                 Key: FINERACT-918
>                 URL: https://issues.apache.org/jira/browse/FINERACT-918
>             Project: Apache Fineract
>          Issue Type: New Feature
>          Components: Build
>            Reporter: Michael Vorburger
>            Assignee: Petri Tuomola
>            Priority: Major
>              Labels: technical
>             Fix For: 1.4.0
>
>
> The goal of this issue is to be able to easily run (something like) {{org.apache.fineract.ServerApplication}} directly within the IDE.
> While Spring Boot itself will launch just fine in-IDE, the main issue in Fineract is that it fails due to (missing) OpenJPA Enhancement. ({{Caused by: org.apache.openjpa.util.MetaDataException: The type "class org.apache.fineract.infrastructure.core.domain.AbstractPersistableCustom" has not been enhanced.}})
> One solution would be that I  resurrect my (very!!) old OPENJPA-1412 (with OPENJPA-1879 and OPENJPA-1887, see [https://openjpa.apache.org/enhancement-with-eclipse.html|https://openjpa.apache.org/enhancement-with-eclipse.html)] ... I'm JOKING!
> Another much easier and perhaps more feasible approach could be to make the IDE use the same classes produced by and already enhanced during the Gradle build on the CLI?
> PS: Once we have FINERACT-764, it would also be great of all ITs (first the SpringBootLoginTest and then others) could be run directly within the IDE, instead of only via Gradle on the CLI.  That should, in theory, "just work" - when we resolve this.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)