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

Xavier Coulon (JIRA) jira-events at lists.jboss.org
Wed Jun 26 15:28:21 EDT 2013


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

Xavier Coulon edited comment on JBIDE-12690 at 6/26/13 3:26 PM:
----------------------------------------------------------------

@akazakov

Thanks for the explanation about the build command orders, but the sample project I used had the following one:
{code}
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
	<name>jboss-as-kitchensink-html5-mobile</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.jst.web.kb.kbbuilder</name>
			<arguments>
			</arguments>
		</buildCommand>
		<buildCommand>
			<name>org.hibernate.eclipse.console.hibernateBuilder</name>
			<arguments>
			</arguments>
		</buildCommand>
		<buildCommand>
			<name>org.jboss.tools.ws.jaxrs.metamodelBuilder</name>
			<arguments>
			</arguments>
		</buildCommand>
		<buildCommand>
			<name>org.jboss.tools.cdi.core.cdibuilder</name>
			<arguments>
			</arguments>
		</buildCommand>
		<buildCommand>
			<name>org.eclipse.wst.validation.validationbuilder</name>
			<arguments>
			</arguments>
		</buildCommand>
		<buildCommand>
			<name>org.eclipse.m2e.core.maven2Builder</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.m2e.core.maven2Nature</nature>
		<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
		<nature>org.hibernate.eclipse.console.hibernateNature</nature>
		<nature>org.jboss.tools.ws.jaxrs.nature</nature>
		<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
		<nature>org.jboss.tools.jst.web.kb.kbnature</nature>
		<nature>org.jboss.tools.cdi.core.cdinature</nature>
	</natures>
</projectDescription>
{code}

BTW, which version of the JAX-RS tooling are you using ? the first exception you reported occurred on a class that has been removed/refactored for JBT 4.1.0.beta2 
                
      was (Author: xcoulon):
    @akazakov

Thanks for the explanation about the build command orders !
BTW, which version of the JAX-RS tooling are you using ? the first exception you reported occurred on a class that has been removed/refactored for JBT 4.1.0.beta2 
                  
> 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