2012/6/5 Jason Pyeron <[email protected]>: > 1: use the classloader as much as possible as it always works.
The problem here is that a path to a class isn't the same as a path to a jar > 2: the plugin searching will fail if the bootstrap process does not know how > to > "scan" the "filesystem" Yep, solved that by init-param > 3: use a "property" to pre load handler classes for a given environment. What do you mean by that ? I've used ini-param option in web.xml > 4: let every handler be a plugin as to remove the compile & runtime time > dependencies. I would like to add the same option, but the only problem I have now is how to allow users to override FileManagers defined by S2. I've introduced option to autodiscover if given FM supports [1] current fs but this blocks option to override FMs by users. Need to find a better solution. [1] https://svn.apache.org/repos/asf/struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/FileManager.java method support() Regards -- Łukasz mobile +48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
