Wed Mar 21, 2018 10:25 am
Login Register Lost Password? Contact Us

Syntax Check ALL files in a repository

Topics specific to the use of the ECL IDE

Tue Mar 07, 2017 11:50 am Change Time Zone

Hi All

In my project (Odin Project, ProAgrica - Reed Business Information - we are developing several utilities that might be useful for other members of the community so we decided to release them with Open Source license.

Here is the first one: ECL Syntax Checker


ECL Syntax Checker can be useful if you are developing a project in HPCC. It allows you to perform a Syntax Check in all files as ECLIDE can only make syntax check of a single file. Script makes a Syntax Check on all *.ecl files in a given directory and subdirectories. We have 2,741 ecl files that are checked in 55-59 secs on average.

Useful in these situations:

- Windows PowerShell Script: Moving or refactoring files in your project. You can use it in conjunction with ECLIDE.
- Linux BASH Script: Integrate it as one step of your CI build.

Example of Windows usage with 0 errors:
Capture.PNG (23.78 KiB) Viewed 418 times

Example of Windows usage with no errors:
Capture1.PNG (29.02 KiB) Viewed 418 times

Example of Linux Jenkins Pipeline:
Capture2.PNG (87.79 KiB) Viewed 418 times

Contributions are more than welcome :D
Last edited by oscar.foley on Tue Mar 07, 2017 1:32 pm, edited 2 times in total.
Posts: 31
Joined: Mon Sep 12, 2016 10:27 am

Tue Mar 07, 2017 11:52 am Change Time Zone

Example of Linux Jenkins Pipeline log with 0 errors:
Capture3.PNG (94.17 KiB) Viewed 417 times
Posts: 31
Joined: Mon Sep 12, 2016 10:27 am

Return to ECL IDE

Who is online

Users browsing this forum: No registered users and 1 guest