[jbosstools-issues] [JBoss JIRA] (JBIDE-17078) JAX-RS Problems doesn't appears after the JAX-RS Support is activated
Xavier Coulon (JIRA)
issues at jboss.org
Thu Jun 5 04:54:16 EDT 2014
[ https://issues.jboss.org/browse/JBIDE-17078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12973599#comment-12973599 ]
Xavier Coulon commented on JBIDE-17078:
---------------------------------------
[~akazakov],
Thanks for your reply.
Yes, I add/remove the JAX-RS nature, which adds/removes the JAX-RS builder in the project.
Here's the content of the {{.classpath}} file in the project *before* and *after* adding the JAX-RS support:
{code}
<projectDescription>
<name>org.jboss.tools.ws.jaxrs.tests.sampleproject2</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
</natures>
</projectDescription>
{code}
{code}
<projectDescription>
<name>org.jboss.tools.ws.jaxrs.tests.sampleproject2</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.jboss.tools.ws.jaxrs.metamodelBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
<nature>org.jboss.tools.ws.jaxrs.nature</nature>
</natures>
</projectDescription>
{code}
As you can see, there's already a WST Validation and it remains in the last position when the JAX-RS builder is added (IIRC, this was a requirement). But what's missing is an event to trigger the validation after the nature is added, because there's actually no resource being modified (except the {{.classpath}} file)
Do you have any idea how to resolve that ?
Thanks
> JAX-RS Problems doesn't appears after the JAX-RS Support is activated
> ---------------------------------------------------------------------
>
> Key: JBIDE-17078
> URL: https://issues.jboss.org/browse/JBIDE-17078
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: webservices
> Affects Versions: 4.2.0.Beta1
> Reporter: Radoslav Rábara
> Assignee: Xavier Coulon
> Fix For: 4.2.0.Beta3
>
>
> JAX-RS validation runs when there is a change in the project with JAX-RS Support. However, it doesn't run right after the JAX-RS Support is enabled.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
More information about the jbosstools-issues
mailing list