On Thu, Aug 13, 2009 at 10:25 AM, Michael Jakl<[email protected]> wrote: >> How does that handle passing a parameter? > > ServerMain[1] checks if a property "vysper.add.module" is present and > loads the given class, and finally adds it as a module to the server. > > I start the server (something) like this: > java ServerMain -Dvysper.add.module=org.apache.....xep0060_pubsub.PubSubModule > > 1: > http://svn.apache.org/viewvc/mina/sandbox/vysper/trunk/server/core/src/main/java/org/apache/vysper/xmpp/server/ServerMain.java?revision=800455
Right, I understood by "parameter" to you needed to set something on the module (like in the constructor or in a setter method) on addition. But I now think I misunderstood. So, this should not affect the build at all right, this seems to be something you do at runtime (at which time Maven would not normally be used). Or, do you want Maven to launch the server for you? I'm confused :-) /niklas
