Thanks, it is because I open an existing mvn project, re-open a new one
works for me.

Thanks so much again for the great work, I’m still learning gradle, it
broadly looks pretty good!

Vladimir Sitnikov <[email protected]>于2019年11月19日 周二下午9:23写道:

> >I have tried the build with new gradle facilities and it is much faster !
>
> Thank you.
> I hope you would like that "wrong import order", "whitespace at the end of
> the file", "wrong copyright", etc issues
> are now reported in a diff-style, and they are auto-fixable.
>
> >Such as RelOptRulesTest, I run it in IDEA but it could not find the xml
> resource file
>
> Oh,  that's unfortunate.
> Are you using your old project or have you re-created the project from
> scratch?
>
> It cannot reproduce the issue though.
>
> Can you provide the stacktrace?
> What's your IDEA version?
>
> For instance:
> git clone --depth 100 https://github.com/apache/calcite.git calcite-t1
> Open calcite-t1/build.gradle.kts in IDEA. Select "open as project".
>
> Navigate to RelOptRulesTest, run it. It runs for me.
> Well, by default it uses Gradle to execute the tests, so it is expected to
> work.
> It is the default under "Build / Build Tools / Gradle -> Run tests using"
> option.
>
> If I select "Run tests using" == "choose per test", right-click the test
> class and run it with IDEA runner, then it executes just fine (with IDEA
> runner).
>
> If I select "build and run with == IDEA", re-execute the test, then IDEA
> creates out/... folder with classes, but the test still works.
>
> In other words, all execution modes in IDEA work for me. I'm using IDEA
> 2019.3 EAP by the way.
>
> Vladimir
>

Reply via email to