This is an automated email from the ASF dual-hosted git repository.
apkhmv pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git
The following commit(s) were added to refs/heads/main by this push:
new 2cffc7241f IGNITE-18800 Better DEVNOTES for Gradle staff (#1921)
2cffc7241f is described below
commit 2cffc7241fb7dfe04b8389371023faf75d8e402d
Author: Mikhail <[email protected]>
AuthorDate: Mon Apr 17 11:08:14 2023 +0300
IGNITE-18800 Better DEVNOTES for Gradle staff (#1921)
---
.run/All checks [check].run.xml | 23 +++++++++++
... checkstyleTest checkstyleTestFixtures].run.xml | 43 +++++++++++++++++++++
.run/All dists zip [clean allDistZip].run.xml | 41 ++++++++++++++++++++
.../All tests [clean test integrationTest].run.xml | 24 ++++++++++++
.run/CLI zip [clean packaging-cli_distZip].run.xml | 41 ++++++++++++++++++++
.run/DEB_RPM [clean buildDeb buildRpm].run.xml | 42 ++++++++++++++++++++
...bleDist -x distTar -x distZip -x check].run.xml | 41 ++++++++++++++++++++
.run/Full build [clean build].run.xml | 41 ++++++++++++++++++++
...clean build -x test -x integrationTest].run.xml | 41 ++++++++++++++++++++
...Ignite zip [clean packaging-db_distZip].run.xml | 41 ++++++++++++++++++++
...tegration tests [clean integrationTest].run.xml | 23 +++++++++++
.run/Modernizer check [modernizer].run.xml | 40 +++++++++++++++++++
.run/PMD [pmdMain].run.xml | 40 +++++++++++++++++++
.run/Unit tests [clean test].run.xml | 23 +++++++++++
DEVNOTES.md | 32 ++++++++++-----
buildscripts/java-integration-test.gradle | 4 +-
docs/img.png | Bin 0 -> 13700 bytes
17 files changed, 529 insertions(+), 11 deletions(-)
diff --git a/.run/All checks [check].run.xml b/.run/All checks [check].run.xml
new file mode 100644
index 0000000000..f5950d54e4
--- /dev/null
+++ b/.run/All checks [check].run.xml
@@ -0,0 +1,23 @@
+<component name="ProjectRunConfigurationManager">
+ <configuration default="false" name="All checks [check]"
type="GradleRunConfiguration" factoryName="Gradle" folderName="Checks">
+ <ExternalSystemSettings>
+ <option name="executionName" />
+ <option name="externalProjectPath" value="$PROJECT_DIR$" />
+ <option name="externalSystemIdString" value="GRADLE" />
+ <option name="scriptParameters" value="" />
+ <option name="taskDescriptions">
+ <list />
+ </option>
+ <option name="taskNames">
+ <list>
+ <option value="check" />
+ </list>
+ </option>
+ <option name="vmOptions" />
+ </ExternalSystemSettings>
+ <ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
+
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
+ <DebugAllEnabled>false</DebugAllEnabled>
+ <method v="2" />
+ </configuration>
+</component>
\ No newline at end of file
diff --git a/.run/All checkstyle [checkstyleMain checkstyleIntegrationTest
checkstyleTest checkstyleTestFixtures].run.xml b/.run/All checkstyle
[checkstyleMain checkstyleIntegrationTest checkstyleTest
checkstyleTestFixtures].run.xml
new file mode 100644
index 0000000000..2537a8b5e6
--- /dev/null
+++ b/.run/All checkstyle [checkstyleMain checkstyleIntegrationTest
checkstyleTest checkstyleTestFixtures].run.xml
@@ -0,0 +1,43 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one or more
+ ~ contributor license agreements. See the NOTICE file distributed with
+ ~ this work for additional information regarding copyright ownership.
+ ~ The ASF licenses this file to You under the Apache License, Version 2.0
+ ~ (the "License"); you may not use this file except in compliance with
+ ~ the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+
+<component name="ProjectRunConfigurationManager">
+ <configuration default="false" name="All checkstyle [checkstyleMain
checkstyleIntegrationTest checkstyleTest checkstyleTestFixtures]"
type="GradleRunConfiguration" factoryName="Gradle" folderName="Checks">
+ <ExternalSystemSettings>
+ <option name="executionName" />
+ <option name="externalProjectPath" value="$PROJECT_DIR$" />
+ <option name="externalSystemIdString" value="GRADLE" />
+ <option name="scriptParameters" value="" />
+ <option name="taskDescriptions">
+ <list />
+ </option>
+ <option name="taskNames">
+ <list>
+ <option value="checkstyleMain" />
+ <option value="checkstyleIntegrationTest" />
+ <option value="checkstyleTest" />
+ <option value="checkstyleTestFixtures" />
+ </list>
+ </option>
+ <option name="vmOptions" />
+ </ExternalSystemSettings>
+ <ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
+
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
+ <DebugAllEnabled>false</DebugAllEnabled>
+ <method v="2" />
+ </configuration>
+</component>
\ No newline at end of file
diff --git a/.run/All dists zip [clean allDistZip].run.xml b/.run/All dists zip
[clean allDistZip].run.xml
new file mode 100644
index 0000000000..b000319045
--- /dev/null
+++ b/.run/All dists zip [clean allDistZip].run.xml
@@ -0,0 +1,41 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one or more
+ ~ contributor license agreements. See the NOTICE file distributed with
+ ~ this work for additional information regarding copyright ownership.
+ ~ The ASF licenses this file to You under the Apache License, Version 2.0
+ ~ (the "License"); you may not use this file except in compliance with
+ ~ the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+
+<component name="ProjectRunConfigurationManager">
+ <configuration default="false" name="All dists zip [clean allDistZip]"
type="GradleRunConfiguration" factoryName="Gradle" folderName="Distributions">
+ <ExternalSystemSettings>
+ <option name="executionName" />
+ <option name="externalProjectPath" value="$PROJECT_DIR$" />
+ <option name="externalSystemIdString" value="GRADLE" />
+ <option name="scriptParameters" value="-x check" />
+ <option name="taskDescriptions">
+ <list />
+ </option>
+ <option name="taskNames">
+ <list>
+ <option value="clean" />
+ <option value="allDistZip" />
+ </list>
+ </option>
+ <option name="vmOptions" />
+ </ExternalSystemSettings>
+ <ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
+
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
+ <DebugAllEnabled>false</DebugAllEnabled>
+ <method v="2" />
+ </configuration>
+</component>
\ No newline at end of file
diff --git a/.run/All tests [clean test integrationTest].run.xml b/.run/All
tests [clean test integrationTest].run.xml
new file mode 100644
index 0000000000..50b5cc9d5c
--- /dev/null
+++ b/.run/All tests [clean test integrationTest].run.xml
@@ -0,0 +1,24 @@
+<component name="ProjectRunConfigurationManager">
+ <configuration default="false" name="All tests [clean test integrationTest]"
type="GradleRunConfiguration" factoryName="Gradle" folderName="Tests">
+ <ExternalSystemSettings>
+ <option name="executionName" />
+ <option name="externalProjectPath" value="$PROJECT_DIR$" />
+ <option name="externalSystemIdString" value="GRADLE" />
+ <option name="scriptParameters" value="" />
+ <option name="taskDescriptions">
+ <list />
+ </option>
+ <option name="taskNames">
+ <list>
+ <option value="test" />
+ <option value="integrationTest" />
+ </list>
+ </option>
+ <option name="vmOptions" />
+ </ExternalSystemSettings>
+ <ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
+
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
+ <DebugAllEnabled>false</DebugAllEnabled>
+ <method v="2" />
+ </configuration>
+</component>
\ No newline at end of file
diff --git a/.run/CLI zip [clean packaging-cli_distZip].run.xml b/.run/CLI zip
[clean packaging-cli_distZip].run.xml
new file mode 100644
index 0000000000..771ec47507
--- /dev/null
+++ b/.run/CLI zip [clean packaging-cli_distZip].run.xml
@@ -0,0 +1,41 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one or more
+ ~ contributor license agreements. See the NOTICE file distributed with
+ ~ this work for additional information regarding copyright ownership.
+ ~ The ASF licenses this file to You under the Apache License, Version 2.0
+ ~ (the "License"); you may not use this file except in compliance with
+ ~ the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+
+<component name="ProjectRunConfigurationManager">
+ <configuration default="false" name="CLI zip [clean packaging-cli:distZip]"
type="GradleRunConfiguration" factoryName="Gradle" folderName="Distributions">
+ <ExternalSystemSettings>
+ <option name="executionName" />
+ <option name="externalProjectPath" value="$PROJECT_DIR$" />
+ <option name="externalSystemIdString" value="GRADLE" />
+ <option name="scriptParameters" value="-x check" />
+ <option name="taskDescriptions">
+ <list />
+ </option>
+ <option name="taskNames">
+ <list>
+ <option value="clean" />
+ <option value="packaging-cli:distZip" />
+ </list>
+ </option>
+ <option name="vmOptions" />
+ </ExternalSystemSettings>
+ <ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
+
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
+ <DebugAllEnabled>false</DebugAllEnabled>
+ <method v="2" />
+ </configuration>
+</component>
\ No newline at end of file
diff --git a/.run/DEB_RPM [clean buildDeb buildRpm].run.xml b/.run/DEB_RPM
[clean buildDeb buildRpm].run.xml
new file mode 100644
index 0000000000..39d05e773f
--- /dev/null
+++ b/.run/DEB_RPM [clean buildDeb buildRpm].run.xml
@@ -0,0 +1,42 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one or more
+ ~ contributor license agreements. See the NOTICE file distributed with
+ ~ this work for additional information regarding copyright ownership.
+ ~ The ASF licenses this file to You under the Apache License, Version 2.0
+ ~ (the "License"); you may not use this file except in compliance with
+ ~ the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+
+<component name="ProjectRunConfigurationManager">
+ <configuration default="false" name="DEB/RPM [clean buildDeb buildRpm]"
type="GradleRunConfiguration" factoryName="Gradle" folderName="Distributions">
+ <ExternalSystemSettings>
+ <option name="executionName" />
+ <option name="externalProjectPath" value="$PROJECT_DIR$" />
+ <option name="externalSystemIdString" value="GRADLE" />
+ <option name="scriptParameters" value="-x check" />
+ <option name="taskDescriptions">
+ <list />
+ </option>
+ <option name="taskNames">
+ <list>
+ <option value="clean" />
+ <option value="buildDeb" />
+ <option value="buildRpm" />
+ </list>
+ </option>
+ <option name="vmOptions" />
+ </ExternalSystemSettings>
+ <ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
+
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
+ <DebugAllEnabled>false</DebugAllEnabled>
+ <method v="2" />
+ </configuration>
+</component>
\ No newline at end of file
diff --git a/.run/Fast build [clean build -x assembleDist -x distTar -x distZip
-x check].run.xml b/.run/Fast build [clean build -x assembleDist -x distTar -x
distZip -x check].run.xml
new file mode 100644
index 0000000000..61cdbec7f0
--- /dev/null
+++ b/.run/Fast build [clean build -x assembleDist -x distTar -x distZip -x
check].run.xml
@@ -0,0 +1,41 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one or more
+ ~ contributor license agreements. See the NOTICE file distributed with
+ ~ this work for additional information regarding copyright ownership.
+ ~ The ASF licenses this file to You under the Apache License, Version 2.0
+ ~ (the "License"); you may not use this file except in compliance with
+ ~ the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+
+<component name="ProjectRunConfigurationManager">
+ <configuration default="false" name="Fast build [clean build -x assembleDist
-x distTar -x distZip -x check]" type="GradleRunConfiguration"
factoryName="Gradle" folderName="Build">
+ <ExternalSystemSettings>
+ <option name="executionName" />
+ <option name="externalProjectPath" value="$PROJECT_DIR$" />
+ <option name="externalSystemIdString" value="GRADLE" />
+ <option name="scriptParameters" value="-x assembleDist -x distTar -x
distZip -x check" />
+ <option name="taskDescriptions">
+ <list />
+ </option>
+ <option name="taskNames">
+ <list>
+ <option value="clean" />
+ <option value="build" />
+ </list>
+ </option>
+ <option name="vmOptions" />
+ </ExternalSystemSettings>
+ <ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
+
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
+ <DebugAllEnabled>false</DebugAllEnabled>
+ <method v="2" />
+ </configuration>
+</component>
\ No newline at end of file
diff --git a/.run/Full build [clean build].run.xml b/.run/Full build [clean
build].run.xml
new file mode 100644
index 0000000000..518f19a59b
--- /dev/null
+++ b/.run/Full build [clean build].run.xml
@@ -0,0 +1,41 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one or more
+ ~ contributor license agreements. See the NOTICE file distributed with
+ ~ this work for additional information regarding copyright ownership.
+ ~ The ASF licenses this file to You under the Apache License, Version 2.0
+ ~ (the "License"); you may not use this file except in compliance with
+ ~ the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+
+<component name="ProjectRunConfigurationManager">
+ <configuration default="false" name="Full build [clean build]"
type="GradleRunConfiguration" factoryName="Gradle" folderName="Build">
+ <ExternalSystemSettings>
+ <option name="executionName" />
+ <option name="externalProjectPath" value="$PROJECT_DIR$" />
+ <option name="externalSystemIdString" value="GRADLE" />
+ <option name="scriptParameters" value="" />
+ <option name="taskDescriptions">
+ <list />
+ </option>
+ <option name="taskNames">
+ <list>
+ <option value="clean" />
+ <option value="build" />
+ </list>
+ </option>
+ <option name="vmOptions" />
+ </ExternalSystemSettings>
+ <ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
+
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
+ <DebugAllEnabled>false</DebugAllEnabled>
+ <method v="2" />
+ </configuration>
+</component>
\ No newline at end of file
diff --git a/.run/Full build without tests [clean build -x test -x
integrationTest].run.xml b/.run/Full build without tests [clean build -x test
-x integrationTest].run.xml
new file mode 100644
index 0000000000..cbaeffe131
--- /dev/null
+++ b/.run/Full build without tests [clean build -x test -x
integrationTest].run.xml
@@ -0,0 +1,41 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one or more
+ ~ contributor license agreements. See the NOTICE file distributed with
+ ~ this work for additional information regarding copyright ownership.
+ ~ The ASF licenses this file to You under the Apache License, Version 2.0
+ ~ (the "License"); you may not use this file except in compliance with
+ ~ the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+
+<component name="ProjectRunConfigurationManager">
+ <configuration default="false" name="Full build without tests [clean build
-x test -x integrationTest]" type="GradleRunConfiguration" factoryName="Gradle"
folderName="Build">
+ <ExternalSystemSettings>
+ <option name="executionName" />
+ <option name="externalProjectPath" value="$PROJECT_DIR$" />
+ <option name="externalSystemIdString" value="GRADLE" />
+ <option name="scriptParameters" value="-x test -x integrationTest" />
+ <option name="taskDescriptions">
+ <list />
+ </option>
+ <option name="taskNames">
+ <list>
+ <option value="clean" />
+ <option value="build" />
+ </list>
+ </option>
+ <option name="vmOptions" />
+ </ExternalSystemSettings>
+ <ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
+
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
+ <DebugAllEnabled>false</DebugAllEnabled>
+ <method v="2" />
+ </configuration>
+</component>
\ No newline at end of file
diff --git a/.run/Ignite zip [clean packaging-db_distZip].run.xml b/.run/Ignite
zip [clean packaging-db_distZip].run.xml
new file mode 100644
index 0000000000..4d0d6f0f4d
--- /dev/null
+++ b/.run/Ignite zip [clean packaging-db_distZip].run.xml
@@ -0,0 +1,41 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one or more
+ ~ contributor license agreements. See the NOTICE file distributed with
+ ~ this work for additional information regarding copyright ownership.
+ ~ The ASF licenses this file to You under the Apache License, Version 2.0
+ ~ (the "License"); you may not use this file except in compliance with
+ ~ the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+
+<component name="ProjectRunConfigurationManager">
+ <configuration default="false" name="Ignite zip [clean
packaging-db:distZip]" type="GradleRunConfiguration" factoryName="Gradle"
folderName="Distributions">
+ <ExternalSystemSettings>
+ <option name="executionName" />
+ <option name="externalProjectPath" value="$PROJECT_DIR$" />
+ <option name="externalSystemIdString" value="GRADLE" />
+ <option name="scriptParameters" value="-x check" />
+ <option name="taskDescriptions">
+ <list />
+ </option>
+ <option name="taskNames">
+ <list>
+ <option value="clean" />
+ <option value="packaging-db:distZip" />
+ </list>
+ </option>
+ <option name="vmOptions" />
+ </ExternalSystemSettings>
+ <ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
+
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
+ <DebugAllEnabled>false</DebugAllEnabled>
+ <method v="2" />
+ </configuration>
+</component>
\ No newline at end of file
diff --git a/.run/Integration tests [clean integrationTest].run.xml
b/.run/Integration tests [clean integrationTest].run.xml
new file mode 100644
index 0000000000..537dcf4081
--- /dev/null
+++ b/.run/Integration tests [clean integrationTest].run.xml
@@ -0,0 +1,23 @@
+<component name="ProjectRunConfigurationManager">
+ <configuration default="false" name="Integration tests [clean
integrationTest]" type="GradleRunConfiguration" factoryName="Gradle"
folderName="Tests">
+ <ExternalSystemSettings>
+ <option name="executionName" />
+ <option name="externalProjectPath" value="$PROJECT_DIR$" />
+ <option name="externalSystemIdString" value="GRADLE" />
+ <option name="scriptParameters" value="" />
+ <option name="taskDescriptions">
+ <list />
+ </option>
+ <option name="taskNames">
+ <list>
+ <option value="integrationTest" />
+ </list>
+ </option>
+ <option name="vmOptions" />
+ </ExternalSystemSettings>
+ <ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
+
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
+ <DebugAllEnabled>false</DebugAllEnabled>
+ <method v="2" />
+ </configuration>
+</component>
\ No newline at end of file
diff --git a/.run/Modernizer check [modernizer].run.xml b/.run/Modernizer check
[modernizer].run.xml
new file mode 100644
index 0000000000..7e074415ac
--- /dev/null
+++ b/.run/Modernizer check [modernizer].run.xml
@@ -0,0 +1,40 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one or more
+ ~ contributor license agreements. See the NOTICE file distributed with
+ ~ this work for additional information regarding copyright ownership.
+ ~ The ASF licenses this file to You under the Apache License, Version 2.0
+ ~ (the "License"); you may not use this file except in compliance with
+ ~ the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+
+<component name="ProjectRunConfigurationManager">
+ <configuration default="false" name="Modernizer check [modernizer]"
type="GradleRunConfiguration" factoryName="Gradle" folderName="Checks">
+ <ExternalSystemSettings>
+ <option name="executionName" />
+ <option name="externalProjectPath" value="$PROJECT_DIR$" />
+ <option name="externalSystemIdString" value="GRADLE" />
+ <option name="scriptParameters" value="" />
+ <option name="taskDescriptions">
+ <list />
+ </option>
+ <option name="taskNames">
+ <list>
+ <option value="modernizer" />
+ </list>
+ </option>
+ <option name="vmOptions" />
+ </ExternalSystemSettings>
+ <ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
+
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
+ <DebugAllEnabled>false</DebugAllEnabled>
+ <method v="2" />
+ </configuration>
+</component>
\ No newline at end of file
diff --git a/.run/PMD [pmdMain].run.xml b/.run/PMD [pmdMain].run.xml
new file mode 100644
index 0000000000..9a37fc54e5
--- /dev/null
+++ b/.run/PMD [pmdMain].run.xml
@@ -0,0 +1,40 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one or more
+ ~ contributor license agreements. See the NOTICE file distributed with
+ ~ this work for additional information regarding copyright ownership.
+ ~ The ASF licenses this file to You under the Apache License, Version 2.0
+ ~ (the "License"); you may not use this file except in compliance with
+ ~ the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+
+<component name="ProjectRunConfigurationManager">
+ <configuration default="false" name="PMD [pmdMain]"
type="GradleRunConfiguration" factoryName="Gradle" folderName="Checks">
+ <ExternalSystemSettings>
+ <option name="executionName" />
+ <option name="externalProjectPath" value="$PROJECT_DIR$" />
+ <option name="externalSystemIdString" value="GRADLE" />
+ <option name="scriptParameters" value="" />
+ <option name="taskDescriptions">
+ <list />
+ </option>
+ <option name="taskNames">
+ <list>
+ <option value="pmdMain" />
+ </list>
+ </option>
+ <option name="vmOptions" />
+ </ExternalSystemSettings>
+ <ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
+
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
+ <DebugAllEnabled>false</DebugAllEnabled>
+ <method v="2" />
+ </configuration>
+</component>
\ No newline at end of file
diff --git a/.run/Unit tests [clean test].run.xml b/.run/Unit tests [clean
test].run.xml
new file mode 100644
index 0000000000..a97468516e
--- /dev/null
+++ b/.run/Unit tests [clean test].run.xml
@@ -0,0 +1,23 @@
+<component name="ProjectRunConfigurationManager">
+ <configuration default="false" name="Unit tests [clean test]"
type="GradleRunConfiguration" factoryName="Gradle" folderName="Tests">
+ <ExternalSystemSettings>
+ <option name="executionName" />
+ <option name="externalProjectPath" value="$PROJECT_DIR$" />
+ <option name="externalSystemIdString" value="GRADLE" />
+ <option name="scriptParameters" value="" />
+ <option name="taskDescriptions">
+ <list />
+ </option>
+ <option name="taskNames">
+ <list>
+ <option value="test" />
+ </list>
+ </option>
+ <option name="vmOptions" />
+ </ExternalSystemSettings>
+ <ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
+
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
+ <DebugAllEnabled>false</DebugAllEnabled>
+ <method v="2" />
+ </configuration>
+</component>
\ No newline at end of file
diff --git a/DEVNOTES.md b/DEVNOTES.md
index ea30da32be..6b31f6199b 100644
--- a/DEVNOTES.md
+++ b/DEVNOTES.md
@@ -1,9 +1,11 @@
* [Prerequisites](#prerequisites)
+* [Quick Start](#quick-start)
* [Building Ignite](#building-ignite)
* [Running sanity checks](#running-sanity-checks)
* [Running tests](#running-tests)
* [Checking and generating Javadoc](#checking-and-generating-javadoc)
* [Setting up IntelliJ Idea project](#setting-up-intellij-idea-project)
+* [Use prepared IntelliJ Idea run
configurations](#use-prepared-idea-run-configurations)
* [Code structure](#code-structure)
* [Release candidate verification](#release-candidate-verification)
***
@@ -17,8 +19,8 @@
## Quick Start
Apache Ignite 3 follows standard guidelines for multi-module Gradle projects,
so it can be built by using the following command from the
project root directory:
-```
-gradlew clean build
+```shell
+./gradlew clean build
```
This command builds a project and performs a few additional actions, for
example it also runs tests. The build runs faster if
these actions are disabled as described in the next section.
@@ -35,7 +37,7 @@ project root directory (the tests are disabled with `-x test
-x integrationTest`
```
For a really fast build some other actions can be disabled too:
```shell
-./gradlew clean build -x test -x integrationTest -x check -x modernizer
+./gradlew clean build -x assembleDist -x distTar -x distZip -x check
```
***
@@ -86,14 +88,14 @@ Build project without legacy API check:
Run legacy API checks only:
```shell
-./gradlew clean modernizer
+./gradlew modernizer
```
### PMD
Static code analyzer is run with [Apache Gradle PMD
Plugin](https://docs.gradle.org/current/userguide/pmd_plugin.html).
* [PMD rules](check-rules/pmd-rules.xml)
```shell
-./gradlew clean pmdMain
+./gradlew pmdMain
```
PMD check result (only if there are any violations) is generated at
`<module-name>/build/reports/pmd/`.
***
@@ -144,6 +146,18 @@ Apache Ignite 3 uses machine code generation for some of
its modules. Occasional
this case, run a gradle build command from the command line. Subsequent builds
can be performed from IDE without problems.
***
+## Use prebuilt IntelliJ Idea run configurations
+The Apache Ignite 3 project contains prebuilt IntelliJ Idea run configurations
that can be useful in common cases.
+
+
+
+These configurations are stored in `.run` root folder and committed to GIT
repo.
+
+***NOTE: DO NOT MODIFY THESE CONFIGURATION FILES MANUALLY.***
+
+For modification use Idea `Edit Configurations...` option.
+***
+
## Code structure
High-level modules structure and detailed modules description can be found in
the [modules readme](modules/README.md).
***
@@ -152,19 +166,19 @@ High-level modules structure and detailed modules
description can be found in th
### Zip packaging
```shell
-./gradlew clean allDistZip -x test -x check
+./gradlew clean allDistZip -x check
```
Uber zip package will be located in `packaging/build/distributions`.
If you wand to build CLI, you can do it with:
```shell
-./gradlew clean packaging-cli:distZip -x test -x check
+./gradlew clean packaging-cli:distZip -x check
```
Zip package will be located in `packaging/cli/build/distributions`.
For ignite-runner:
```shell
-./gradlew clean packaging-db:distZip -x test -x check
+./gradlew clean packaging-db:distZip -x check
```
Zip package will be located in `packaging/db/build/distributions`.
@@ -195,7 +209,7 @@ To stop the started node run:
There is also RPM/DEB packaging for Ignite. To build those packages run:
```shell
-./gradlew clean buildDeb buildRpm -x test -x check
+./gradlew clean buildDeb buildRpm -x check
```
`ignite3-cli` packages are located in `packaging/cli/build/distributions/` and
`ignite3-db` packages in `packaging/db/build/distributions/`.
***
diff --git a/buildscripts/java-integration-test.gradle
b/buildscripts/java-integration-test.gradle
index 227b814ec0..6ebade3ff1 100644
--- a/buildscripts/java-integration-test.gradle
+++ b/buildscripts/java-integration-test.gradle
@@ -63,8 +63,8 @@ testing {
}
}
-tasks.named('check') {
- dependsOn(testing.suites.integrationTest)
+check {
+ dependsOn integrationTest
}
pmdIntegrationTest {
diff --git a/docs/img.png b/docs/img.png
new file mode 100644
index 0000000000..6dca589f6c
Binary files /dev/null and b/docs/img.png differ