HR fix 229078 - NB flags beans.xml as required, though at CDI 1.1 an empty one is not required

David Konecny <[email protected]> Wed, 22 May 2013 12:35:10 +1200
Newsgroups gmane.comp.java.netbeans.reviewers
Message-ID <[email protected]>
NB flags beans.xml as required, though at CDI 1.1 an empty one is not 
required
https://netbeans.org/bugzilla/show_bug.cgi?id=229078

Problem: beans.xml is optional since CDI 1.1 / EE7 and our editor hint 
incorrectly marks class as erroneous and suggests to create beans.xml

Fix: check presence of some CDI 1.1 class on classpath and based on that 
disable editor hint

Risk: low

Diff: http://hg.netbeans.org/main-silver/rev/2f5088bd761c

Thanks,
-david