[
https://issues.jboss.org/browse/JBIDE-10601?page=com.atlassian.jira.plugi...
]
Viacheslav Kabanovich updated JBIDE-10601:
------------------------------------------
Description:
1. Build
EXECUTE: Create a CDI (can be JSF2 or Seam project as well).
EXECUTE: Create a bean class in Java Source folder 'src'.
ASSERT: File .classpath has entry
{code}
<classpathentry kind="src" path="src"/>
{code}
EXECUTE: Rebuild the project and make sure that everything is alright yet.
EXECUTE: Open project properties -> Java Build Path -> Source, select and expand
Java Source folder in question, navigate to the node 'Excluded (None)', run
'Edit...' and add exclusion pattern "**".
ASSERT: File .classpath has entry
{code}
<classpathentry excluding="**" kind="src"
path="src"/>
{code}
EXECUTE: Run Clean/Build of the project.
FAILURE: Java Model Exception (attached).
2. Validation
EXECUTE: Create a CDI project.
EXECUTE: Create a named bean 'abc' in class Test1 and reference it in EL in class
Test2:
{code}
String s = "#{abc.xyz}
{code}
where 'xyz' is missing in properties/members of the bean.
ASSERT: On build and and validation, 'xyz' is marked as an error.
EXECUTE: Add class Test2 to patterns excluded from the class path of the project.
ASSERT: Marker is removed from the Test2 file without any failures.
FAILURE: Java Model Exception.
3. Hyperlinks
EXECUTE: Repeat steps of item 2.Validation.
EXECUTE: Try open-on at 'xyz'.
ASSERT: No option is found. No failures.
FAILURE: Java Model Exception.
was:
EXECUTE: Create a CDI (can be JSF2 or Seam project as well).
EXECUTE: Create a bean class in Java Source folder 'src'.
ASSERT: File .classpath has entry
{code}
<classpathentry kind="src" path="src"/>
{code}
EXECUTE: Rebuild the project and make sure that everything is alright yet.
EXECUTE: Open project properties -> Java Build Path -> Source, select and expand
Java Source folder in question, navigate to the node 'Excluded (None)', run
'Edit...' and add exclusion pattern "**".
ASSERT: File .classpath has entry
{code}
<classpathentry excluding="**" kind="src"
path="src"/>
{code}
EXECUTE: Run Clean/Build of the project.
FAILURE: Java Model Exception (attached).
Failures at processing compilation units excluded from class path
-----------------------------------------------------------------
Key: JBIDE-10601
URL:
https://issues.jboss.org/browse/JBIDE-10601
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: CDI, common/jst/core
Affects Versions: 3.3.0.M5
Reporter: Viacheslav Kabanovich
Assignee: Viacheslav Kabanovich
Priority: Critical
Fix For: 3.3.0.Beta1
Attachments: Exception.txt
1. Build
EXECUTE: Create a CDI (can be JSF2 or Seam project as well).
EXECUTE: Create a bean class in Java Source folder 'src'.
ASSERT: File .classpath has entry
{code}
<classpathentry kind="src" path="src"/>
{code}
EXECUTE: Rebuild the project and make sure that everything is alright yet.
EXECUTE: Open project properties -> Java Build Path -> Source, select and expand
Java Source folder in question, navigate to the node 'Excluded (None)', run
'Edit...' and add exclusion pattern "**".
ASSERT: File .classpath has entry
{code}
<classpathentry excluding="**" kind="src"
path="src"/>
{code}
EXECUTE: Run Clean/Build of the project.
FAILURE: Java Model Exception (attached).
2. Validation
EXECUTE: Create a CDI project.
EXECUTE: Create a named bean 'abc' in class Test1 and reference it in EL in class
Test2:
{code}
String s = "#{abc.xyz}
{code}
where 'xyz' is missing in properties/members of the bean.
ASSERT: On build and and validation, 'xyz' is marked as an error.
EXECUTE: Add class Test2 to patterns excluded from the class path of the project.
ASSERT: Marker is removed from the Test2 file without any failures.
FAILURE: Java Model Exception.
3. Hyperlinks
EXECUTE: Repeat steps of item 2.Validation.
EXECUTE: Try open-on at 'xyz'.
ASSERT: No option is found. No failures.
FAILURE: Java Model Exception.
--
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