Glad to hear it!
-John 

On Fri, Nov 11, 2022, at 14:57, vinay deshpande wrote:
> Hi John,
> Thanks a ton. Things are looking good now.
> Even though Scala was present on my machine the ./gradlew compile was
> unable to find the Scala classes, on installing Scala plugin on IDE and
> then recompiling from terminal the projecting is building fine now.
>
> Thanks John and Ziming for helping out.
>
> Thanks,
> Vinay
>
> On Fri, Nov 11, 2022 at 11:01 AM John Roesler <[email protected]> wrote:
>
>> Hmm,
>>
>> I assume you did, but just to be sure, did you compile from the terminal
>> before trying to build in idea? There are some generated Java classes that
>> might be getting missed.
>>
>> The compile step is probably something like “compileJava compileScala
>> compileTestJava compileTestScala” from the top of my head.
>>
>> I hope this helps!
>> -John
>>
>> Ps: I don’t think image attachments work with the mailing list. Maybe you
>> can use a gist?
>>
>> On Fri, Nov 11, 2022, at 12:51, vinay deshpande wrote:
>> > Hi,
>> > I tried both the suggestions given in the previous mail threads, all
>> > the unit tests passed except for testMuteOnOOM(). But the issue with
>> > IDE persists.
>> > I even tried invalidating the cache a few times, deleted the .bin/ and
>> > .idea/ folder and built again  but there are quite few imports that
>> > aren't being resolved (especially kafka.server, kafka.zk and kafka.log).
>> > I'm attaching the result of the unit test here.
>> > Screen Shot 2022-11-11 at 10.45.48 AM.png
>> > TIA.
>> >
>> > On Fri, Nov 11, 2022 at 5:04 AM John Roesler <[email protected]>
>> wrote:
>> >> Hello Vinay,
>> >>
>> >> One thing I’ve noticed recently is that I have to click the “build”
>> button in intellij before I can use the “run” or “debug” buttons. I’m not
>> sure why.
>> >>
>> >> Welcome to the community!
>> >> -John
>> >>
>> >> On Fri, Nov 11, 2022, at 02:47, deng ziming wrote:
>> >> > Hello, Vinay
>> >> > Kafka uses gradlew as build tool and java/scala as program language,
>> >> > You can firstly use `./gradlew unitTest` to build it using terminal,
>> >> > and reload it in gradle window, sometimes I also change default build
>> >> > tool from IDEA to gradle in Preference/Build/build tools/Gradle:
>> >> >
>> >> > PastedGraphic-1.tiff
>> >> >
>> >> > --
>> >> > Ziming
>> >> >
>> >> >> On Nov 11, 2022, at 13:30, vinay deshpande <[email protected]>
>> wrote:
>> >> >>
>> >> >> Hi All,
>> >> >> I have a basic question: I tried importing kafka source code into
>> intellij
>> >> >> but there are bunch of imports that IDE cannot find like these:
>> >> >>
>> >> >> import kafka.api.ApiVersion;
>> >> >> import kafka.log.CleanerConfig;
>> >> >> import kafka.log.LogConfig;
>> >> >> import kafka.log.LogManager;
>> >> >>
>> >> >>
>> >> >> TIA.
>> >> >>
>> >> >> Thanks,
>> >> >> Vinay
>>

Reply via email to