Return-Path: Delivered-To: apmail-mina-dev-archive@www.apache.org Received: (qmail 3939 invoked from network); 13 Aug 2009 08:26:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Aug 2009 08:26:34 -0000 Received: (qmail 36827 invoked by uid 500); 13 Aug 2009 08:26:41 -0000 Delivered-To: apmail-mina-dev-archive@mina.apache.org Received: (qmail 36760 invoked by uid 500); 13 Aug 2009 08:26:41 -0000 Mailing-List: contact dev-help@mina.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mina.apache.org Delivered-To: mailing list dev@mina.apache.org Received: (qmail 36750 invoked by uid 99); 13 Aug 2009 08:26:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Aug 2009 08:26:41 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jakl.michael@gmail.com designates 209.85.219.223 as permitted sender) Received: from [209.85.219.223] (HELO mail-ew0-f223.google.com) (209.85.219.223) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Aug 2009 08:26:31 +0000 Received: by ewy23 with SMTP id 23so587241ewy.8 for ; Thu, 13 Aug 2009 01:26:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=mjdba6vAZ0l/z+sxlI2C6/TuHcy/+64jjyaM0PxHjS8=; b=kIU4GQtsVaF8y6NW0cliM22sMeJ8Fzs5Dv4xxd6Ibvvr2xMXj9j0d7+qGpy2xr+Fm1 IyDtFSHAy/n3fnCRCkt8VmB06pxfShI9nKx3PmHvfcJMoC+XbqBWvcUMM9ixb4fW2+vY 0utipnaEJUJqToN5VWIPiU9ZXvggmzS7J1tJ4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=nnENu2Hw2Ka99/+8/7CdO3V6YEbr8+t/phn0pEbPhyAUnlb8gm9lqxGpA/7kKNvOTq ChZ86RoJJJTesp+IumFCiP78sbCkctgsxkeTMwQkB4Lpvg/3t02RdQKQRvxpEbxxAoSy hKdFqNAJ/9rqiwBvWpnb5i/M6lZy9hBydvgWI= MIME-Version: 1.0 Received: by 10.216.85.21 with SMTP id t21mr148461wee.87.1250151971111; Thu, 13 Aug 2009 01:26:11 -0700 (PDT) In-Reply-To: <8833dc800908130116j1b0a4753s14d5b28a0638e8b2@mail.gmail.com> References: <8833dc800908130055t3764da38jc2b2ceca455662de@mail.gmail.com> <8833dc800908130116j1b0a4753s14d5b28a0638e8b2@mail.gmail.com> From: Michael Jakl Date: Thu, 13 Aug 2009 10:25:51 +0200 Message-ID: Subject: Re: [vysper][pubsub] Demo application + Maven To: dev@mina.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi! On Thu, Aug 13, 2009 at 10:16, Niklas Gustavsson wrote: > On Thu, Aug 13, 2009 at 10:06 AM, Michael Jakl wrote: >> The smackx-pubsub has special versions of smack and smackx (also >> called 3.1.0). It *might* work with the stock libs, yet, the last time >> I tried I've had mysterious errors. > > Well, that's no good. Can you try again with the stock JARs? if that > doesn't work, can you find out what the differences are so that we can > keep patch of that. If really needed, I'll upload the custom ones with > a different version number. I'll try it tonight. >> Yes, currently I simply pass a VM parameter which dynamically loads >> the module if it is on the classpath. > > 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 Michael