I have created a guide with our experiences using Eclipse:

 - A brief guide for setup is in the README.md file (
https://github.com/apache/incubator-flink/blob/master/README.md)
 - More details in the docs (
https://github.com/StephanEwen/incubator-flink/blob/master/docs/internal_setup_eclipse.md
)

I also added a few changes to the code (Easier access to message case
objects from Java) that seem to help the IDE to handle the code better.

A nuisance, but it seems we need to work around a few limitations until the
support for mixed Java/Scala projects gets more robust in Eclipse.

Greetings,
Stephan



On Tue, Jan 6, 2015 at 11:26 AM, Kostas Tzoumas <ktzou...@apache.org> wrote:

> Would it also make sense to file an issue to Scala IDE 4.0.0?
>
> On Tue, Jan 6, 2015 at 10:03 AM, Stephan Ewen <se...@apache.org> wrote:
>
> > Brilliant, thanks a lot.
> >
> > I am adding a how-to guide for setting up eclipse to the docs. And the
> > ReadMe
> >
> > Stephan
> >
> > On Tue, Jan 6, 2015 at 12:09 AM, Gyula Fóra <gyula.f...@gmail.com>
> wrote:
> >
> > > Sorry Stephan you are right, I cannot seem to find the links in a
> proper
> > > website but could dig it up from some git repo:
> > >
> > >
> > >
> >
> https://github.com/scala-ide/scala-ide.github.com/blob/master/_includes/sdk-download-box-2-10.txt
> > >
> > > So the actual download links:
> > >
> > >
> > >
> >
> http://downloads.typesafe.com/scalaide-pack/3.0.3.vfinal-210-20140327/scala-SDK-3.0.3-2.10-linux.gtk.x86_64.tar.gz
> > >
> > >
> > >
> >
> http://downloads.typesafe.com/scalaide-pack/3.0.3.vfinal-210-20140327/scala-SDK-3.0.3-2.10
> > > -linux.gtk.x86.tar.gz
> > >
> > >
> > >
> >
> http://downloads.typesafe.com/scalaide-pack/3.0.3.vfinal-210-20140327/scala-SDK-3.0.3-2.10
> > > -macosx.cocoa.x86_64.zip
> > >
> > >
> > >
> >
> http://downloads.typesafe.com/scalaide-pack/3.0.3.vfinal-210-20140327/scala-SDK-3.0.3-2.10
> > > -macosx.cocoa.x86.zip
> > >
> > >
> > >
> >
> http://downloads.typesafe.com/scalaide-pack/3.0.3.vfinal-210-20140327/scala-SDK-3.0.3-2.10
> > > -win32.win32.x86_64.zip
> > >
> > >
> > >
> >
> http://downloads.typesafe.com/scalaide-pack/3.0.3.vfinal-210-20140327/scala-SDK-3.0.3-2.10
> > > -win32.win32.x86.zip
> > >
> > > Cheers,
> > > Gyula
> > >
> > >
> > > On Mon, Jan 5, 2015 at 11:49 PM, Stephan Ewen <se...@apache.org>
> wrote:
> > >
> > > > Hi Gyula!
> > > >
> > > > Thank you for the reply. The links you sent me refer only to update
> > sites
> > > > to download plugin updates.
> > > >
> > > > Do you still have the link for the pre-packaged download?
> > > >
> > > > Stephan
> > > >
> > > > On Mon, Jan 5, 2015 at 11:39 PM, Gyula Fóra <gyf...@apache.org>
> wrote:
> > > >
> > > > > Hey,
> > > > >
> > > > > Marton, Paris and I could get Eclipse working by using a previous
> > > stable
> > > > > version if the eclipse scala-ide. Not by installing the plugin to
> > > Kepler
> > > > > afterwards but directly downloading the prepackaged version from:
> > > > >
> > > > > http://scala-ide.org/download/prev-stable.html
> > > > >
> > > > > for scala 2.10.4
> > > > > <http://download.scala-ide.org/sdk/helium/e38/scala210/stable/site
> >
> > > > >
> > > > > We have tried with both the plugins and 4.0.0 but it didnt work at
> > all.
> > > > >
> > > > > For the import errors, sometimes it is needed to manually rebuild
> the
> > > > > project with maven. Usually "mvn clean package" does the trick for
> > > random
> > > > > import errors.
> > > > >
> > > > > Of course the compiler plugin needs to be set as mentioned in
> > previous
> > > > > discussions for the flink-scala project.
> > > > >
> > > > > Hope this helps,
> > > > >
> > > > > Gyula
> > > > >
> > > > > On Mon, Jan 5, 2015 at 11:32 PM, Stephan Ewen <se...@apache.org>
> > > wrote:
> > > > >
> > > > > > Hi all!
> > > > > >
> > > > > > Since the last pull requests that split the "flink-runtime" in a
> > part
> > > > > Java
> > > > > > part Scala project, it seems impossible to develop it with
> Eclipse.
> > > > > >
> > > > > > I have tried
> > > > > >  - Eclipse Kepler with Scala IDE plugin
> > > > > >  - Scala IDE 4.0.0
> > > > > >
> > > > > > The later does an even worse job than Kepler with the plugin.
> > > > > >
> > > > > > I am seeing all of those errors in mixed order:
> > > > > >  - Scala files unable to find java classes from the same project
> > > > > >  - Java files unable to find scala classes from the same project
> > > > > >  - Java files being unable to resolve imports which are clearly
> > > present
> > > > > in
> > > > > > the maven dependencies.
> > > > > >
> > > > > > Has anyone had luck in getting this to run?
> > > > > >
> > > > > >
> > > > > > In the current state, we effectively block all new contributors
> > that
> > > > are
> > > > > > used to Eclipse as their default IDE and are hesitant to switch
> to
> > a
> > > > new
> > > > > > tool only for trying out an open source project.
> > > > > >
> > > > > >
> > > > > > Greetings,
> > > > > > Stephan
> > > > > >
> > > > >
> > > >
> > >
> >
>

Reply via email to