Bug 571672: Add checkstyle support to projects
Change-Id: I3553b7545f479e764cdbb617cba388ad56bc5893
diff --git a/plugins/org.eclipse.ease.modules.charting/.checkstyle b/plugins/org.eclipse.ease.modules.charting/.checkstyle
new file mode 100644
index 0000000..f21bb7e
--- /dev/null
+++ b/plugins/org.eclipse.ease.modules.charting/.checkstyle
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<fileset-config file-format-version="1.2.0" simple-config="false" sync-formatter="false">
+ <local-check-config name="EASE Modules Checkstyle" location="/org.eclipse.ease.modules.releng/checkstyle/checkstyle_rules.xml" type="project" description="">
+ <additional-data name="protect-config-file" value="false"/>
+ </local-check-config>
+ <fileset name="All files" enabled="true" check-config-name="EASE Modules Checkstyle" local="true">
+ <file-match-pattern match-pattern=".java$" include-pattern="true"/>
+ </fileset>
+</fileset-config>
\ No newline at end of file
diff --git a/plugins/org.eclipse.ease.modules.charting/.project b/plugins/org.eclipse.ease.modules.charting/.project
index 82bd4b0..4b1aef5 100644
--- a/plugins/org.eclipse.ease.modules.charting/.project
+++ b/plugins/org.eclipse.ease.modules.charting/.project
@@ -20,9 +20,15 @@
<arguments>
</arguments>
</buildCommand>
+ <buildCommand>
+ <name>net.sf.eclipsecs.core.CheckstyleBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>net.sf.eclipsecs.core.CheckstyleNature</nature>
</natures>
</projectDescription>
diff --git a/plugins/org.eclipse.ease.modules.help/.checkstyle b/plugins/org.eclipse.ease.modules.help/.checkstyle
new file mode 100644
index 0000000..f21bb7e
--- /dev/null
+++ b/plugins/org.eclipse.ease.modules.help/.checkstyle
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<fileset-config file-format-version="1.2.0" simple-config="false" sync-formatter="false">
+ <local-check-config name="EASE Modules Checkstyle" location="/org.eclipse.ease.modules.releng/checkstyle/checkstyle_rules.xml" type="project" description="">
+ <additional-data name="protect-config-file" value="false"/>
+ </local-check-config>
+ <fileset name="All files" enabled="true" check-config-name="EASE Modules Checkstyle" local="true">
+ <file-match-pattern match-pattern=".java$" include-pattern="true"/>
+ </fileset>
+</fileset-config>
\ No newline at end of file
diff --git a/plugins/org.eclipse.ease.modules.help/.project b/plugins/org.eclipse.ease.modules.help/.project
index 5059574..af7a886 100644
--- a/plugins/org.eclipse.ease.modules.help/.project
+++ b/plugins/org.eclipse.ease.modules.help/.project
@@ -20,9 +20,15 @@
<arguments>
</arguments>
</buildCommand>
+ <buildCommand>
+ <name>net.sf.eclipsecs.core.CheckstyleBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>net.sf.eclipsecs.core.CheckstyleNature</nature>
</natures>
</projectDescription>
diff --git a/plugins/org.eclipse.ease.modules.jvm/.checkstyle b/plugins/org.eclipse.ease.modules.jvm/.checkstyle
new file mode 100644
index 0000000..f21bb7e
--- /dev/null
+++ b/plugins/org.eclipse.ease.modules.jvm/.checkstyle
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<fileset-config file-format-version="1.2.0" simple-config="false" sync-formatter="false">
+ <local-check-config name="EASE Modules Checkstyle" location="/org.eclipse.ease.modules.releng/checkstyle/checkstyle_rules.xml" type="project" description="">
+ <additional-data name="protect-config-file" value="false"/>
+ </local-check-config>
+ <fileset name="All files" enabled="true" check-config-name="EASE Modules Checkstyle" local="true">
+ <file-match-pattern match-pattern=".java$" include-pattern="true"/>
+ </fileset>
+</fileset-config>
\ No newline at end of file
diff --git a/plugins/org.eclipse.ease.modules.jvm/.project b/plugins/org.eclipse.ease.modules.jvm/.project
index 8556ae6..17373a4 100644
--- a/plugins/org.eclipse.ease.modules.jvm/.project
+++ b/plugins/org.eclipse.ease.modules.jvm/.project
@@ -20,9 +20,15 @@
<arguments>
</arguments>
</buildCommand>
+ <buildCommand>
+ <name>net.sf.eclipsecs.core.CheckstyleBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>net.sf.eclipsecs.core.CheckstyleNature</nature>
</natures>
</projectDescription>
diff --git a/plugins/org.eclipse.ease.modules.modeling.ui/.checkstyle b/plugins/org.eclipse.ease.modules.modeling.ui/.checkstyle
new file mode 100644
index 0000000..f21bb7e
--- /dev/null
+++ b/plugins/org.eclipse.ease.modules.modeling.ui/.checkstyle
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<fileset-config file-format-version="1.2.0" simple-config="false" sync-formatter="false">
+ <local-check-config name="EASE Modules Checkstyle" location="/org.eclipse.ease.modules.releng/checkstyle/checkstyle_rules.xml" type="project" description="">
+ <additional-data name="protect-config-file" value="false"/>
+ </local-check-config>
+ <fileset name="All files" enabled="true" check-config-name="EASE Modules Checkstyle" local="true">
+ <file-match-pattern match-pattern=".java$" include-pattern="true"/>
+ </fileset>
+</fileset-config>
\ No newline at end of file
diff --git a/plugins/org.eclipse.ease.modules.modeling.ui/.project b/plugins/org.eclipse.ease.modules.modeling.ui/.project
index 6b3789b..095a49f 100644
--- a/plugins/org.eclipse.ease.modules.modeling.ui/.project
+++ b/plugins/org.eclipse.ease.modules.modeling.ui/.project
@@ -20,9 +20,15 @@
<arguments>
</arguments>
</buildCommand>
+ <buildCommand>
+ <name>net.sf.eclipsecs.core.CheckstyleBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>net.sf.eclipsecs.core.CheckstyleNature</nature>
</natures>
</projectDescription>
diff --git a/plugins/org.eclipse.ease.modules.modeling/.checkstyle b/plugins/org.eclipse.ease.modules.modeling/.checkstyle
new file mode 100644
index 0000000..f21bb7e
--- /dev/null
+++ b/plugins/org.eclipse.ease.modules.modeling/.checkstyle
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<fileset-config file-format-version="1.2.0" simple-config="false" sync-formatter="false">
+ <local-check-config name="EASE Modules Checkstyle" location="/org.eclipse.ease.modules.releng/checkstyle/checkstyle_rules.xml" type="project" description="">
+ <additional-data name="protect-config-file" value="false"/>
+ </local-check-config>
+ <fileset name="All files" enabled="true" check-config-name="EASE Modules Checkstyle" local="true">
+ <file-match-pattern match-pattern=".java$" include-pattern="true"/>
+ </fileset>
+</fileset-config>
\ No newline at end of file
diff --git a/plugins/org.eclipse.ease.modules.modeling/.project b/plugins/org.eclipse.ease.modules.modeling/.project
index 793995d..605ed43 100644
--- a/plugins/org.eclipse.ease.modules.modeling/.project
+++ b/plugins/org.eclipse.ease.modules.modeling/.project
@@ -20,9 +20,15 @@
<arguments>
</arguments>
</buildCommand>
+ <buildCommand>
+ <name>net.sf.eclipsecs.core.CheckstyleBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>net.sf.eclipsecs.core.CheckstyleNature</nature>
</natures>
</projectDescription>
diff --git a/plugins/org.eclipse.ease.modules.platform/.checkstyle b/plugins/org.eclipse.ease.modules.platform/.checkstyle
new file mode 100644
index 0000000..f21bb7e
--- /dev/null
+++ b/plugins/org.eclipse.ease.modules.platform/.checkstyle
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<fileset-config file-format-version="1.2.0" simple-config="false" sync-formatter="false">
+ <local-check-config name="EASE Modules Checkstyle" location="/org.eclipse.ease.modules.releng/checkstyle/checkstyle_rules.xml" type="project" description="">
+ <additional-data name="protect-config-file" value="false"/>
+ </local-check-config>
+ <fileset name="All files" enabled="true" check-config-name="EASE Modules Checkstyle" local="true">
+ <file-match-pattern match-pattern=".java$" include-pattern="true"/>
+ </fileset>
+</fileset-config>
\ No newline at end of file
diff --git a/plugins/org.eclipse.ease.modules.platform/.project b/plugins/org.eclipse.ease.modules.platform/.project
index 439b93b..4c5568e 100644
--- a/plugins/org.eclipse.ease.modules.platform/.project
+++ b/plugins/org.eclipse.ease.modules.platform/.project
@@ -20,9 +20,15 @@
<arguments>
</arguments>
</buildCommand>
+ <buildCommand>
+ <name>net.sf.eclipsecs.core.CheckstyleBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>net.sf.eclipsecs.core.CheckstyleNature</nature>
</natures>
</projectDescription>
diff --git a/plugins/org.eclipse.ease.modules.team.git.ui/.checkstyle b/plugins/org.eclipse.ease.modules.team.git.ui/.checkstyle
new file mode 100644
index 0000000..f21bb7e
--- /dev/null
+++ b/plugins/org.eclipse.ease.modules.team.git.ui/.checkstyle
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<fileset-config file-format-version="1.2.0" simple-config="false" sync-formatter="false">
+ <local-check-config name="EASE Modules Checkstyle" location="/org.eclipse.ease.modules.releng/checkstyle/checkstyle_rules.xml" type="project" description="">
+ <additional-data name="protect-config-file" value="false"/>
+ </local-check-config>
+ <fileset name="All files" enabled="true" check-config-name="EASE Modules Checkstyle" local="true">
+ <file-match-pattern match-pattern=".java$" include-pattern="true"/>
+ </fileset>
+</fileset-config>
\ No newline at end of file
diff --git a/plugins/org.eclipse.ease.modules.team.git.ui/.project b/plugins/org.eclipse.ease.modules.team.git.ui/.project
index c634bbc..6b3a89a 100644
--- a/plugins/org.eclipse.ease.modules.team.git.ui/.project
+++ b/plugins/org.eclipse.ease.modules.team.git.ui/.project
@@ -20,9 +20,15 @@
<arguments>
</arguments>
</buildCommand>
+ <buildCommand>
+ <name>net.sf.eclipsecs.core.CheckstyleBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>net.sf.eclipsecs.core.CheckstyleNature</nature>
</natures>
</projectDescription>
diff --git a/plugins/org.eclipse.ease.modules.team.git/.checkstyle b/plugins/org.eclipse.ease.modules.team.git/.checkstyle
new file mode 100644
index 0000000..f21bb7e
--- /dev/null
+++ b/plugins/org.eclipse.ease.modules.team.git/.checkstyle
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<fileset-config file-format-version="1.2.0" simple-config="false" sync-formatter="false">
+ <local-check-config name="EASE Modules Checkstyle" location="/org.eclipse.ease.modules.releng/checkstyle/checkstyle_rules.xml" type="project" description="">
+ <additional-data name="protect-config-file" value="false"/>
+ </local-check-config>
+ <fileset name="All files" enabled="true" check-config-name="EASE Modules Checkstyle" local="true">
+ <file-match-pattern match-pattern=".java$" include-pattern="true"/>
+ </fileset>
+</fileset-config>
\ No newline at end of file
diff --git a/plugins/org.eclipse.ease.modules.team.git/.project b/plugins/org.eclipse.ease.modules.team.git/.project
index e620b66..c8c6c56 100644
--- a/plugins/org.eclipse.ease.modules.team.git/.project
+++ b/plugins/org.eclipse.ease.modules.team.git/.project
@@ -20,9 +20,15 @@
<arguments>
</arguments>
</buildCommand>
+ <buildCommand>
+ <name>net.sf.eclipsecs.core.CheckstyleBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>net.sf.eclipsecs.core.CheckstyleNature</nature>
</natures>
</projectDescription>
diff --git a/plugins/org.eclipse.ease.modules.team.svn/.checkstyle b/plugins/org.eclipse.ease.modules.team.svn/.checkstyle
new file mode 100644
index 0000000..f21bb7e
--- /dev/null
+++ b/plugins/org.eclipse.ease.modules.team.svn/.checkstyle
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<fileset-config file-format-version="1.2.0" simple-config="false" sync-formatter="false">
+ <local-check-config name="EASE Modules Checkstyle" location="/org.eclipse.ease.modules.releng/checkstyle/checkstyle_rules.xml" type="project" description="">
+ <additional-data name="protect-config-file" value="false"/>
+ </local-check-config>
+ <fileset name="All files" enabled="true" check-config-name="EASE Modules Checkstyle" local="true">
+ <file-match-pattern match-pattern=".java$" include-pattern="true"/>
+ </fileset>
+</fileset-config>
\ No newline at end of file
diff --git a/plugins/org.eclipse.ease.modules.team.svn/.project b/plugins/org.eclipse.ease.modules.team.svn/.project
index 63a1471..039acaf 100644
--- a/plugins/org.eclipse.ease.modules.team.svn/.project
+++ b/plugins/org.eclipse.ease.modules.team.svn/.project
@@ -20,9 +20,15 @@
<arguments>
</arguments>
</buildCommand>
+ <buildCommand>
+ <name>net.sf.eclipsecs.core.CheckstyleBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>net.sf.eclipsecs.core.CheckstyleNature</nature>
</natures>
</projectDescription>
diff --git a/tests/org.eclipse.ease.modules.platform.test/.checkstyle b/tests/org.eclipse.ease.modules.platform.test/.checkstyle
new file mode 100644
index 0000000..b825e1a
--- /dev/null
+++ b/tests/org.eclipse.ease.modules.platform.test/.checkstyle
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<fileset-config file-format-version="1.2.0" simple-config="false" sync-formatter="false">
+ <local-check-config name="EASE Modules Unittest Checkstyle" location="/org.eclipse.ease.modules.releng/checkstyle/checkstyle_rules_unittest.xml" type="project" description="">
+ <additional-data name="protect-config-file" value="false"/>
+ </local-check-config>
+ <fileset name="All files" enabled="true" check-config-name="EASE Modules Unittest Checkstyle" local="true">
+ <file-match-pattern match-pattern=".java$" include-pattern="true"/>
+ </fileset>
+</fileset-config>
\ No newline at end of file
diff --git a/tests/org.eclipse.ease.modules.platform.test/.project b/tests/org.eclipse.ease.modules.platform.test/.project
index 1ee27b9..4577555 100644
--- a/tests/org.eclipse.ease.modules.platform.test/.project
+++ b/tests/org.eclipse.ease.modules.platform.test/.project
@@ -20,9 +20,15 @@
<arguments>
</arguments>
</buildCommand>
+ <buildCommand>
+ <name>net.sf.eclipsecs.core.CheckstyleBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>net.sf.eclipsecs.core.CheckstyleNature</nature>
</natures>
</projectDescription>