Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2m-atl-dev] [ATL] Applying checkstyle to ATL

Another tip to improve ATL code quality: it was decided to keep ATL compatible with Java 1.4. However, you can only enforce this on Eclipse if you have an actual Java 1.4 implementation on your machine. That way, the ECJ compiler can link against the "real" Java 1.4 class library and any Java 1.5/1.6/etc. API usage will immediately show.

Kind regards,
Dennis

On 09 Sep 2008, at 15:14, William Piers wrote:

Hi all,

In order to improve ATL source code quality, we are now using checkstyle (http://eclipse-cs.sourceforge.net) with a specific configuration on most of the projects. That means that I made small modifications on many java file of ATL, in order to conform with the basic checkstyle requirements. Correcting all files is an enormous work, that's why some plugins are not checked (like the old vm, the atl editor...). I provide more information on how use formatters, code templates and checkstyle here: http://wiki.eclipse.org/ATL_Coding_Chart#Code_formatter Now it will be primary for each commited file / contributed file to correctly checked. It also could help to detect dead code.

Feel free to ask me about this work, or even if you want to contribute !

Best regards,
William
<william_piers.vcf>_______________________________________________
m2m-atl-dev mailing list
m2m-atl-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2m-atl-dev



Back to the top