https://issues.apache.org/jira/browse/ARTEMIS-730
Adding instructions for adding the proper schemas to the Eclipse XML Catalog Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/39532d72 Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/39532d72 Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/39532d72 Branch: refs/heads/master Commit: 39532d72451fc2d058145c8efe097a332b1bc9e3 Parents: 5b833ef Author: Christopher L. Shannon (cshannon) <[email protected]> Authored: Fri Oct 7 10:13:30 2016 -0400 Committer: Clebert Suconic <[email protected]> Committed: Fri Oct 7 10:52:47 2016 -0400 ---------------------------------------------------------------------- docs/hacking-guide/en/ide.md | 7 +++++++ 1 file changed, 7 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/39532d72/docs/hacking-guide/en/ide.md ---------------------------------------------------------------------- diff --git a/docs/hacking-guide/en/ide.md b/docs/hacking-guide/en/ide.md index 29f05ec..3831c78 100644 --- a/docs/hacking-guide/en/ide.md +++ b/docs/hacking-guide/en/ide.md @@ -78,6 +78,13 @@ It is strongly recommended to turn off the auto-updating of .gitignore files by generates new .gitignore files in many directories that are not needed due to the top level .gitignore file. To turn it off, go to Preferences->Team->Git->Projects and deselect the "Automatically ignore derived resources" checkbox. +### Schema setup +For proper schema validation you can add the Artemis schemas to your Eclipse XML Catalog + +* Open: Window -> Preferences -> XML -> XML Catalog +* Select Add -> Workspace -> Navigate to artemis-server and select src/main/resources/schema/artemis-server.xsd -> click OK +* Repeat the above steps and add src/main/resources/schema/artemis-configuration.xsd + ### Checkstyle setup You can import the Artemis Checkstyle template into eclipse to do Checkstyle validation. As a prerequisite you need to make sure the Checkstyle plugin is installed into Eclipse which you can get form the Eclipse Marketplace. You also will need to configure Sevntu-Checkstyle. See http://sevntu-checkstyle.github.io/sevntu.checkstyle/ for instructions. Then to configure the template:
