Hi Gwen,
Thanks a lot for saving my time.
The problem was that under "Modules", the 'output path' and 'test output
path' for Kafka-0.8.2.1 (i.e. the main source directory) were the same:
/Users/pbharaj/Desktop/Dev/OpenSource4/Kafka-0.8.2.1/build
After changing both, its working fine now.
Thank
In "Project Structure" under "Modules" look at "paths" tab for the modules.
You should see separate paths for main and test. For example:
Output: /Users/gwen/workspaces/kafka/clients/build/classes/main
Test output: /Users/gwen/workspaces/kafka/clients/build/classes/test
Make sure you have somethi
Hi Gwen,
After your email, I tried debugging the test in
unit.kafka/producer/ProducerTest.scala, I can debug it within Intellij
I'm not trying to debug the tests, but things like tools:
ConsumerOffsetChecker as it has a main method
When I do that, I get this error:-
Error:scalac: Output path
/Use
I also have a gradle plugin, but I don't think its used for debugging.
What prevents you from debugging? What happens when you right-click on a
test and select "debug"?
On Thu, Nov 5, 2015 at 7:15 PM, Prabhjot Bharaj
wrote:
> Hi Jeff,
>
> So, if you've the Kafka source in a directory, how have
Hi Jeff,
So, if you've the Kafka source in a directory, how have you set up your
intellij ?
I have used ./gradlew idea as was mentioned in some posts.
But, how do you debug in intellij?
I use the bare bones Intellij with Scala plugin. Do you have any other
plugin to support debug?
Regards,
Prabhj
For what it's worth, I've never done the gradlew idea thing and debug/unit
testing in Intellij works fine for me.
On Thu, Nov 5, 2015 at 6:26 PM, Rad Gruchalski wrote:
> It never worked for me. I might have to try again. And, yes, that was
> after generating the intellij stuff with gradle.
> W
It never worked for me. I might have to try again. And, yes, that was after
generating the intellij stuff with gradle.
Will give it a shot again and, if I still have issues, ask here.
Kind regards,
Radek Gruchalski
ra...@gruchalski.com (mailto:ra...@gruchalski.com)
(mailto:ra...@gruc
Running tests from intellij is fairly easy - you click on the test name and
select "run" or "debug", if you select "debug" it honors breakpoints.
Rad, what happens when you try to run a test within Intellij?
On Thu, Nov 5, 2015 at 2:55 PM, Dong Lin wrote:
> Hi Rad,
>
> I never use intellij to r
Hi Rad,
I never use intellij to run test for kafka. It is probably easier to run it
via command line. You can check README.md for more information on how to
run tests.
Dong
On Thu, Nov 5, 2015 at 2:33 PM, Rad Gruchalski wrote:
> Dong,
>
> Does it allow running, say, tests in debug? I tried tha
Dong,
Does it allow running, say, tests in debug? I tried that and never managed to
get any test to run in intellij. Say, to set some breakpoints and debug...
Kind regards,
Radek Gruchalski
ra...@gruchalski.com (mailto:ra...@gruchalski.com)
(mailto:ra...@gruchalski.com)
de.linkedi
Wow, that's interesting info, thanks for the tip!
On Fri, Nov 6, 2015 at 1:27 AM Dong Lin wrote:
> Hi,
>
> If you want to browse kafka code in intellij, you can setup intellIj
> project by doing ./gradlew idea.
>
> Hope it helps,
> Dong
>
> On Thu, Nov 5, 2015 at 3:16 AM, Prabhjot Bharaj
> wrot
Hi,
If you want to browse kafka code in intellij, you can setup intellIj
project by doing ./gradlew idea.
Hope it helps,
Dong
On Thu, Nov 5, 2015 at 3:16 AM, Prabhjot Bharaj
wrote:
> Hi,
>
> I'm using kafka 0.8.2.1 version with IntelliJ.
> Sometimes, I change the code and build it using this c
Hello Folks,
Requesting your expertise on this
Thanks,
Prabhjot
On Thu, Nov 5, 2015 at 4:46 PM, Prabhjot Bharaj
wrote:
> Hi,
>
> I'm using kafka 0.8.2.1 version with IntelliJ.
> Sometimes, I change the code and build it using this command:
>
> ./gradlew -PscalaVersion=2.11.7 releaseTarGz
>
> I
Hi,
I'm using kafka 0.8.2.1 version with IntelliJ.
Sometimes, I change the code and build it using this command:
./gradlew -PscalaVersion=2.11.7 releaseTarGz
In some cases, I feel the need for debugging the code within IntelliJ.
e.g. I, currently, want to debug the ConsumerOffsetCheker to see h
14 matches
Mail list logo