Uploaded image for project: 'Migration Toolkit for Applications'
  1. Migration Toolkit for Applications
  2. MTA-4261

Missing "org.eclipse.jdt.core.javanature" under "natures" tag in ".project" file results in no analysis of Java source code

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • MTA 7.1.0
    • MTA CLI
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • None

      Description of problem:

      Missing "org.eclipse.jdt.core.javanature" under "natures" tag in ".project" file results in no analysis of Java source code

      When executing "windows-mta-cli analyze", ".project" file and ".setting" folder are created under source folder. But it does not seem that static-report contains the result of analysis for Java source codes.
      It seems that the analysis result is contained if the element "org.eclipse.jdt.core.javanature" is added under "natures" tag in ".project" file [1].

      If it is not expected for user to add the element "org.eclipse.jdt.core.javanature" to contain the analysis result for Java source codes, please fix.

      [1] .project file(extracted)

      <?xml version="1.0" encoding="UTF-8"?>
      <projectDescription>
          <name>kitchensink</name>
          ...
          <natures>
              <nature>org.eclipse.jdt.core.javanature</nature>  <--- When added this,    the analysis result is contained.
              <nature>org.eclipse.m2e.core.maven2Nature</nature>
          </natures>
          ... 

              emcmulla@redhat.com Emily McMullan
              rhn-support-mkawakam Manabu Kawakami
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: