Syntax Check Failure
...no... But the following (finally does): https://track.hpccsystems.com/browse/HPCC-12420
Essentially the stdout / stderr of eclcc are getting interrupted prematurely on OSX.
Essentially the stdout / stderr of eclcc are getting interrupted prematurely on OSX.
- gsmith
- Posts: 291
- Joined: Thu May 12, 2011 9:40 am
I Have the same issue about no syntax checking. It has worked in the past. I'm on 5.0.4 clienttools.
Ctrl-S after changes, File/Save, F7, and Edit/Syntax check does nothing.
Ctrl-S after changes, File/Save, F7, and Edit/Syntax check does nothing.
Last edited by greg.whitaker on Mon Mar 30, 2015 1:15 pm, edited 1 time in total.
- greg.whitaker
- Posts: 18
- Joined: Tue Oct 29, 2013 3:06 pm
I still have the same issue as well. The proposed resolution never changed anything. Even with the latest updates since then.
- micevepay
- Posts: 62
- Joined: Wed Apr 02, 2014 7:30 pm
(Back from vacation...)
I have just retested this (on a clean installation of the latest OSX and the 5.2.0 Client Tools) and it appears to be working fine.
Can those of you who are experiencing this issue, please try running the following command line in your terminal (adjust the names to match your files, FYI I copied this line from my Console Window):
And report back (with the version of OSX your using) - thx.
I have just retested this (on a clean installation of the latest OSX and the 5.2.0 Client Tools) and it appears to be working fine.
Can those of you who are experiencing this issue, please try running the following command line in your terminal (adjust the names to match your files, FYI I copied this line from my Console Window):
- Code: Select all
/opt/HPCCSystems/5.2.0/clienttools/bin/eclcc -fsyntaxcheck=1 -I/Users/gordon/Documents/runtime-EclipseApplication/TestPRJ /Users/gordon/Documents/runtime-EclipseApplication/TestPRJ/new_file.ecl
And report back (with the version of OSX your using) - thx.
- gsmith
- Posts: 291
- Joined: Thu May 12, 2011 9:40 am
In my case:
Produces:
- Code: Select all
/opt/HPCCSystems/5.2.0/clienttools/bin/eclcc -fsyntaxcheck=1 -I/Users/gordon/Documents/workspace_ecl/TestPRJ /Users/gordon/Documents/workspace_ecl/TestPRJ/new_file.ecl
Produces:
- Code: Select all
/Users/gordon/Documents/workspace_ecl/TestPRJ/new_file.ecl(6,10): error C3002: syntax error near ";" : expected :=
1 error, 0 warning
- gsmith
- Posts: 291
- Joined: Thu May 12, 2011 9:40 am
after typing "this" into one of my tester.ecl files the command line seemed to work fine. Then I removed "this" and reported no syntax errors so still worked fine.
tim:~ gregwhitaker$ /opt/HPCCSystems/5.2.0/clienttools/bin/eclcc -fsyntaxcheck=1 -I/Users/gregwhitaker/Documents/workspace/ecl_repository/TIM/Misc /Users/gregwhitaker/Documents/workspace/ecl_repository/TIM/Misc/tester.ecl
/Users/gregwhitaker/Documents/workspace/ecl_repository/TIM/Misc/tester.ecl(14,1): error C2324: Unknown type 'this'
1 error, 0 warning
tim:~ gregwhitaker$ /opt/HPCCSystems/5.2.0/clienttools/bin/eclcc -fsyntaxcheck=1 -I/Users/gregwhitaker/Documents/workspace/ecl_repository/TIM/Misc /Users/gregwhitaker/Documents/workspace/ecl_repository/TIM/Misc/tester.ecl
tim:~ gregwhitaker$
tim:~ gregwhitaker$ /opt/HPCCSystems/5.2.0/clienttools/bin/eclcc -fsyntaxcheck=1 -I/Users/gregwhitaker/Documents/workspace/ecl_repository/TIM/Misc /Users/gregwhitaker/Documents/workspace/ecl_repository/TIM/Misc/tester.ecl
/Users/gregwhitaker/Documents/workspace/ecl_repository/TIM/Misc/tester.ecl(14,1): error C2324: Unknown type 'this'
1 error, 0 warning
tim:~ gregwhitaker$ /opt/HPCCSystems/5.2.0/clienttools/bin/eclcc -fsyntaxcheck=1 -I/Users/gregwhitaker/Documents/workspace/ecl_repository/TIM/Misc /Users/gregwhitaker/Documents/workspace/ecl_repository/TIM/Misc/tester.ecl
tim:~ gregwhitaker$
- greg.whitaker
- Posts: 18
- Joined: Tue Oct 29, 2013 3:06 pm
Oh and I'm on OS X version 10.9.5
Eclipse IDE for Java Developers
Version: Juno Service Release 2
Build id: 20130225-0426
Eclipse IDE for Java Developers
Version: Juno Service Release 2
Build id: 20130225-0426
Last edited by greg.whitaker on Sun Apr 19, 2015 2:51 pm, edited 1 time in total.
- greg.whitaker
- Posts: 18
- Joined: Tue Oct 29, 2013 3:06 pm
Additional info: This may be a separate issue...not sure.
If I select Project - Clean, it does compile/syntax all my *ecl files in my repository, I can see it in the console, but they are using the previous compiler I had been using 5.0.4. (I just upgraded to 5.2).
Example console window:
/opt/HPCCSystems/5.0.4/clienttools/bin/eclcc -M -I/Users/gregwhitaker/Documents/workspace/ecl_repository /Users/gregwhitaker/Documents/workspace/ecl_repository/TIM/Misc/tester.ecl
/opt/HPCCSystems/5.0.4/clienttools/bin/eclcc -fsyntaxcheck=1 -E -I/Users/gregwhitaker/Documents/workspace/ecl_repository /Users/gregwhitaker/Documents/workspace/ecl_repository/TIM/Misc/tester.ecl
I right-clicked on 1 attribute and selected Refresh and saw this in the console:
/opt/HPCCSystems/5.2.0/clienttools/bin/eclcc --version
So I right-clicked on the project folder and selected Refresh, then I selected Project - Clean.
The console was showing 5.2.0 for the compile for all my files.
I exited Eclipse and brought it back up and selected Project - Clean.
The console went back to using 5.0.4 for the compile for all my files.
PS, still isn't syntax checking in any other method: F7, Edit-Check Syntax, Ctrl-S.
If I select Project - Clean, it does compile/syntax all my *ecl files in my repository, I can see it in the console, but they are using the previous compiler I had been using 5.0.4. (I just upgraded to 5.2).
Example console window:
/opt/HPCCSystems/5.0.4/clienttools/bin/eclcc -M -I/Users/gregwhitaker/Documents/workspace/ecl_repository /Users/gregwhitaker/Documents/workspace/ecl_repository/TIM/Misc/tester.ecl
/opt/HPCCSystems/5.0.4/clienttools/bin/eclcc -fsyntaxcheck=1 -E -I/Users/gregwhitaker/Documents/workspace/ecl_repository /Users/gregwhitaker/Documents/workspace/ecl_repository/TIM/Misc/tester.ecl
I right-clicked on 1 attribute and selected Refresh and saw this in the console:
/opt/HPCCSystems/5.2.0/clienttools/bin/eclcc --version
So I right-clicked on the project folder and selected Refresh, then I selected Project - Clean.
The console was showing 5.2.0 for the compile for all my files.
I exited Eclipse and brought it back up and selected Project - Clean.
The console went back to using 5.0.4 for the compile for all my files.
PS, still isn't syntax checking in any other method: F7, Edit-Check Syntax, Ctrl-S.
- greg.whitaker
- Posts: 18
- Joined: Tue Oct 29, 2013 3:06 pm
Also, in my environment, Run - Run Configurations - Run does compile/syntax check correctly.
- greg.whitaker
- Posts: 18
- Joined: Tue Oct 29, 2013 3:06 pm
Return to VS Code and Eclipse IDE
Who is online
Users browsing this forum: No registered users and 1 guest