Hi!

On Thu, Aug 13, 2009 at 09:55, Niklas Gustavsson<[email protected]> wrote:
> On Thu, Aug 13, 2009 at 9:41 AM, Michael Jakl<[email protected]> wrote:
>> My program needs this:
>> http://github.com/squaremo/smackx-pubsub/tree/master
>> with its "special" install procedure. Maybe we could upload this one and its
>> dependencies to Niklas' private Maven repo?
>
> Sure, I'll have a go at building it now and see if I can upload it.
> The only runtime dependencies seems to be smack and smackx, both which
> was yesterday uoloaded into Maven central. So I will remove them from
> the temporary repo.

Thanks!

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.

>> Second, for Vysper to load my module, I'd need to give it a parameter. This
>> requires that the pubsub module is on the classpath (pubsub needs vysper-core
>> for building, but vysper-core needs pubsub for running if we want to load the
>> pubsub module).
>
> I'm assuming you want to load the Pubsub module into ServerMain in
> vysper-core? If so, I think your out of luck since Maven can not
> handle a circular dependency (well, it can, but it's ugly and will be
> confusing). Could you use the Spring integration for this?

Yes, currently I simply pass a VM parameter which dynamically loads
the module if it is on the classpath.

I could also look at the Spring integration, but how does Spring
change the need for having both jars on the classpath?

Michael

Reply via email to