You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Peter Donald (JIRA)" <ji...@apache.org> on 2010/07/11 05:42:08 UTC

[jira] Created: (BUILDR-472) ECJ dependency now required to build any java project

ECJ dependency now required to build any java project
-----------------------------------------------------

                 Key: BUILDR-472
                 URL: https://issues.apache.org/jira/browse/BUILDR-472
             Project: Buildr
          Issue Type: Bug
          Components: Compilers
    Affects Versions: 1.4.2
            Reporter: Peter Donald
             Fix For: 1.4.2


A recent change has made compiling java require the following dependencies. (Even if I have not specified the ecj compiler). 

* org.eclipse.jdt.core.compiler:ecj:pom:3.5.1
* org.eclipse.jdt.core.compiler:ecj:jar:3.5.1

This seems like an error and it is annoying to add extra repositories to list just to download uneeded dependencies

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


[jira] Commented: (BUILDR-472) ECJ dependency now required to build any java project

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887259#action_12887259 ] 

Alex Boisvert commented on BUILDR-472:
--------------------------------------

How about we enable ECJ only if require 'buildr/ecj' is in the Buildfile? 

> ECJ dependency now required to build any java project
> -----------------------------------------------------
>
>                 Key: BUILDR-472
>                 URL: https://issues.apache.org/jira/browse/BUILDR-472
>             Project: Buildr
>          Issue Type: Bug
>          Components: Compilers
>    Affects Versions: 1.4.2
>            Reporter: Peter Donald
>            Assignee: Antoine Toulme
>             Fix For: 1.4.2
>
>
> A recent change has made compiling java require the following dependencies. (Even if I have not specified the ecj compiler). 
> * org.eclipse.jdt.core.compiler:ecj:pom:3.5.1
> * org.eclipse.jdt.core.compiler:ecj:jar:3.5.1
> This seems like an error and it is annoying to add extra repositories to list just to download uneeded dependencies

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


[jira] Resolved: (BUILDR-472) ECJ dependency now required to build any java project

Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Toulme resolved BUILDR-472.
-----------------------------------

    Resolution: Fixed

19:28:03~/w/buildr>svn ci lib/buildr/java.rb lib/buildr/java/ecj.rb spec/spec_helpers.rb spec/java/ecj_spec.rb CHANGELOG -m "BUILDR-472: ECJ dependency now required to build any java project"
Sending        CHANGELOG
Sending        lib/buildr/java/ecj.rb
Sending        lib/buildr/java.rb
Sending        spec/java/ecj_spec.rb
Sending        spec/spec_helpers.rb
Transmitting file data .....
Committed revision 963586.

> ECJ dependency now required to build any java project
> -----------------------------------------------------
>
>                 Key: BUILDR-472
>                 URL: https://issues.apache.org/jira/browse/BUILDR-472
>             Project: Buildr
>          Issue Type: Bug
>          Components: Compilers
>    Affects Versions: 1.4.2
>            Reporter: Peter Donald
>            Assignee: Antoine Toulme
>             Fix For: 1.4.2
>
>
> A recent change has made compiling java require the following dependencies. (Even if I have not specified the ecj compiler). 
> * org.eclipse.jdt.core.compiler:ecj:pom:3.5.1
> * org.eclipse.jdt.core.compiler:ecj:jar:3.5.1
> This seems like an error and it is annoying to add extra repositories to list just to download uneeded dependencies

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


[jira] Assigned: (BUILDR-472) ECJ dependency now required to build any java project

Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Toulme reassigned BUILDR-472:
-------------------------------------

    Assignee: Antoine Toulme

> ECJ dependency now required to build any java project
> -----------------------------------------------------
>
>                 Key: BUILDR-472
>                 URL: https://issues.apache.org/jira/browse/BUILDR-472
>             Project: Buildr
>          Issue Type: Bug
>          Components: Compilers
>    Affects Versions: 1.4.2
>            Reporter: Peter Donald
>            Assignee: Antoine Toulme
>             Fix For: 1.4.2
>
>
> A recent change has made compiling java require the following dependencies. (Even if I have not specified the ecj compiler). 
> * org.eclipse.jdt.core.compiler:ecj:pom:3.5.1
> * org.eclipse.jdt.core.compiler:ecj:jar:3.5.1
> This seems like an error and it is annoying to add extra repositories to list just to download uneeded dependencies

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


