Skip to content

Commit 979b76c

Browse files
authored
#19 Use central checkstyle config (#101)
* #19 Use central checkstyle config Use the common emfcloud checkstyle config provided by the umbrella repository instead of maintaining an separate version.
1 parent 5939fd3 commit 979b76c

21 files changed

Lines changed: 659 additions & 1420 deletions

File tree

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

33
<fileset-config file-format-version="1.2.0" simple-config="true" sync-formatter="false">
4-
<local-check-config name="org.eclipse.emfcloud.modelserver.checkstyle" location="/org.eclipse.emfcloud.modelserver.codestyle/checkstyle/modelserver-checkstyle.xml" type="project" description="">
5-
<additional-data name="protect-config-file" value="true"/>
4+
<local-check-config name="EMF.cloud Checkstyle" location="https://raw.githubusercontent.com/eclipse-emfcloud/emfcloud/master/codestyle/org.eclipse.emfcloud.checkstyle/src/main/resources/emfcloud-checkstyle.xml" type="remote" description="The central checkstyle configuration for emfcloud">
5+
<additional-data name="cache-props-file-location" value="EMFcloud Checkstyle_1618908540765_cache.properties"/>
6+
<additional-data name="cache-file" value="true"/>
7+
<additional-data name="cache-file-location" value="EMFcloud Checkstyle_1618908540765_cache.xml"/>
68
</local-check-config>
7-
<fileset name="all" enabled="true" check-config-name="org.eclipse.emfcloud.modelserver.checkstyle" local="true">
9+
<fileset name="all" enabled="true" check-config-name="EMF.cloud Checkstyle" local="true">
810
<file-match-pattern match-pattern="." include-pattern="true"/>
911
</fileset>
1012
</fileset-config>
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

33
<fileset-config file-format-version="1.2.0" simple-config="true" sync-formatter="false">
4-
<local-check-config name="org.eclipse.emfcloud.modelserver.checkstyle" location="/org.eclipse.emfcloud.modelserver.codestyle/checkstyle/modelserver-checkstyle.xml" type="project" description="">
5-
<additional-data name="protect-config-file" value="true"/>
4+
<local-check-config name="EMF.cloud Checkstyle" location="https://raw.githubusercontent.com/eclipse-emfcloud/emfcloud/master/codestyle/org.eclipse.emfcloud.checkstyle/src/main/resources/emfcloud-checkstyle.xml" type="remote" description="The central checkstyle configuration for emfcloud">
5+
<additional-data name="cache-props-file-location" value="EMFcloud Checkstyle_1618908540765_cache.properties"/>
6+
<additional-data name="cache-file" value="true"/>
7+
<additional-data name="cache-file-location" value="EMFcloud Checkstyle_1618908540765_cache.xml"/>
68
</local-check-config>
7-
<fileset name="all" enabled="true" check-config-name="org.eclipse.emfcloud.modelserver.checkstyle" local="true">
9+
<fileset name="all" enabled="true" check-config-name="EMF.cloud Checkstyle" local="true">
810
<file-match-pattern match-pattern="." include-pattern="true"/>
911
</fileset>
1012
</fileset-config>
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

33
<fileset-config file-format-version="1.2.0" simple-config="true" sync-formatter="false">
4-
<local-check-config name="org.eclipse.emfcloud.modelserver.checkstyle" location="/org.eclipse.emfcloud.modelserver.codestyle/checkstyle/modelserver-checkstyle.xml" type="project" description="">
5-
<additional-data name="protect-config-file" value="true"/>
4+
<local-check-config name="EMF.cloud Checkstyle" location="https://raw.githubusercontent.com/eclipse-emfcloud/emfcloud/master/codestyle/org.eclipse.emfcloud.checkstyle/src/main/resources/emfcloud-checkstyle.xml" type="remote" description="The central checkstyle configuration for emfcloud">
5+
<additional-data name="cache-props-file-location" value="EMFcloud Checkstyle_1618908540765_cache.properties"/>
6+
<additional-data name="cache-file" value="true"/>
7+
<additional-data name="cache-file-location" value="EMFcloud Checkstyle_1618908540765_cache.xml"/>
68
</local-check-config>
7-
<fileset name="all" enabled="true" check-config-name="org.eclipse.emfcloud.modelserver.checkstyle" local="true">
9+
<fileset name="all" enabled="true" check-config-name="EMF.cloud Checkstyle" local="true">
810
<file-match-pattern match-pattern="." include-pattern="true"/>
911
</fileset>
1012
</fileset-config>
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

