Uploaded image for project: 'Apache Fineract'
  1. Apache Fineract
  2. FINERACT-918

Document how to run Fineract in IDEs like Eclipse & IntelliJ - great for easy debugging!

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • Build

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              ptuomola Petri Tuomola
              vorburger Michael Vorburger
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: