On Wed, May 7, 2008 at 9:20 AM, Johan Compagner <[EMAIL PROTECTED]> wrote:
> if the scanning of the classpath is expensive (i guess all classes are > loaded that are scanned..) Hi, I guess you haven't read the docs completely :-) It says: "Note that Spring does not load the class to determine this information. Instead, it uses a meta-data reader to determine this (which is faster than going through class loading)." and also: "The class path scanning is very efficient by itself and limiting the search only makes it faster." regards, Maarten > > cant there be an option that the scanning is only done once? > When you create the jar so with maven/ant? > When creating the jar you are scanning everything and create a manifest > entries of all the packages. > those manifest entries are then read in when the jar is in the classpath > > johan > > > On Tue, May 6, 2008 at 9:33 PM, Doug Donohoe <[EMAIL PROTECTED]> wrote: > > > > > I am pleased to announce the 1.0 release of wicketstuff-annotation. > > > > Full documentation and explanation (e.g., what, why, how) is at the > > wicket-stuff wiki: > > > > > http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-annotation > > > > A short example is at the end of this email. > > > > I would like to thank Mr Mean and Martijn Dashorst for their assistance > in > > getting this project in TeamCity. The process was fairly painless > thanks > > to > > their work. > > > > Our pom.xml is pretty simple, is configured to generate javadoc and > > depends > > on wicketstuff-parent. It should be a good example for other > wicket-stuff > > projects (if they need one). > > > > Thanks, > > > > -Doug Donohoe > > > > Use wicketstuff-annotation to use Java Annotations and class path > > searching > > to mount your Wicket pages: > > > > ======================================================== > > @MountPath(path = "terms") > > public class Terms extends WebPage { ... } > > > > @MountPath(path = "terms") > > @MountMixedParam(parameterNames={"sport", "show"}) > > public class Dogs extends WebPage { ... } > > ======================================================== > > public class MyWicketApplication extends WebApplication > > { > > @Override > > protected void init() > > { > > new > > > AnnotatedMountScanner().scanPackage("com.acme.wicket.pages").mount(this); > > } > > } > > ======================================================== > > -- > > View this message in context: > > > http://www.nabble.com/-announce--wicketstuff-annotation-1.0-released-tp17090601p17090601.html > > Sent from the Wicket - User mailing list archive at Nabble.com. > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > >