X10
  1. X10
  2. XTENLANG-378

Spurious errors in "Problems view"

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: X10 1.7.3
    • Fix Version/s: X10 2.0.4
    • Component/s: X10DT
    • Labels:
      None
    • Environment:
      Eclipse 3.3.2, x10.common.17_1.7.3.1.jar, x10.compiler.p3_1.7.3.1.jar, x10.constraints_1.7.3.1.jar, x10.runtime.17_1.7.3.1.jar

      -commandlineonly option set in X10 preferences.
    • Number of attachments :
      0

      Description

      There continues to be issues with compilation stopping in the middle when there are errors in one file.

      We used to have this in X10 v1.5 and then Bob had done something to fix this.

      The symptom is that you get lots of errors in the Problems window.

      But then you clean, and now you get a different set of errors.

      Try this on a project which has multiple X10 source files.

      I was working on the xcc.lang files when I noticed this.

      What is the semantics of -commandlineonly when used from within X10DT? i.e. what happens when I edit some text in a file? With what files is the X10 compiler invoked? What happens when I save a file? Does it invoke x10c only with that file? That could be a problem. Perhaps it should invoke with all files in the user project...?

        Issue Links

          Activity

          Hide
          Beth R Tibbitts added a comment -

          >What is the semantics of -commandlineonly when used from within X10DT? i.e. what happens when I edit some text in a file? With what files is the X10 compiler invoked? What happens when I save a file? Does it invoke x10c only with that file? That could be a problem. Perhaps it should invoke with all files in the user project...?

          When you save a file, if you have "Build Automatically" set (toggle it in the 'Project' menu), then that file is compiled.
          If other files depend on that file, then they should get built as well.

          -commandlineonly, if added on the X10 Preferences page to "Additional compiler options," is added to the command line options whenever a file is compiled.
          It has no "special" behavior within X10DT.

          I have modified the "echo compiler options to console" function to include the name(s) of the file(s) it's compiling, so you can tell what is being compiled.

          Show
          Beth R Tibbitts added a comment - >What is the semantics of -commandlineonly when used from within X10DT? i.e. what happens when I edit some text in a file? With what files is the X10 compiler invoked? What happens when I save a file? Does it invoke x10c only with that file? That could be a problem. Perhaps it should invoke with all files in the user project...? When you save a file, if you have "Build Automatically" set (toggle it in the 'Project' menu), then that file is compiled. If other files depend on that file, then they should get built as well. -commandlineonly, if added on the X10 Preferences page to "Additional compiler options," is added to the command line options whenever a file is compiled. It has no "special" behavior within X10DT. I have modified the "echo compiler options to console" function to include the name(s) of the file(s) it's compiling, so you can tell what is being compiled.
          Hide
          David Grove added a comment -

          Moving all open items for X10DT 1.7 to X10DT 2.0 since 1.7 has been released.

          Show
          David Grove added a comment - Moving all open items for X10DT 1.7 to X10DT 2.0 since 1.7 has been released.
          Hide
          Robert M. Fuhrer added a comment -

          This is the same problem as XTENLANG-383 - the compiler aborts part way through a set of files.

          Show
          Robert M. Fuhrer added a comment - This is the same problem as XTENLANG-383 - the compiler aborts part way through a set of files.
          Hide
          David Grove added a comment -

          Defer all unresolved issues from 2.0.2 to 2.0.3.

          Show
          David Grove added a comment - Defer all unresolved issues from 2.0.2 to 2.0.3.
          Hide
          Emmanuel Geay added a comment -

          Addressed by work on the X10 builder.

          Show
          Emmanuel Geay added a comment - Addressed by work on the X10 builder.
          Hide
          David Grove added a comment -

          bulk close of all resolved issues as part of closing 2.0.4 items.

          Show
          David Grove added a comment - bulk close of all resolved issues as part of closing 2.0.4 items.

            People

            • Assignee:
              Beth R Tibbitts
              Reporter:
              Vijay Saraswat
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: