Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
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 :
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
- is duplicated by
-
XTENLANG-383
Please support -currentpackageonly
-
Activity
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | X10DT 1.7 [ 14607 ] | |
| Fix Version/s | X10DT 2.0 [ 15376 ] |
| Fix Version/s | X10DT 2.0 [ 15376 ] | |
| Fix Version/s | X10 2.0.2 [ 16023 ] |
| Link |
This issue duplicates |
| Fix Version/s | X10 2.0.2 [ 16023 ] | |
| Fix Version/s | X10 2.0.3 [ 16215 ] |
| Link |
This issue is duplicated by |
| Fix Version/s | X10 2.0.3 [ 16215 ] | |
| Fix Version/s | X10 2.1 [ 15896 ] |
| Link |
This issue duplicates |
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Fix Version/s | X10 2.0.4 [ 16248 ] | |
| Fix Version/s | X10 2.1 [ 15896 ] | |
| Resolution | Fixed [ 1 ] |
| Status | Resolved [ 5 ] | Closed [ 6 ] |
>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.