[JBoss JIRA] Created: (JBIDE-7035) JBoss tools usage reporting should report components on behalf of the features
by Andre Dietisheim (JIRA)
JBoss tools usage reporting should report components on behalf of the features
------------------------------------------------------------------------------
Key: JBIDE-7035
URL: https://jira.jboss.org/browse/JBIDE-7035
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: usage
Affects Versions: 3.2.0.M2
Reporter: Andre Dietisheim
Assignee: Andre Dietisheim
Fix For: 3.2.0.M2
JBoss Tools usage reporting currently reports the presence of certain components (ex. hibernate tools, smooks, etc.). The presence of certain components is determined on behalf of custom definitions that were created by hand. Ex. Hibernate tools is detected if one of the following plugins is present:
HIBERNATETOOLS("org.hibernate.eclipse",
"org.hibernate.eclipse.console",
"org.hibernate.eclipse.help",
"org.hibernate.eclipse.jdt.apt.ui",
"org.hibernate.eclipse.jdt.ui",
"org.hibernate.eclipse.mapper",
"org.jboss.tools.hibernate.jpt.core",
"org.jboss.tools.hibernate.jpt.ui",
"org.jboss.tools.hibernate.ui",
"org.jboss.tools.hibernate.xml",
"org.jboss.tools.hibernate.xml.ui")
These enums are in JBossBundleGroups and should be maintained by hand which is tedious. It should be far more convenient and sufficient to check the presence of certain features instead of the current solution.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 6 months
[JBoss JIRA] Created: (JBIDE-6955) Erroroneous error about CDI observer method on session bean
by Pete Muir (JIRA)
Erroroneous error about CDI observer method on session bean
-----------------------------------------------------------
Key: JBIDE-6955
URL: https://jira.jboss.org/browse/JBIDE-6955
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: cdi (jsr-299)
Affects Versions: 3.2.0.M1
Reporter: Pete Muir
Assignee: Alexey Kazakov
Given this bean
@Singleton
public class CodeFragmentLogger
{
private final List<CodeFragment> log;
public CodeFragmentLogger()
{
this.log = new ArrayList<CodeFragment>();
}
@Lock(LockType.WRITE)
public void addEntry(@Observes CodeFragment codeFragment)
{
this.log.add(codeFragment);
}
}
JBoss Tools adds an error, saying "Non-static method of a session bean class has a parameter annotated @Observes, and the method is not a business method of the EJB"
For a start, I think this should say "Non-static method <method name> of session bean <bean class>..."
Also, of course, this error is erroneous, the method *is* a business method of the EJB.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 6 months
[JBoss JIRA] Created: (JBIDE-6957) Erroneous error about decorators and delegate types
by Pete Muir (JIRA)
Erroneous error about decorators and delegate types
---------------------------------------------------
Key: JBIDE-6957
URL: https://jira.jboss.org/browse/JBIDE-6957
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: cdi (jsr-299)
Affects Versions: 3.2.0.M1
Reporter: Pete Muir
Assignee: Alexey Kazakov
Given a decorator like
@Decorator
public abstract class FloodingDecorator implements CodeFragmentManager, Serializable
{
private static final long serialVersionUID = -4615837206290420112L;
@Inject @Delegate
private CodeFragmentManager codeFragmentManager;
}
JBoss Tools errors, telling me "The delegate type must implement or extend the decorated type Serializable [JSR-299 §8.1.3]"
However, it doesn't have to implement serializable - the delegate type must be one of the decorated types, not all of them
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 6 months