[jira] Commented: (BUILDR-472) ECJ dependency now required to build any java project

Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887215#action_12887215 ] 

Antoine Toulme commented on BUILDR-472:
---------------------------------------

The jars are located here:
http://repo2.maven.org/maven2/org/eclipse/jdt/core/compiler/ecj/

They are downloaded only once.

> ECJ dependency now required to build any java project
> -----------------------------------------------------
>
>                 Key: BUILDR-472
>                 URL: https://issues.apache.org/jira/browse/BUILDR-472
>             Project: Buildr
>          Issue Type: Bug
>          Components: Compilers
>    Affects Versions: 1.4.2
>            Reporter: Peter Donald
>             Fix For: 1.4.2
>
>
> A recent change has made compiling java require the following dependencies. (Even if I have not specified the ecj compiler). 
> * org.eclipse.jdt.core.compiler:ecj:pom:3.5.1
> * org.eclipse.jdt.core.compiler:ecj:jar:3.5.1
> This seems like an error and it is annoying to add extra repositories to list just to download uneeded dependencies

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


[jira] Commented: (BUILDR-472) ECJ dependency now required to build any java project

Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887216#action_12887216 ] 

Antoine Toulme commented on BUILDR-472:
---------------------------------------

I'll think of something.

> ECJ dependency now required to build any java project
> -----------------------------------------------------
>
>                 Key: BUILDR-472
>                 URL: https://issues.apache.org/jira/browse/BUILDR-472
>             Project: Buildr
>          Issue Type: Bug
>          Components: Compilers
>    Affects Versions: 1.4.2
>            Reporter: Peter Donald
>             Fix For: 1.4.2
>
>
> A recent change has made compiling java require the following dependencies. (Even if I have not specified the ecj compiler). 
> * org.eclipse.jdt.core.compiler:ecj:pom:3.5.1
> * org.eclipse.jdt.core.compiler:ecj:jar:3.5.1
> This seems like an error and it is annoying to add extra repositories to list just to download uneeded dependencies

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


[jira] Commented: (BUILDR-472) ECJ dependency now required to build any java project

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887878#action_12887878 ] 

Hudson commented on BUILDR-472:
-------------------------------

Integrated in Buildr-ci-build #60 (See [http://hudson.zones.apache.org/hudson/job/Buildr-ci-build/60/])
    BUILDR-472: ECJ dependency now required to build any java project


> ECJ dependency now required to build any java project
> -----------------------------------------------------
>
>                 Key: BUILDR-472
>                 URL: https://issues.apache.org/jira/browse/BUILDR-472
>             Project: Buildr
>          Issue Type: Bug
>          Components: Compilers
>    Affects Versions: 1.4.2
>            Reporter: Peter Donald
>            Assignee: Antoine Toulme
>             Fix For: 1.4.2
>
>
> A recent change has made compiling java require the following dependencies. (Even if I have not specified the ecj compiler). 
> * org.eclipse.jdt.core.compiler:ecj:pom:3.5.1
> * org.eclipse.jdt.core.compiler:ecj:jar:3.5.1
> This seems like an error and it is annoying to add extra repositories to list just to download uneeded dependencies

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


[jira] Commented: (BUILDR-472) ECJ dependency now required to build any java project

Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887623#action_12887623 ] 

Antoine Toulme commented on BUILDR-472:
---------------------------------------

My concern was to make the ecj compiler pass the specs properly. BUILDR-317 had that problem, and it hanged out for some time.

I found out overriding applies_to to return false would deactivate the compiler for guess_compiler. I will work along that line to make the loading of ecj optional, except for specs for which it will be loaded in sandbox, but disabled for guess_compiler, and reenabled for the its specs.



> ECJ dependency now required to build any java project
> -----------------------------------------------------
>
>                 Key: BUILDR-472
>                 URL: https://issues.apache.org/jira/browse/BUILDR-472
>             Project: Buildr
>          Issue Type: Bug
>          Components: Compilers
>    Affects Versions: 1.4.2
>            Reporter: Peter Donald
>            Assignee: Antoine Toulme
>             Fix For: 1.4.2
>
>
> A recent change has made compiling java require the following dependencies. (Even if I have not specified the ecj compiler). 
> * org.eclipse.jdt.core.compiler:ecj:pom:3.5.1
> * org.eclipse.jdt.core.compiler:ecj:jar:3.5.1
> This seems like an error and it is annoying to add extra repositories to list just to download uneeded dependencies

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