[jbosstools-issues] [JBoss JIRA] (JBIDE-15825) JAX-RS problems don't show up after target runtime is set

Xavier Coulon (JIRA) jira-events at lists.jboss.org
Thu Nov 7 10:54:02 EST 2013


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

Xavier Coulon commented on JBIDE-15825:
---------------------------------------

Postponing to 4.2.0.Alpha1 since the expected validation problem appear as soon as a Project>Clean is executed.

Some thoughts on how to fix that: 

the change listeners should not respond to classpath changes (as it's already the case), but it could accept changes on some classes, as the log show that this happened after the target runtime was set:

{code}
16:42:08.627 [Worker-15] TRACE **ignored** Delta /test2/build/classes/MyAnnotation.class [Changed]
...
16:42:08.629 [Worker-15] DEBUG JAX-RS Metamodel for project 'test2' now has 0 Applications, 6 HttpMethods, 0 Resources and 0 Endpoints.
...
16:42:08.955 [Worker-11] DEBUG *** Validating project test2 after files [L/test2/.settings/org.eclipse.wst.common.project.facet.core.xml] changed... ***
...
{code}

In that case, if JDT can provide us with the associated Java source file, the JAX-RS builder could look at this source file, instanciate a custom JAX-RS HTTP Method element from it (which is not the case ATM). This element would be part of the validation (even if only org.eclipse.wst.common.project.facet.core.xml is marked as a changed file).

                
> JAX-RS problems don't show up after target runtime is set
> ---------------------------------------------------------
>
>                 Key: JBIDE-15825
>                 URL: https://issues.jboss.org/browse/JBIDE-15825
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: webservices
>    Affects Versions: 4.1.1.Beta1
>            Reporter: Radoslav Rábara
>            Assignee: Xavier Coulon
>             Fix For: 4.2.0.Alpha1
>
>
> JAX-RS problems don't show up after target runtime is set on project that was created with target runtime set to <None>.

--
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