33
<fileset-config file-format-version="1.2.0" simple-config="true" sync-formatter="false">
4-
<local-check-config name="org.eclipse.emfcloud.modelserver.checkstyle" location="/org.eclipse.emfcloud.modelserver.codestyle/checkstyle/modelserver-checkstyle.xml" type="project" description="">
5-
<additional-data name="protect-config-file" value="true"/>
4+
<local-check-config name="EMF.cloud Checkstyle" location="https://raw.githubusercontent.com/eclipse-emfcloud/emfcloud/master/codestyle/org.eclipse.emfcloud.checkstyle/src/main/resources/emfcloud-checkstyle.xml" type="remote" description="The central checkstyle configuration for emfcloud">
5+
<additional-data name="cache-props-file-location" value="EMFcloud Checkstyle_1618908540765_cache.properties"/>
6+
<additional-data name="cache-file" value="true"/>
7+
<additional-data name="cache-file-location" value="EMFcloud Checkstyle_1618908540765_cache.xml"/>
68
</local-check-config>
7-
<fileset name="all" enabled="true" check-config-name="org.eclipse.emfcloud.modelserver.checkstyle" local="true">
9+
<fileset name="all" enabled="true" check-config-name="EMF.cloud Checkstyle" local="true">
810
<file-match-pattern match-pattern="." include-pattern="true"/>
911
</fileset>
1012
</fileset-config>
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

33
<fileset-config file-format-version="1.2.0" simple-config="true" sync-formatter="false">
4-
<local-check-config name="org.eclipse.emfcloud.modelserver.checkstyle" location="/org.eclipse.emfcloud.modelserver.codestyle/checkstyle/modelserver-checkstyle.xml" type="project" description="">
5-
<additional-data name="protect-config-file" value="true"/>
4+
<local-check-config name="EMF.cloud Checkstyle" location="https://raw.githubusercontent.com/eclipse-emfcloud/emfcloud/master/codestyle/org.eclipse.emfcloud.checkstyle/src/main/resources/emfcloud-checkstyle.xml" type="remote" description="The central checkstyle configuration for emfcloud">
5+
<additional-data name="cache-props-file-location" value="EMFcloud Checkstyle_1618908540765_cache.properties"/>
6+
<additional-data name="cache-file" value="true"/>
7+
<additional-data name="cache-file-location" value="EMFcloud Checkstyle_1618908540765_cache.xml"/>
68
</local-check-config>
7-
<fileset name="all" enabled="true" check-config-name="org.eclipse.emfcloud.modelserver.checkstyle" local="true">
9+
<fileset name="all" enabled="true" check-config-name="EMF.cloud Checkstyle" local="true">
810
<file-match-pattern match-pattern="." include-pattern="true"/>
911
</fileset>
1012
</fileset-config>
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

33
<fileset-config file-format-version="1.2.0" simple-config="true" sync-formatter="false">
4-
<local-check-config name="org.eclipse.emfcloud.modelserver.checkstyle" location="/org.eclipse.emfcloud.modelserver.codestyle/checkstyle/modelserver-checkstyle.xml" type="project" description="">
5-
<additional-data name="protect-config-file" value="true"/>
4+
<local-check-config name="EMF.cloud Checkstyle" location="https://raw.githubusercontent.com/eclipse-emfcloud/emfcloud/master/codestyle/org.eclipse.emfcloud.checkstyle/src/main/resources/emfcloud-checkstyle.xml" type="remote" description="The central checkstyle configuration for emfcloud">
5+
<additional-data name="cache-props-file-location" value="EMFcloud Checkstyle_1618908540765_cache.properties"/>
6+
<additional-data name="cache-file" value="true"/>
7+
<additional-data name="cache-file-location" value="EMFcloud Checkstyle_1618908540765_cache.xml"/>
68
</local-check-config>
7-
<fileset name="all" enabled="true" check-config-name="org.eclipse.emfcloud.modelserver.checkstyle" local="true">
9+
<fileset name="all" enabled="true" check-config-name="EMF.cloud Checkstyle" local="true">
810
<file-match-pattern match-pattern="." include-pattern="true"/>
911
</fileset>
1012
</fileset-config>
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

33
<fileset-config file-format-version="1.2.0" simple-config="true" sync-formatter="false">
4-
<local-check-config name="org.eclipse.emfcloud.modelserver.checkstyle" location="/org.eclipse.emfcloud.modelserver.codestyle/checkstyle/modelserver-checkstyle.xml" type="project" description="">
5-
<additional-data name="protect-config-file" value="true"/>
4+
<local-check-config name="EMF.cloud Checkstyle" location="https://raw.githubusercontent.com/eclipse-emfcloud/emfcloud/master/codestyle/org.eclipse.emfcloud.checkstyle/src/main/resources/emfcloud-checkstyle.xml" type="remote" description="The central checkstyle configuration for emfcloud">
5+
<additional-data name="cache-props-file-location" value="EMFcloud Checkstyle_1618908540765_cache.properties"/>
6+
<additional-data name="cache-file" value="true"/>
7+
<additional-data name="cache-file-location" value="EMFcloud Checkstyle_1618908540765_cache.xml"/>
68
</local-check-config>
7-
<fileset name="all" enabled="true" check-config-name="org.eclipse.emfcloud.modelserver.checkstyle" local="true">
9+
<fileset name="all" enabled="true" check-config-name="EMF.cloud Checkstyle" local="true">
810
<file-match-pattern match-pattern="." include-pattern="true"/>
911
</fileset>
1012
</fileset-config>

0 commit comments

Comments
 (0)