[jbosstools-issues] [JBoss JIRA] (JBIDE-12860) JAX-RS validation problems are not linked

Radoslav Rábara (JIRA) jira-events at lists.jboss.org
Thu Oct 17 05:49:01 EDT 2013


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

Radoslav Rábara edited comment on JBIDE-12860 at 10/17/13 5:48 AM:
-------------------------------------------------------------------

Hi [~xcoulon]!

I am starting from a new project. However, when I create a dynamic web project with JAX-RS support and one activator and then reopen the JBDS (close and open it again), there is still one warning, but if you try to reproduce the bug once again the warnings will be cleared.
So this bug is not reproducible with the already created projects. 

Here is t
{code:title=.project|borderStyle=solid}
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
	<name>test</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.common.project.facet.core.builder</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.wst.common.project.facet.core.nature</nature>
		<nature>org.eclipse.jdt.core.javanature</nature>
		<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
		<nature>org.jboss.tools.ws.jaxrs.nature</nature>
	</natures>
</projectDescription>
{code}
                
      was (Author: rrabara):
    Hi [~xcoulon]!

I am starting from a new project. However, when I create a dynamic web project with JAX-RS support and one activator and then reopen the JBDS (close and open it again), the bug is not reproducible anymore on this project. So this bug is not reproducible with the already created projects. 

Here is t
{code:title=.project|borderStyle=solid}
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
	<name>test</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.common.project.facet.core.builder</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.wst.common.project.facet.core.nature</nature>
		<nature>org.eclipse.jdt.core.javanature</nature>
		<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
		<nature>org.jboss.tools.ws.jaxrs.nature</nature>
	</natures>
</projectDescription>
{code}
                  
> JAX-RS validation problems are not linked
> -----------------------------------------
>
>                 Key: JBIDE-12860
>                 URL: https://issues.jboss.org/browse/JBIDE-12860
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: webservices
>    Affects Versions: 4.0.0.Beta1
>            Reporter: Jaroslav Jankovič
>            Assignee: Radoslav Rábara
>             Fix For: 4.1.1.Beta1, 4.2.0.Alpha1
>
>
> This case now fails:
> STEP: Create jaxrs problem with Application problem (Multiple application definition - one class extending Application and one application servlet definition in web.xml)
> STEP: comment servlet definition in web.xml
> ASSERT: problem marker in web.xml disappears
> ASSERT: problem marker in application class disappears
> FAIL: problem marker in application class doesn't disappear, because problem markers are not linked now -> project has to be built to correctly remove both problem markers

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