[jbosstools-issues] [JBoss JIRA] (JBIDE-12335) Seam config validation errors not found

Jaroslav Jankovič (JIRA) jira-events at lists.jboss.org
Tue Aug 28 01:27:14 EDT 2012


     [ https://issues.jboss.org/browse/JBIDE-12335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jaroslav Jankovič updated JBIDE-12335:
--------------------------------------

    Steps to Reproduce: 
You have to import project, not create a new one. In my case project is simple dynamic web project with one java class Report.java:
{code}
package test;

public class Report {
	
	private String value;

	public Report() {
		
	}
	
	public void send(int value) {
		
	}

}
{code}

and seam-beans.xml:
{code}
<?xml version="1.0"?>
<beans xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://jboss.org/schema/cdi/beans_1_0.xsd"
	xmlns:s="urn:java:ee" xmlns:r="urn:java:test">

	<r:Report>
		
		<r:valueBroken>
		</r:valueBroken>
		
		<s:parameters>
			<s:int/>
		</s:parameters>
		
		<r:send>
			<s:Produces/>
			<s:parameters>
				<s:String/>
			</s:parameters>
		</r:send>
		
	</r:Report>
	
	<r:Broken>
	</r:Broken>
		
</beans>
{code}

If you import this project into fresh workspace, clean the project, there are no errors found. However, if you edit seam-beans.xml and save it, 4 errors found are correctly found.

    
> Seam config validation errors not found 
> ----------------------------------------
>
>                 Key: JBIDE-12335
>                 URL: https://issues.jboss.org/browse/JBIDE-12335
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: CDI extensions
>    Affects Versions: 4.0.0.M1
>            Reporter: Jaroslav Jankovič
>            Assignee: Jaroslav Jankovič
>             Fix For: 4.0.0.M1
>
>
> Seam config validation errors are not found when importing the project. Cleaning the build doesn't help either. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the jbosstools-issues mailing list