Problems with Eclipse IDE

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Problems with Eclipse IDE

Stephan Ewen
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 | Threaded
Open this post in threaded view
|

Re: Problems with Eclipse IDE

Gyula Fóra-2
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 <[hidden email]> 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 | Threaded
Open this post in threaded view
|

Re: Problems with Eclipse IDE

Stephan Ewen
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 <[hidden email]> 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 <[hidden email]> 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 | Threaded
Open this post in threaded view
|

Re: Problems with Eclipse IDE

Márton Balassi-3
In reply to this post by Stephan Ewen
I had similar experience while moving the new streaming scala examples to a
common java/scala flink-streaming-examples, used the set up and best
practices described by Gyula.

One note to add: when I had some unresolved problems in the scala
dependencies of the examples Eclipse couldn't even build the java ones,
which was quite counter-intuitive as those parts are independent. After
making sure that Eclipse had no problem with the dependencies it worked.

Oh, and just to double-check (midnight is approaching): have you set the
compiler plugin for quasi quotes? :)

Marton

On Mon, Jan 5, 2015 at 11:32 PM, Stephan Ewen <[hidden email]> 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 | Threaded
Open this post in threaded view
|

Re: Problems with Eclipse IDE

Gyula Fóra
In reply to this post by Stephan Ewen
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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 | Threaded
Open this post in threaded view
|

Re: Problems with Eclipse IDE

Stephan Ewen
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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>
> 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 | Threaded
Open this post in threaded view
|

Re: Problems with Eclipse IDE

Kostas Tzoumas-2
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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>
> > 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 | Threaded
Open this post in threaded view
|

Re: Problems with Eclipse IDE

Stephan Ewen
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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>
> 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 <[hidden email]>
> 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 <[hidden email]>
> 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 <[hidden email]>
> > > 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 | Threaded
Open this post in threaded view
|

Re: Problems with Eclipse IDE

Márton Balassi
Thanks, this was very much needed.
On Jan 6, 2015 1:07 PM, "Stephan Ewen" <[hidden email]> wrote:

> 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 <[hidden email]>
> 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 <[hidden email]> 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 <[hidden email]>
> > 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 <[hidden email]>
> > 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 <[hidden email]>
> > 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 <[hidden email]>
> > > > 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
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>