[jbosstools-issues] [JBoss JIRA] (JBIDE-12690) No JAX-RS problems when importing a project that contains errors

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Wed Jun 26 17:16:22 EDT 2013


    [ https://issues.jboss.org/browse/JBIDE-12690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785413#comment-12785413 ] 

Alexey Kazakov commented on JBIDE-12690:
----------------------------------------

[~xcoulon] I created a PR to fix the problem with validation - https://github.com/jbosstools/jbosstools-webservices/pull/60
The reason of this problem is that you cannot create a brand new validation context every time you are asked. You have to keep the context at least between buildings. This context contains information about changed (or cleaned ones in this case) resources. If you create a new context every time then the validator manager don't see changed files and don't invoke JAX-RS validator.
                
> No JAX-RS problems when importing a project that contains errors
> ----------------------------------------------------------------
>
>                 Key: JBIDE-12690
>                 URL: https://issues.jboss.org/browse/JBIDE-12690
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Webservices
>    Affects Versions: 4.0.0.Alpha1
>            Reporter: Jaroslav Jankovič
>            Assignee: Xavier Coulon
>             Fix For: 4.1.x
>
>         Attachments: JBIDE-12690.ogv
>
>
> Supposing you have created project with JAX-RS support and validation error in it (e.g. HTTPMethod annotation without Target or Retention). If you open a fresh workspace, import the project and build the project, there is no errors found. It is a bug.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jbosstools-issues mailing list