IRC Archive for channel #xwiki on 17 June 2008

Last modified by Vincent Massol on 2012/10/18 18:30

xwikibot - (17/06/2008 08:59): Design.ImproveWikiAdministrationLayout3 was modified by xwiki:XWiki.jvdrean - http://dev.xwiki.org/xwiki/bin/view/Design/ImproveWikiAdministrationLayout3
xwikibot - (17/06/2008 09:00): Design.ImproveWikiAdministrationLayout3 was modified by xwiki:XWiki.jvdrean - http://dev.xwiki.org/xwiki/bin/view/Design/ImproveWikiAdministrationLayout3
xwikibot - (17/06/2008 09:19): DevGuide.DataModel was modified by XWiki.XWikiGuest (Rollback to version 5.1) - http://platform.xwiki.org/xwiki/bin/view/DevGuide/DataModel
asyd - (17/06/2008 10:02): hello there
asyd - (17/06/2008 10:03): how to remove a property from an object?
asyd - (17/06/2008 11:16): hello vmassol 
asyd - (17/06/2008 11:17): anyone from xwiki france?
asyd - (17/06/2008 11:18): thomasmortagne: jvdrean jvdrean ? 
asyd - (17/06/2008 11:18): it's about RMLL 
xwikibot - (17/06/2008 11:42): XWiki.MattisManzel was modified by XWiki.MattisManzel - http://www.xwiki.org/xwiki/bin/view/XWiki/MattisManzel
xwikibot - (17/06/2008 12:04): XWiki.AshokVignesh was modified by XWiki.AshokVignesh (Created user) - http://www.xwiki.org/xwiki/bin/view/XWiki/AshokVignesh
xwikibot - (17/06/2008 12:47): XWiki.ole was modified by XWiki.ole (Created user) - http://www.xwiki.org/xwiki/bin/view/XWiki/ole
asyd - (17/06/2008 14:24): hello guys. I'm trying to write a query to retrieve all pages which use a specific class, while the following sql erquest is ok, i'm not able to translate the query in macro
asyd - (17/06/2008 14:26): select xwo_name from xwikiobjects where xwo_classname = 'XWiki.ServerClass
asyd - (17/06/2008 14:28): ah my bad, there is an example to achieve that
asyd - (17/06/2008 14:29): howoever I'm wondering where I can get doc about sqldb and dbnamed which can be used in velocity macros
amelentev - (17/06/2008 14:36): thomasmortagne, I have NPE at XWikiCacheStore.loadXWikiDoc:205
amelentev - (17/06/2008 14:36): because of doc = getCache().get(key); so doc = null
amelentev - (17/06/2008 14:47): anyway new cache breaks all core tests
amelentev - (17/06/2008 14:47): because there is no component manager in them
sdumitriu - (17/06/2008 15:04): news
xwikibot - (17/06/2008 15:04): Last 5 pages modified:
xwikibot - (17/06/2008 15:04):   * IRC.xwikiArchive20080617 - http://dev.xwiki.org/xwiki/bin/view/IRC/xwikiArchive20080617, by XWiki.XWikiGuest
xwikibot - (17/06/2008 15:04):   * XWiki.ole - http://www.xwiki.org/xwiki/bin/view/XWiki/ole, by XWiki.ole (Created user)
xwikibot - (17/06/2008 15:04):   * XWiki.AshokVignesh - http://www.xwiki.org/xwiki/bin/view/XWiki/AshokVignesh, by XWiki.AshokVignesh (Created user)
xwikibot - (17/06/2008 15:04):   * XWiki.MattisManzel - http://www.xwiki.org/xwiki/bin/view/XWiki/MattisManzel, by XWiki.MattisManzel
xwikibot - (17/06/2008 15:04):   * DevGuide.DataModel - http://platform.xwiki.org/xwiki/bin/view/DevGuide/DataModel, by XWiki.XWikiGuest (Rollback to version 5.1)
thomasmortagne - (17/06/2008 15:17): amelentev: sorry there I was in a big meeting then lunch, I'm looking
amelentev - (17/06/2008 15:18): I fixed NPE
amelentev - (17/06/2008 15:19): but many core tests fails because of no component manager
asyd - (17/06/2008 15:22): vmassol: ping?
tmortagne - (17/06/2008 15:43): there is lots of unit tests which should not need cache and XWikiCacheStore and correctly configure mock in place...
tmortagne - (17/06/2008 15:55): the problem is that all tests which need XWiki call its constructor which make a lot of store access even the tests does not really need more than a empty XWiki object
tmortagne - (17/06/2008 16:09): I see two solutions :
tmortagne - (17/06/2008 16:09): 1) add an empty XWiki constructor
tmortagne - (17/06/2008 16:10): 2) all unit tests need to be based on shared-tests abstract test class
tmortagne - (17/06/2008 16:10): I prefer 1) as it will speed up the tests a lot
tmortagne - (17/06/2008 16:11): or 3) separate XWiki constructor and XWiki initialization which is even cleaner
asyd - (17/06/2008 16:11): in a class, it is possible to have a field  (like database list) where the requests include the value of one another field of the same class?
asyd - (17/06/2008 16:12): For example, I create a server class, and a field to choose the operating system
asyd - (17/06/2008 16:12): I would have a field which display a list of available version regarding the OS
asyd - (17/06/2008 16:12):  
amelentev - (17/06/2008 16:18): tmortagne, +1 to 3). we need constructor without environment deps
tmortagne - (17/06/2008 16:18): Its the one I prefer too
jvdrean - (17/06/2008 16:22): asyd: AFAIK there's no simple answer to this need
jvelociter - (17/06/2008 16:22): +1 for 3)
jvdrean - (17/06/2008 16:22): tmortagne: 3) looks nicer
asyd - (17/06/2008 16:23): ok, thanks
jvdrean - (17/06/2008 16:27): sinon concernant une pres chez linagora ça nous interresse
asyd - (17/06/2008 16:27): ok
asyd - (17/06/2008 16:27): je pourrais parler ce que je suis en train de faire :)
jvdrean - (17/06/2008 16:27): oops, wrong window
asyd - (17/06/2008 16:28): :)
amelentev - (17/06/2008 17:02): vmassol_, how about to add "<default-lifecycle-handler-id>xwiki</default-lifecycle-handler-id>" to all plexus.xml ? This works for me
vmassol_ - (17/06/2008 17:02): sorry in a meeting right now
amelentev - (17/06/2008 17:04): ok
steffen - (17/06/2008 17:25): Hello
vmassol - (17/06/2008 21:49): amelentev: yes this sounds a good idea (the default lifecycle handler thing).
xwikibot - (17/06/2008 22:08): FAQ.HowDoIEditTheXWikiLoginPage was modified by xwiki:XWiki.VincentMassol (Added comment) - http://www.xwiki.org/xwiki/bin/view/FAQ/HowDoIEditTheXWikiLoginPage
amelentev - (17/06/2008 22:08): vmassol, why we need so many similar plexus.xml ? Can we put just one in xwiki-plexus module ?
vmassol - (17/06/2008 22:08): amelentev: there's just one plexus.xml
vmassol - (17/06/2008 22:08): the right location is platform/web
vmassol - (17/06/2008 22:09): (where it is now)
vmassol - (17/06/2008 22:09): you can't put it in xwiki-plexus since this file is about using plexus for a given product (i.e. assembly of components)
vmassol - (17/06/2008 22:10): the most common part for all our products is currently platform/web.
vmassol - (17/06/2008 22:10): in the future we might even have to move it to each products build
amelentev - (17/06/2008 22:10): where is plexus.xml also in rendering, cache and shared-tests
vmassol - (17/06/2008 22:10): these are for tests only
vmassol - (17/06/2008 22:10): they're not the same
amelentev - (17/06/2008 22:11): ok
vmassol - (17/06/2008 22:11): each test can have its own plexus.xml since it depends how you want to assemble your components
vmassol - (17/06/2008 22:11): however it's true that I'd like to factorize some common parts but I don't know yet how to do that
vmassol - (17/06/2008 22:11): check the rendering's plexus.xml file
vmassol - (17/06/2008 22:11): you'll see it adds other components 
vmassol - (17/06/2008 22:11): compared to platform/web
vmassol - (17/06/2008 22:12): for the cache it's been added by thomas and I agree we should share the plexus.xml file in shared-tests
vmassol - (17/06/2008 22:12): which should be used by the cache anyway
vmassol - (17/06/2008 22:12): same for rendering I think
amelentev - (17/06/2008 22:12): but components should be in components.xml. Isn't ly?
vmassol - (17/06/2008 22:13): yes that'd probably work
vmassol - (17/06/2008 22:13): components can be in both but yes we should try using components.xml in tests and put plexus.xml in shared tests
vmassol - (17/06/2008 22:13): s/in tests/in specific tests
vmassol - (17/06/2008 22:14): I agree with you
amelentev - (17/06/2008 22:16): I'll try to remove plexus.xml in rendering and cache
vmassol - (17/06/2008 22:24): ok thanks
asyd - (17/06/2008 22:36): is there a plugin to enable syntax hilighting (like java code, xml, etc.)?
amelentev - (17/06/2008 23:33): application-manager build is broken by new cache
amelentev - (17/06/2008 23:41): asyd, see http://code.xwiki.org/xwiki/bin/view/Macros/CodeMacro
xwikibot - (17/06/2008 23:57): XWiki.ivalum21 was modified by XWiki.ivalum21 (Created user) - http://www.xwiki.org/xwiki/bin/view/XWiki/ivalum21

Get Connected