On 14 Jan 2014 at 10:16:05, Caleb James DeLisle 
(c...@hyperboria.ca(mailto://c...@hyperboria.ca)) wrote:

> No it's actually 2 jars which is the problem.

That’s not a problem!

I guess one JAR is using the other one. Just publish both JARs in the xwiki 
repository (see http://contrib.xwiki.org) and then only import the topmost JAR 
on http://extensions.xwiki.org (for example) and document it (or import both 
JARs if you want/need to expose both).

Thanks
-Vincent

> Thanks,
> Caleb
>  
> On 01/13/2014 06:59 PM, vinc...@massol.net wrote:
> > On 13 Jan 2014 at 18:53:59, Caleb James DeLisle 
> > (c...@hyperboria.ca(mailto://c...@hyperboria.ca)) wrote:
> >  
> >> On 01/13/2014 06:33 PM, vinc...@massol.net wrote:
> >>> Hi Caleb
> >>>
> >>> On 13 Jan 2014 at 18:17:29, Caleb James DeLisle 
> >>> (c...@hyperboria.ca(mailto://c...@hyperboria.ca)) wrote:
> >>>
> >>>> Hi,
> >>>>
> >>>> I just finished working on XWiki/WebSocket integration which allows
> >>>> components which implement XWikiWebSocketHandler and they will be called
> >>>> when a user creates a WebSocket connection to the wiki.
> >>>
> >>> cool
> >>>
> >>>> Now I'd like some permission and guidance on getting this published as an
> >>>> extension, unfortunately I was a little bit too modular so I can't just
> >>>> upload a .jar and I will have to publish this in maven.xwiki.org
> >>>
> >>> How do you install your extension if you have to do it manually?
> >>  
> >>  
> >> mvn clean install && find ./ -name '*.jar' -exec cp {} 
> >> ${XWIKI_HOME}/webapps/xwiki/WEB-INF/lib/ \;
> >  
> > So it means it’s just a JAR... Why then did you say “I was a little bit too 
> > modular so I can't just upload a .jar”? If it’s just JAR it’s very simple 
> > to publish on e.x.o and have users install it using the EM.
> >  
> > Thanks
> > -Vincent
> >  
> >> I probably ought to document that but hopefully I can get it in the EM so 
> >> it's not needed.
> >>  
> >> Thanks,
> >> Caleb
> >>  
> >>>
> >>>> What do people think about transferring this to xwiki-contrib
> >>>
> >>> +1
> >>>
> >>>> and can anyone
> >>>> give me some advice about publishing an extension through maven?
> >>>
> >>> http://contrib.xwiki.org
> >>>
> >>>> For reference, this is the code:
> >>>> https://github.com/cjdelisle/xwiki-contrib-websocket
> >>>
> >>> Thanks
> >>> -Vincent
> >>>
> >>>> Thanks,
> >>>> Caleb
_______________________________________________
devs mailing list
devs@xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to