Error in eclipse

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

Error in eclipse

Yi ZHOU
Hello all,

I import flink/gelly in Eclispe 4.4.2. But in the test code, the IDE
always prompt TestExecutionMode cannot be resolved to a type. I find
TestExecutionMode is a enum type in org.apache.flink.test.util. Apart
from this, the other parts works well, there is no error in the main code.

Does anybody known how to eliminate it? Thanks.

ZHOU YI
Reply | Threaded
Open this post in threaded view
|

Fwd: Error in eclipse

Yi ZHOU-2


Hello all,

I import flink/gelly in Eclipse 4.4.2. But in the test code, the IDE
always prompt TestExecutionMode cannot be resolved to a type. I find
TestExecutionMode is a enum type in org.apache.flink.test.util. Apart
from this, the other parts works well, there is no error in the main code.

Does anybody known how to eliminate it? Thanks.

ZHOU YI



Reply | Threaded
Open this post in threaded view
|

Re: Error in eclipse

Robert Metzger
Hi,

I don't know any Flink committer who is using Eclipse to develop Flink.
Setting up Eclipse for Flink is quite hard because we are a mixed
Scala/Java project.
Check out this page in the documentation:
http://ci.apache.org/projects/flink/flink-docs-master/internals/ide_setup.html

On Mon, May 4, 2015 at 12:14 AM, Yi ZHOU <[hidden email]> wrote:

>
>
> Hello all,
>
> I import flink/gelly in Eclipse 4.4.2. But in the test code, the IDE
>
> always prompt TestExecutionMode cannot be resolved to a type. I find
> TestExecutionMode is a enum type in org.apache.flink.test.util. Apart
> from this, the other parts works well, there is no error in the main code.
>
> Does anybody known how to eliminate it? Thanks.
>
> ZHOU YI
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Error in eclipse

Stephan Ewen
I think Vasia and Gyula are actually using Eclipse.

The Eclipse setup is tricky. Frequently, it works best to build and install
the code with maven on the command line (mvn clean install -DskipTests),
and then close in Eclipse all projects except for the ones you are workign
with.

Robert's guide also has very good pointers.

Hope that helps.

Stephan


On Mon, May 4, 2015 at 9:55 AM, Robert Metzger <[hidden email]> wrote:

> Hi,
>
> I don't know any Flink committer who is using Eclipse to develop Flink.
> Setting up Eclipse for Flink is quite hard because we are a mixed
> Scala/Java project.
> Check out this page in the documentation:
>
> http://ci.apache.org/projects/flink/flink-docs-master/internals/ide_setup.html
>
> On Mon, May 4, 2015 at 12:14 AM, Yi ZHOU <[hidden email]> wrote:
>
> >
> >
> > Hello all,
> >
> > I import flink/gelly in Eclipse 4.4.2. But in the test code, the IDE
> >
> > always prompt TestExecutionMode cannot be resolved to a type. I find
> > TestExecutionMode is a enum type in org.apache.flink.test.util. Apart
> > from this, the other parts works well, there is no error in the main
> code.
> >
> > Does anybody known how to eliminate it? Thanks.
> >
> > ZHOU YI
> >
> >
> >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Error in eclipse

Yi ZHOU-2
Thanks for all. I only use java. The Stepahan's suggestion works. There
is no errors now.

ZHOU Yi
On 04/05/2015 14:43, Stephan Ewen wrote:

> I think Vasia and Gyula are actually using Eclipse.
>
> The Eclipse setup is tricky. Frequently, it works best to build and install
> the code with maven on the command line (mvn clean install -DskipTests),
> and then close in Eclipse all projects except for the ones you are workign
> with.
>
> Robert's guide also has very good pointers.
>
> Hope that helps.
>
> Stephan
>
>
> On Mon, May 4, 2015 at 9:55 AM, Robert Metzger <[hidden email]> wrote:
>
>> Hi,
>>
>> I don't know any Flink committer who is using Eclipse to develop Flink.
>> Setting up Eclipse for Flink is quite hard because we are a mixed
>> Scala/Java project.
>> Check out this page in the documentation:
>>
>> http://ci.apache.org/projects/flink/flink-docs-master/internals/ide_setup.html
>>
>> On Mon, May 4, 2015 at 12:14 AM, Yi ZHOU <[hidden email]> wrote:
>>
>>>
>>> Hello all,
>>>
>>> I import flink/gelly in Eclipse 4.4.2. But in the test code, the IDE
>>>
>>> always prompt TestExecutionMode cannot be resolved to a type. I find
>>> TestExecutionMode is a enum type in org.apache.flink.test.util. Apart
>>> from this, the other parts works well, there is no error in the main
>> code.
>>> Does anybody known how to eliminate it? Thanks.
>>>
>>> ZHOU YI
>>>
>>>
>>>
>>>