Thu Aug 18, 2022 11:41 am
Login Register Lost Password? Contact Us

Please Note: The HPCC Systems forums are moving to Stack Overflow. We invite you to post your questions on Stack Overflow utilizing the tag hpcc-ecl ( This legacy forum will be active and monitored during our transition to Stack Overflow but will become read only beginning September 1, 2022.

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:
(23.78 KiB) Downloaded 572 times

Example of Windows usage with no errors:
(29.02 KiB) Downloaded 572 times

Example of Linux Jenkins Pipeline:
(87.79 KiB) Downloaded 572 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: 33
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:
(94.17 KiB) Downloaded 571 times
Posts: 33
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