jaikiran pai [http://community.jboss.org/people/jaikiran] replied to the discussion
"Fixing the EJB3 testsuite..."
To view the discussion, visit: http://community.jboss.org/message/533869#533869
--------------------------------------------------------------
Haven't looked at any changes around that recently, but my understanding is - if you add you hornetq jar (the one containing the missing classes) to the JBOSS_HOME/client folder (through AS_TRUNK/build/build.xml) then the rest of the build process automagically adds your jar to the ClassPath attribute of jbossall-client.jar. In short, the ClassPath attribute of jbossall-client.jar is autogenerated.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/533869#533869]
Start a new discussion in EJB 3.0 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
Ales Justin [http://community.jboss.org/people/alesj] replied to the discussion
"Servlet Scanner plugin"
To view the discussion, visit: http://community.jboss.org/message/533861#533861
--------------------------------------------------------------
> getAnnotatedClasses is for the usual EE annotations, some can be on field, method, type.
>
So, you don't care where it is? e.g. @RunAs on whole class vs. just on a method
In this case this signature will do:
/**
* Get annotated classes.
*
* @param cpEntry the classpath entry
* @param annotationToLookFor the annotation to look for
* @return set of annotated classes
*/
Set<Class<?>> getAnnotatedClasses(VirtualFile cpEntry, Class<? extends Annotation> annotationToLookFor);
Since you can do the merging/intersection/... yourself. ;-)
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/533861#533861]
Start a new discussion in JBoss Microcontainer Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
Ales Justin [http://community.jboss.org/people/alesj] replied to the discussion
"Servlet Scanner plugin"
To view the discussion, visit: http://community.jboss.org/message/533856#533856
--------------------------------------------------------------
> I am ok with your (a).
/**
* Get annotated classes.
*
* @param cpEntry the classpath entry
* @param annotationsToLookFor the annotations to look for
* @return set of annotated classes
*/
Set<Class<?>> getAnnotatedClasses(VirtualFile cpEntry, Set<Class<? extends Annotation>> annotationsToLookFor);
I still need more info in order to impl this.
* should I care where the annotation comes from; e.g. from class, method, field, parameter, meta-annotation, ...
* does the class have all annotations from annToLookFor or just one is enough
Same goes for inherited superTypesToLookFor.
* does the class have to inherit all or just one
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/533856#533856]
Start a new discussion in JBoss Microcontainer Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]