Hi, It might be smart to put this Shale code in a separate project. For example in Commons, since there are several Apache projects that need to scan for annotations, like EJB3 and JPA projects.
Jan-Kees Gerhard Petracek wrote: > > hello mario, > > sounds good to me > > regards, > gerhard > > > > 2009/1/7 Mario Ivankovits <ma...@ops.co.at> > >> Hi! >> >> > But there are some issues with this: >> > First, what paths to scan? AFAIK the spec doesn't state the classpaths >> > to scan. I suppose only /WEB-INF/lib and /WEB-INF/classes need to be >> > checked, but I can't find it in the spec. >> >> What ever the spec says, we definitely should provide a configuration >> parameter in web.xml where one can configure the packages to scan, else >> startup times of your webapp will be VERY bad. >> >> I had this in the past with shale-annotation. >> >> There I added such configuration already. We can strip the >> scanning/parsing >> out there - I'll contribute if required. >> >> Ciao, >> Mario >> > > -- View this message in context: http://www.nabble.com/Scanning-for-annotated-classes-in-MyFaces-2-tp21318418p21326014.html Sent from the My Faces - Dev mailing list archive at Nabble.com.