[ 
https://issues.apache.org/jira/browse/BUILDR-317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Antoine Toulme updated BUILDR-317:
----------------------------------

    Attachment: compiler_spec.rb
                compiler.rb

Attached the files, but the code really lives in the buildr4osgi repository:
http://github.com/intalio/buildr4osgi/blob/master/lib/buildr4osgi/compile/compiler.rb
http://github.com/intalio/buildr4osgi/tree/master/spec/compile/compiler_spec.rb

Note that the ecj jar is needed to run the compiler. Right now the ecj compiler 
isn't hosted on a standard maven2 repository. If you are interested by this 
contribution, please ask the Maven maintainers to add ecj 3.4.1 or later to the 
repository.
See also http://jira.intalio.org/jira/browse/BOSGI-26 about this.

> ecj compiler
> ------------
>
>                 Key: BUILDR-317
>                 URL: https://issues.apache.org/jira/browse/BUILDR-317
>             Project: Buildr
>          Issue Type: New Feature
>          Components: Compilers
>    Affects Versions: 1.3.4
>            Reporter: Antoine Toulme
>         Attachments: compiler.rb, compiler_spec.rb
>
>
> The ECJ compiler is an advanced Java compiler that works on top of javac.
> It brings a lot of functionality built-in:
> -better error report (better indentation of the message)
> -better warnings (warnings for source code target VM for example, type 
> casting)
> -more errors reported: the compiler doesn't stop after 100 errors, it will 
> bring all the errors and warnings reported.
> The compiler passes all the javac specs. I added an attempt to check the 
> output generated, but since it is made from Java, I can't control it as of 
> now (see my post on the users mailing list for an idea on how to help with 
> it).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to