Hello again, Sorry to keep asking about this, but I can't seem to get Eclipse working for this project. I did mvn eclipse:clean eclipse:eclipse command and I've reduced the problem now down to the Java generics issues related to autovalue types. I had to run mvn generate-sources generate-test-sources in each of the sub-modules to make a lot of the errors in Eclipse go away since after running mvn -DskipTests clean install, the target/generated-sources and target/generated-test-sources are empty for some reason. Interestingly enough, if I run mvn -Peclipse-jdt -DskipTests clean install from the command line, I am able to reproduce the same errors that I see in my Eclipse installation. I am using Eclipse Neon.
One such error is: @Experimental(Kind.FILESYSTEM) @Deprecated public <NewDestinationT> TypedWrite<UserT, NewDestinationT, OutputT> to( DynamicAvroDestinations<UserT, NewDestinationT, OutputT> dynamicDestinations) { return toBuilder() .setDynamicDestinations((DynamicAvroDestinations) dynamicDestinations) .build(); } gives the error of: Description Resource Path Location TypeType mismatch: cannot convert from AvroIO.TypedWrite<UserT,DestinationT,OutputT> to AvroIO.TypedWrite<UserT,NewDestinationT,OutputT> AvroIO.java /beam-sdks-java-core/src/main/java/org/apache/beam/sdk/io line 1007 Java Problem I have 48 errors left and most of these remaining errors are of this kind (related to Java generics of an auto-valued type). I enabled the Maven Annotation setting, per the Eclipse tips in the website. I double-checked the compiling JDK in Eclipse, and it's using my system JDK, which I assume is being used by the command line compilation, which is successful. Does anybody have Eclipse completely compiling for them without errors? Any tips? Thanks,Ron On Wednesday, January 17, 2018, 10:34:48 AM PST, Ted Yu <yuzhih...@gmail.com> wrote: Have you tried running 'mvn eclipse:eclipse' and importing from the root of workspace ? On Wed, Jan 17, 2018 at 10:32 AM, Ron Gonzalez <zlgonza...@yahoo.com> wrote: Hi, I've been trying this for a couple of days now, but I can't seem to get a clean Eclipse import. I refreshed to latest master, got a clean mvn -DskipTests clean install, ran through the Eclipse setup steps for m2e-apt installation. I'm getting errors like below. Do you have any tips to get this going? Thanks,Ron Description Resource Path Location TypeACCUMULATING cannot be resolved to a variable WindowingStrategyTranslation. java /beam-runners-core- construction-java/src/main/ java/org/apache/beam/runners/ core/construction line 56 Java ProblemAFTER_ALL cannot be resolved to a variable TriggerStateMachines.java /beam-runners-core-java/src/ main/java/org/apache/beam/ runners/core/triggers line 34 Java ProblemAFTER_ALL cannot be resolved to a variable TriggerTranslation.java /beam-runners-core- construction-java/src/main/ java/org/apache/beam/runners/ core/construction line 241 Java ProblemAFTER_ANY cannot be resolved to a variable TriggerStateMachines.java /beam-runners-core-java/src/ main/java/org/apache/beam/ runners/core/triggers line 37 Java ProblemAFTER_ANY cannot be resolved to a variable TriggerTranslation.java /beam-runners-core- construction-java/src/main/ java/org/apache/beam/runners/ core/construction line 243 Java ProblemAFTER_EACH cannot be resolved to a variable TriggerStateMachines.java /beam-runners-core-java/src/ main/java/org/apache/beam/ runners/core/triggers line 59 Java ProblemAFTER_EACH cannot be resolved to a variable TriggerTranslation.java /beam-runners-core- construction-java/src/main/ java/org/apache/beam/runners/ core/construction line 245 Java ProblemAFTER_END_OF_WINDOW cannot be resolved to a variable TriggerStateMachines.java /beam-runners-core-java/src/ main/java/org/apache/beam/ runners/core/triggers line 40 Java ProblemAFTER_END_OF_WINDOW cannot be resolved to a variable TriggerTranslation.java /beam-runners-core- construction-java/src/main/ java/org/apache/beam/runners/ core/construction line 248 Java ProblemAFTER_PROCESSING_TIME cannot be resolved to a variable TriggerStateMachines.java /beam-runners-core-java/src/ main/java/org/apache/beam/ runners/core/triggers line 62 Java ProblemAFTER_PROCESSING_TIME cannot be resolved to a variable TriggerTranslation.java /beam-runners-core- construction-java/src/main/ java/org/apache/beam/runners/ core/construction line 276 Java ProblemAFTER_SYNCHRONIZED_PROCESSING_ TIME cannot be resolved to a variable TriggerStateMachines.java /beam-runners-core-java/src/ main/java/org/apache/beam/ runners/core/triggers line 45 Java ProblemAFTER_SYNCHRONIZED_PROCESSING_ TIME cannot be resolved to a variable TriggerTranslation.java /beam-runners-core- construction-java/src/main/ java/org/apache/beam/runners/ core/construction line 302 Java ProblemALIGN_TO cannot be resolved to a variable TriggerStateMachines.java /beam-runners-core-java/src/ main/java/org/apache/beam/ runners/core/triggers line 94 Java ProblemALIGN_TO cannot be resolved to a variable TriggerTranslation.java /beam-runners-core- construction-java/src/main/ java/org/apache/beam/runners/ core/construction line 281 Java ProblemALWAYS cannot be resolved to a variable TriggerStateMachines.java /beam-runners-core-java/src/ main/java/org/apache/beam/ runners/core/triggers line 51 Java ProblemALWAYS cannot be resolved to a variable TriggerTranslation.java /beam-runners-core- construction-java/src/main/ java/org/apache/beam/runners/ core/construction line 304 Java ProblemApiServiceDescriptor cannot be resolved GrpcFnServer.java /beam-runners-java-fn- execution/src/main/java/org/ apache/beam/runners/ fnexecution line 37 Java Problem Thanks,Ron