Le dimanche 24 janvier 2010 à 20:50 +0100, Vincent Massol a écrit :
> Hi Olivier,
> 
> On Jan 23, 2010, at 7:55 PM, Olivier Berger wrote:
> 
> > Hi.
> > 
> > If I get it right, nowadays, development of Java plugins/add-ons for
> > XWiki is done through Plexus components.
> 
> Nope :)
> 
> They are done through XWiki components. See 
> http://code.xwiki.org/xwiki/bin/view/Modules/ComponentModule
> 

Ah... would it be possible to update the docs and somehow then get rid
of the old tutorial that mentions several times Plexus (or at least no
longer reference it from the dev guides) ?

Also, I'd suggest to no longer point to Plexus docs from the first
sentence in http://code.xwiki.org/xwiki/bin/view/Modules/ComponentModule
which are somehow misleading.

> > Is there a way ATM to setup easily a HelloWorld component development
> > project in Eclipse, in order to be able to learn and test such component
> > development ?
> 
> Sure it's very easy. You don't need to do anything. I do XWiki component dev 
> in Eclipse and IDEA.

What's IDEA ?

Is there a Howto ? 

Think about newbees ;) You're probably very much aware of
component-oriented development, but there are lots of folks that come
from the LAMP world you know ;)

> > 
> > It seems that the maven archetype is quite outdated, and I couldn't find
> > examples on what needs to be configured in such a Java+Maven project to
> > make it work.
> > 
> > Annotations support for instance doesn't seem trivial to activate for me
> > (Java and Eclipse beginner).
> 
> Annotations is supported by default in eclipse since it's a java 5 feature.
> 

Is there some configuration required in the Eclipse project to support
that ?

> > Also, as the Plexus archetype on codehaus is in no better shape (can't
> > even be installed with maven), it doesn't help a lot.
> 
> You shouldn't use that since we're not using Plexus (we were using it several 
> months ago though but it was always under the hood and not exposed in any 
> API).
> 
> Please don't hesitate to post more specific questions if you need help. Right 
> now the best doc is:
> http://code.xwiki.org/xwiki/bin/view/Modules/ComponentModule
> 

OK, thanks, I'll have a look at it again and start over my attempts to
write a HelloWorld component.

> Thanks and enjoy!
> -Vincent
> 
> PS: Feedback on component dev in xwiki is most welcome so that we can improve 
> stuff even further.

Thanks.

Best regards,
-- 
Olivier BERGER <olivier.ber...@it-sudparis.eu>
http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 1024D/6B829EEC
Ingénieur Recherche - Dept INF
Institut TELECOM, SudParis (http://www.it-sudparis.eu/), Evry (France)

_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to