| Summary: | Cleanup and standardize project settings | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] Sirius | Reporter: | Pierre-Charles David <pierre-charles.david> | ||||
| Component: | Core | Assignee: | Pierre-Charles David <pierre-charles.david> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | laurent.redor | ||||
| Version: | 0.9 | Keywords: | triaged | ||||
| Target Milestone: | 1.0.0M5 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Pierre-Charles David
Created attachment 238158 [details]
Patch to enable Checkstyle on projet table.ui
For information, there is a mistake in current configuration of org.eclipse.sirius.table.ui. Checkstyle is not enabled.
I attached a patch for the ".project" file of this project.
Done, even though things can certainly be improved (maybe later). See commits 5c31823acaad44ac233bc3a82214c1614f75cd4b through aa2ee4007182d5dfcf39374edc8923551fe5cfbd. See previous comment. I think the checkstyle configuration is problematic. All config files reference a check-config-name="Sirius Checks". This implies to have configure a check-configuration in the workspace with that name. It is possible to directly reference the existing file with a "local-check-config" tag. For example, in previous revision : ... <local-check-config name="Viewpoint" location="/Viewpoint/dev/code/CheckstyleConfiguration.xml" type="project" description=""> <additional-data name="protect-config-file" value="false"/> </local-check-config> <fileset ... enabled="true" check-config-name="Viewpoint" local="true"> ... Why do not you use this possibility? (In reply to Laurent Redor from comment #4) > I think the checkstyle configuration is problematic. All config files > reference a check-config-name="Sirius Checks". This implies to have > configure a check-configuration in the workspace with that name. > It is possible to directly reference the existing file with a > "local-check-config" tag. For example, in previous revision : > > ... > <local-check-config name="Viewpoint" > location="/Viewpoint/dev/code/CheckstyleConfiguration.xml" type="project" > description=""> > <additional-data name="protect-config-file" value="false"/> > </local-check-config> > <fileset ... enabled="true" check-config-name="Viewpoint" local="true"> > ... > > Why do not you use this possibility? This was simply because even after reading the CheckStyle doc I was confused about what exactly were the different types of configurations. Changed in 40aeb70d6b6f98511f6d16e1bfa6c74b4e64bfee. Validated using: * Luna M4 * Sirius 1.0M5rc1 (1.0.0-N20140127-060036) Available in Sirius 1.0.0M5, see https://wiki.eclipse.org/Sirius/1.0.0M5 for availability details. |