ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ilya Kasnacheev <ilya.kasnach...@gmail.com>
Subject Re: Java 11 maven profile for local builds and testing
Date Tue, 26 Feb 2019 09:17:38 GMT
Hello!

That's awesome! Is this profile auto-detected when running under Java 9+?
Is there a way to do that?

Regards,
-- 
Ilya Kasnacheev


пн, 25 февр. 2019 г. в 18:43, Dmitriy Pavlov <dpavlov@apache.org>:

> Hi Ignite Developers,
>
> Maven profile was modified to provide an opportunity to build a project
> locally using java11 (you can't use results of such local build for java
> 8).
>
> The profile is named 'java-9+'. If it is not enabled by default you will
> probably need to enable it manually.
>
> The ignite-tools problem under java-11 was fixed by providing two versions
> of this class for Java 8 & java 9+. These files are placed with different
> source roots. During switching between java versions you may need to
> re-import maven project. If you use IntelliJ than sometimes you will need
> to manually remove not needed source root from .iml file.
>
> See also "modules/tools/ignite-tools.iml"
>
> <sourceFolder url="file://$MODULE_DIR$/src/main/java11"
> isTestSource="false" />
>
> Sincerely,
>
> Dmitriy Pavlov
>
> BTW, Teamcity bot is up and running using Ignite 2.7 & java 11 so
> limited number of functionality is working well: (Apache Ignite
> Teamcity Bot, V20190218, Powered by Apache Ignite V2.7.0, Java
> Version: 11.0.1)
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message