Uploaded image for project: 'Labs (Retired)'
  1. Labs (Retired)
  2. LABS-281

[build] RAD for java files

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Current
    • Next
    • Magma
    • None

    Description

      While for resources, during a magma:run, it is possible to use magma.locals to have them automatically taken from their folder, and avoid rebuilding, no such a system is in place for java files. Moreover, LTW does not support debug class replacement.

      If Eclipse was able to build packages correctly (including weaving etc..) then it would be enough to load classes from there, similarly to magma.locals, scan for changes and reload if necessary (which is already built in with jetty).

      Since that is not the case yet, we could apply magma.locals to target/classes folders and scan those folders instead, so that rebuilding the target package could be enough. But still this method would require a different shell.

      Monitoring .java class changes and triggering Maven compile could also be possible.

      Attachments

        Activity

          People

            s.gianni Simone Gianni
            s.gianni Simone Gianni
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: