Re: Question related to running unit tests in IDE

2019-10-23 Thread Saikat Maitra
Thank you for your email Ryan. I will try to reimport and share my findings.

Regards,
Saikat

On Wed, Oct 23, 2019 at 11:32 AM Ryan Skraba  wrote:

> Just for info -- I managed to get a pretty good state using IntelliJ
> 2019.2.3 (Fedora) and a plain gradle import!
>
> There's a slack channel at https://s.apache.org/beam-slack-channel
> (see https://beam.apache.org/community/contact-us/) called
> #beam-intellij  It's pretty low-traffic, but you might be able to get
> some real-time help there if you need it.
>
> Ryan
>
> On Wed, Oct 23, 2019 at 2:11 AM Saikat Maitra 
> wrote:
> >
> > Hi Michal, Alexey
> >
> > Thank you for your email. I am using macOS Catalina and JDK 8 with
> IntelliJ IDEA 2019.1
> >
> > I will try to setup IntelliJ from scratch and see if the error resolves.
> >
> > Regards,
> > Saikat
> >
> >
> >
> >
> > On Tue, Oct 22, 2019 at 7:05 AM Alexey Romanenko <
> aromanenko@gmail.com> wrote:
> >>
> >> Hi,
> >>
> >> Thank you for your interest to contribute!
> >>
> >> Did you properly imported a project (as explained on page [1]) and all
> deps were resolved successfully?
> >>
> >> [1]
> https://cwiki.apache.org/confluence/display/BEAM/Set+up+IntelliJ+from+scratch
> >>
> >> On 22 Oct 2019, at 02:28, Saikat Maitra 
> wrote:
> >>
> >> Hi,
> >>
> >> I am interested to contribute to this issue
> >>
> >> https://issues.apache.org/jira/browse/BEAM-3658
> >>
> >> I have followed the contribution guide and was able to build the
> project locally using gradlew commands.
> >>
> >> I wanted to debug and trace the issue further by running the tests
> locally using Intellij Idea but I am getting following errors. I looked up
> the docs related to running tests (
> https://cwiki.apache.org/confluence/display/BEAM/Run+a+single+unit+test)
> and common IDE errors (
> https://cwiki.apache.org/confluence/display/BEAM/%28FAQ%29+Recovering+from+common+IDE+errors)
> but have not found similar errors.
> >>
> >> Error:(632, 17) java: cannot find symbol
> >>   symbol:   method
> apply(org.apache.beam.sdk.transforms.Values)
> >>   location: interface org.apache.beam.sdk.values.POutput
> >>
> >> Error:(169, 26) java: cannot find symbol
> >>   symbol:   class PCollection
> >>   location: class org.apache.beam.sdk.transforms.Watch
> >>
> >> Error:(169, 59) java: cannot find symbol
> >>   symbol:   class KV
> >>   location: class org.apache.beam.sdk.transforms.Watch
> >>
> >> Please let me know if you have feedback.
> >>
> >> Regards,
> >> Saikat
> >>
> >>
>


Re: Question related to running unit tests in IDE

2019-10-23 Thread Ryan Skraba
Just for info -- I managed to get a pretty good state using IntelliJ
2019.2.3 (Fedora) and a plain gradle import!

There's a slack channel at https://s.apache.org/beam-slack-channel
(see https://beam.apache.org/community/contact-us/) called
#beam-intellij  It's pretty low-traffic, but you might be able to get
some real-time help there if you need it.

Ryan

On Wed, Oct 23, 2019 at 2:11 AM Saikat Maitra  wrote:
>
> Hi Michal, Alexey
>
> Thank you for your email. I am using macOS Catalina and JDK 8 with IntelliJ 
> IDEA 2019.1
>
> I will try to setup IntelliJ from scratch and see if the error resolves.
>
> Regards,
> Saikat
>
>
>
>
> On Tue, Oct 22, 2019 at 7:05 AM Alexey Romanenko  
> wrote:
>>
>> Hi,
>>
>> Thank you for your interest to contribute!
>>
>> Did you properly imported a project (as explained on page [1]) and all deps 
>> were resolved successfully?
>>
>> [1] 
>> https://cwiki.apache.org/confluence/display/BEAM/Set+up+IntelliJ+from+scratch
>>
>> On 22 Oct 2019, at 02:28, Saikat Maitra  wrote:
>>
>> Hi,
>>
>> I am interested to contribute to this issue
>>
>> https://issues.apache.org/jira/browse/BEAM-3658
>>
>> I have followed the contribution guide and was able to build the project 
>> locally using gradlew commands.
>>
>> I wanted to debug and trace the issue further by running the tests locally 
>> using Intellij Idea but I am getting following errors. I looked up the docs 
>> related to running tests 
>> (https://cwiki.apache.org/confluence/display/BEAM/Run+a+single+unit+test) 
>> and common IDE errors 
>> (https://cwiki.apache.org/confluence/display/BEAM/%28FAQ%29+Recovering+from+common+IDE+errors)
>>  but have not found similar errors.
>>
>> Error:(632, 17) java: cannot find symbol
>>   symbol:   method 
>> apply(org.apache.beam.sdk.transforms.Values)
>>   location: interface org.apache.beam.sdk.values.POutput
>>
>> Error:(169, 26) java: cannot find symbol
>>   symbol:   class PCollection
>>   location: class org.apache.beam.sdk.transforms.Watch
>>
>> Error:(169, 59) java: cannot find symbol
>>   symbol:   class KV
>>   location: class org.apache.beam.sdk.transforms.Watch
>>
>> Please let me know if you have feedback.
>>
>> Regards,
>> Saikat
>>
>>


Re: Question related to running unit tests in IDE

2019-10-22 Thread Saikat Maitra
Hi Michal, Alexey

Thank you for your email. I am using macOS Catalina and JDK 8 with IntelliJ
IDEA 2019.1

I will try to setup IntelliJ from scratch and see if the error resolves.

Regards,
Saikat




On Tue, Oct 22, 2019 at 7:05 AM Alexey Romanenko 
wrote:

> Hi,
>
> Thank you for your interest to contribute!
>
> Did you properly imported a project (as explained on page [1]) and all
> deps were resolved successfully?
>
> [1]
> https://cwiki.apache.org/confluence/display/BEAM/Set+up+IntelliJ+from+scratch
>
> On 22 Oct 2019, at 02:28, Saikat Maitra  wrote:
>
> Hi,
>
> I am interested to contribute to this issue
>
> https://issues.apache.org/jira/browse/BEAM-3658
>
> I have followed the contribution guide and was able to build the project
> locally using gradlew commands.
>
> I wanted to debug and trace the issue further by running the tests locally
> using Intellij Idea but I am getting following errors. I looked up the docs
> related to running tests (
> https://cwiki.apache.org/confluence/display/BEAM/Run+a+single+unit+test)
> and common IDE errors (
> https://cwiki.apache.org/confluence/display/BEAM/%28FAQ%29+Recovering+from+common+IDE+errors)
> but have not found similar errors.
>
> Error:(632, 17) java: cannot find symbol
>   symbol:   method
> apply(org.apache.beam.sdk.transforms.Values)
>   location: interface org.apache.beam.sdk.values.POutput
>
> Error:(169, 26) java: cannot find symbol
>   symbol:   class PCollection
>   location: class org.apache.beam.sdk.transforms.Watch
>
> Error:(169, 59) java: cannot find symbol
>   symbol:   class KV
>   location: class org.apache.beam.sdk.transforms.Watch
>
> Please let me know if you have feedback.
>
> Regards,
> Saikat
>
>
>


Re: Question related to running unit tests in IDE

2019-10-22 Thread Alexey Romanenko
Hi, 

Thank you for your interest to contribute!

Did you properly imported a project (as explained on page [1]) and all deps 
were resolved successfully? 

[1] 
https://cwiki.apache.org/confluence/display/BEAM/Set+up+IntelliJ+from+scratch 


> On 22 Oct 2019, at 02:28, Saikat Maitra  wrote:
> 
> Hi,
> 
> I am interested to contribute to this issue 
> 
> https://issues.apache.org/jira/browse/BEAM-3658 
> 
> 
> I have followed the contribution guide and was able to build the project 
> locally using gradlew commands. 
> 
> I wanted to debug and trace the issue further by running the tests locally 
> using Intellij Idea but I am getting following errors. I looked up the docs 
> related to running tests 
> (https://cwiki.apache.org/confluence/display/BEAM/Run+a+single+unit+test 
> ) 
> and common IDE errors 
> (https://cwiki.apache.org/confluence/display/BEAM/%28FAQ%29+Recovering+from+common+IDE+errors
>  
> )
>  but have not found similar errors.
> 
> Error:(632, 17) java: cannot find symbol
>   symbol:   method 
> apply(org.apache.beam.sdk.transforms.Values)
>   location: interface org.apache.beam.sdk.values.POutput
> 
> Error:(169, 26) java: cannot find symbol
>   symbol:   class PCollection
>   location: class org.apache.beam.sdk.transforms.Watch
> 
> Error:(169, 59) java: cannot find symbol
>   symbol:   class KV
>   location: class org.apache.beam.sdk.transforms.Watch
> 
> Please let me know if you have feedback.
> 
> Regards,
> Saikat



Re: Question related to running unit tests in IDE

2019-10-22 Thread Michał Walenia
Hi,
can you give some more context on which tests are you running, what
system/version are you using and which IntelliJ version gives you errors?
It's hard to tell anything from just the errors.

Regards,
Michal

On Tue, Oct 22, 2019 at 2:29 AM Saikat Maitra 
wrote:

> Hi,
>
> I am interested to contribute to this issue
>
> https://issues.apache.org/jira/browse/BEAM-3658
>
> I have followed the contribution guide and was able to build the project
> locally using gradlew commands.
>
> I wanted to debug and trace the issue further by running the tests locally
> using Intellij Idea but I am getting following errors. I looked up the docs
> related to running tests (
> https://cwiki.apache.org/confluence/display/BEAM/Run+a+single+unit+test)
> and common IDE errors (
> https://cwiki.apache.org/confluence/display/BEAM/%28FAQ%29+Recovering+from+common+IDE+errors)
> but have not found similar errors.
>
> Error:(632, 17) java: cannot find symbol
>   symbol:   method
> apply(org.apache.beam.sdk.transforms.Values)
>   location: interface org.apache.beam.sdk.values.POutput
>
> Error:(169, 26) java: cannot find symbol
>   symbol:   class PCollection
>   location: class org.apache.beam.sdk.transforms.Watch
>
> Error:(169, 59) java: cannot find symbol
>   symbol:   class KV
>   location: class org.apache.beam.sdk.transforms.Watch
>
> Please let me know if you have feedback.
>
> Regards,
> Saikat
>


-- 

Michał Walenia
Polidea  | Software Engineer

M: +48 791 432 002 <+48791432002>
E: michal.wale...@polidea.com

Unique Tech
Check out our projects!