Uploaded image for project: 'ShrinkWrap Resolvers'
  1. ShrinkWrap Resolvers
  2. SHRINKRES-205

Try to fork and use javac from path in MavenImporter if compiler is not found

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 2.2.0-beta-1
    • 2.2.0-alpha-2
    • maven
    • None

    Description

      In cases MavenImporter does not find Javac class, IDE is probably set to run on top of JRE instead of JDK. In such cases, MavenImporter can emit a warning and modify configuration to fork and use javac from $PATH.

      Such approach will make compilation more robust.

      See https://gist.github.com/kpiwko/626ed1c04ac28354137d for a quick idea how it could work.

      Attachments

        Activity

          People

            kpiwko Karel Piwko
            kpiwko Karel Piwko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: