[ 
https://issues.apache.org/jira/browse/SAMZA-1009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15456874#comment-15456874
 ] 

Yi Pan (Data Infrastructure) commented on SAMZA-1009:
-----------------------------------------------------

Hi, [~oleg.chubaryov], gradle eclipse only generates the Eclipse project files. 
I don't think the goal is to maintain and setup all project configuration for 
Eclipse. Same for intellj. The only official build Samza guarantees is the 
command line gradle build and check. If that works, all IDE related settings 
are up to the user and we don't have a plan to fully support all 
compilation/configuration for different IDE environments. Hence, closing the 
bug as won't fix.

> Code won't compile in IDE with Java8
> ------------------------------------
>
>                 Key: SAMZA-1009
>                 URL: https://issues.apache.org/jira/browse/SAMZA-1009
>             Project: Samza
>          Issue Type: Wish
>          Components: build
>    Affects Versions: 0.11
>         Environment: Eclipse
> JDK8
>            Reporter: Oleg Chubaryov
>            Priority: Minor
>
> Java source compliance version isn't defined in build-scripts.
> Therefore after "gradle eclipse" it tries to use my default version defined 
> in Eclipse. But actual source-code isn't compatible with java8. For instance 
> I had a compilation error in org.apache.samza.container.RunLoopFactory:
> line 64:
> "The method values() is ambiguous for the type Map<TaskName,TaskInstance<?>>"
> unless I've switched Compiler Compliance level to 1.7
> Is it possible to define Source Compliance level in gradle scripts for 
> correct compilation inside Eclipse?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to