ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anton Kalashnikov <kaa....@yandex.ru>
Subject Re: Ignite compilation fails in IntelliJ IDEA (IgniteLinkTaglet)
Date Mon, 10 Aug 2020 10:06:32 GMT
Hi Pavel,

You can do the same action in Project tree -> right button on java11 -> Mark directory
as -> excluded

-- 
Best regards,
Anton Kalashnikov



10.08.2020, 11:34, "Ivan Bessonov" <bessonov.ip@gmail.com>:
> Hi Pavel,
>
> this issue is unrelated to your problem, but yes, it wouldn't allow you to
> save changes.
> This sucks. You should remove one of those modules in your settings, they
> point on
> the same pom.xml, this means that this is the same module twice in your
> settings.
>
> пн, 10 авг. 2020 г. в 11:24, Pavel Tupitsyn <ptupitsyn@apache.org>:
>
>>  Ivan,
>>
>>  Thanks for the suggestion. Unfortunately, it does not help -
>>  Idea does not let me apply the changes:
>>
>>  `Content root "/home/pavel/w/ignite" is defined for modules "apache-ignite"
>>  and "ignite".
>>  Two modules in a project cannot share the same content root.`
>>
>>  Clearly I'm doing something wrong - maybe I'm importing the project into
>>  Idea in a wrong way?
>>  Or should I use a different JDK? Which version is best for Ignite
>>  development right now?
>>  (I'm using OpenJDK 8 just out of habit)
>>
>>  On Mon, Aug 10, 2020 at 10:02 AM Ivan Bessonov <bessonov.ip@gmail.com>
>>  wrote:
>>
>>  > Hi Pavel,
>>  >
>>  > please go to "Project Structure | Project Settings | Modules",
>>  > find module "ignite-tools", open tab "Sources" and mark folder
>>  > "src/main/java11" as "excluded". Should help.
>>  >
>>  > This happens from time to time if you switch from a very old branch
>>  > (like "ignite-2.5") to a fresh branch like "master".
>>  >
>>  > вс, 9 авг. 2020 г. в 21:18, Pavel Tupitsyn <ptupitsyn@apache.org>:
>>  >
>>  > > Igniters,
>>  > >
>>  > > The project does not seem to compile in IDEA:
>>  > > there are two IgniteLinkTaglet versions for Java 8 and Java 9+,
>>  > > and both files get picked up by the IDE for some reason, resulting
>>  > > in build errors.
>>  > >
>>  > > I've done all the usual things (fresh clone, invalidate caches).
>>  > > java-8 profile is enabled, java-9+ disabled, only JDK 8 is installed.
>>  > > Maven build is fine, only IDEA gives me errors.
>>  > >
>>  > > I've seen some people just delete one of the IgniteLinkTaglet files,
>>  > > this works for me too but is quite inconvenient.
>>  > > Is there any trick to this?
>>  > >
>>  >
>>  >
>>  > --
>>  > Sincerely yours,
>>  > Ivan Bessonov
>>  >
>
> --
> Sincerely yours,
> Ivan Bessonov

Mime
View raw message