Last modified by Vincent Massol on 2012/10/18 19:23

Show last authors
1 00:20 <vmassol> has joined #xwiki
2 00:30 <vmassol> has quit
3 00:31 <abusenius> has quit
4 00:46 <jvelo> has joined #xwiki
5 00:55 <vmassol> has joined #xwiki
6 01:06 <vmassol> has quit
7 01:24 <Denis> has quit
8 01:31 <vmassol> has joined #xwiki
9 01:42 <vmassol> has quit
10 02:01 <SvenDowideit> has quit
11 02:01 <SvenDowideit> has joined #xwiki
12 02:07 <vmassol> has joined #xwiki
13 02:19 <vmassol> has quit
14 02:43 <vmassol> has joined #xwiki
15 02:53 <vmassol> has quit
16 03:18 <vmassol> has joined #xwiki
17 03:29 <vmassol> has quit
18 03:54 <vmassol> has joined #xwiki
19 04:04 <vmassol> has quit
20 04:31 <vmassol> has joined #xwiki
21 04:41 <vmassol> has quit
22 04:43 <tekzilla> has quit
23 04:45 <tekzilla> has joined #xwiki
24 05:06 <vmassol> has joined #xwiki
25 05:19 <vmassol> has quit
26 05:43 <vmassol> has joined #xwiki
27 05:55 <vmassol> has quit
28 06:19 <vmassol> has joined #xwiki
29 06:29 <vmassol> has quit
30 06:55 <vmassol> has joined #xwiki
31 07:07 <vmassol> has quit
32 07:14 <mflorea> has joined #xwiki
33 07:25 <SvenDowideit> has quit
34 07:28 <SvenDowideit> has joined #xwiki
35 07:31 <vmassol> has joined #xwiki
36 07:33 <jvelo> has quit
37 07:42 <vmassol> has quit
38 08:05 <vmassol> has joined #xwiki
39 08:20 <Denis> has joined #xwiki
40 08:28 <tmortagne> has joined #xwiki
41 08:45 <jvelo> has joined #xwiki
42 08:47 <coud4> has joined #xwiki
43 09:20 <mflorea> has quit
44 09:34 <jvdrean> has joined #xwiki
45 09:39 <Enygma`> has joined #xwiki
46 09:46 <evalica> has joined #xwiki
47 09:47 <+Enygma`> jvelo: so what was your problem regarding clirr yesterday? You`ve built it in another order than xwiki-commons, xwiki-rendering, xwiki-platform ?
48 09:49 <mflorea> has joined #xwiki
49 10:01 <jvelo> Enygma`: no
50 10:01 <jvelo> I built it in that order
51 10:01 <jvelo> lots of issues building platform
52 10:01 <jvelo> s/building/running the clirr check/
53 10:02 <jvelo> I ended up actually building commons
54 10:02 <jvelo> (after I've mixed manually some issues)
55 10:02 <jvelo> don't know if that made it work or not
56 10:03 <vmassol> jvelo: can you tell me how to reproduce the problems locally so that I have a look?
57 10:03 <+Enygma`> jvelo: if you lookt at Jenkins you will also see lots of ClassNotFound issues or dependencies issues for building platform or commons
58 10:04 <+Enygma`> maybe there`s a problem with the repos or something
59 10:07 <jvdrean1> has joined #xwiki
60 10:07 <jvelo> vmassol: you have to follow this : http://dev.xwiki.org/xwiki/bin/view/ReleasePlans/ReleasePlanHelp#HManually-1
61 10:08 <vmassol> gtg bb in 30mn, I'll try
62 10:08 <jvelo> for me this went well for commons, but not for platform
63 10:09 <jvelo> Enygma`: I see
64 10:09 <jvelo> that's odd
65 10:10 <jvelo> sburjan: when do you perform manual test for a release ?
66 10:11 <jvdrean> has quit
67 10:12 <jvelo> (c.f. http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki42#HTestReport )
68 10:15 <cjd> has quit
69 10:21 <+sburjan> jvelo: between RC1 and Final
70 10:21 <+sburjan> let me fix that
71 10:21 <jvelo> sburjan: OK it's just one for the RC/final
72 10:22 <+sburjan> the one wth RC1 is for final
73 10:27 <+sburjan> jvelo: done
74 10:33 <+mflorea> tmortagne: is there a way to load/initialize singleton components lazilly? I'm currently using the EmbeddableComponentManager and calling initialize throws exceptions because some components specified in components.txt cannot be initialized, but I'm not going to use them.
75 10:34 <+tmortagne> they are loaded/initialized lazily
76 10:35 <+tmortagne> EmbeddableComponentManager does not initialize anything at startup
77 10:35 <+mflorea> hmm, then why do I get exceptions when I call initialize() ?
78 10:35 <+tmortagne> except observation manager which it's using itself to send event
79 10:35 <+tmortagne> you probably have a listener which produce this
80 10:35 <+tmortagne> generally that's the issue
81 10:36 <+tmortagne> observation manager trigger all listeners
82 10:36 <+tmortagne> and some listener trigger other things, etc.
83 10:36 <+mflorea> hmm, I don't think I have a listener, because I haven't initialized the OM
84 10:36 <+tmortagne> not you
85 10:36 <+mflorea> let me show you the stack trace
86 10:36 <+tmortagne> EmbeddableComponentManager use OM
87 10:36 <+tmortagne> to send event about component it registered
88 10:37 <+tmortagne> but that's the only component initialized
89 10:37 <+tmortagne> but it's initialized after everything is registered
90 10:38 <+mflorea> http://pastebin.com/XrjfSLpS
91 10:38 <+mflorea> note that the only thing I do is:
92 10:38 <+mflorea> componentManager = new EmbeddableComponentManager();
93 10:38 <+mflorea> componentManager.initialize(this.getClass().getClassLoader());
94 10:39 <+mflorea> I'm not inside XWiki
95 10:39 <+mflorea> I'm trying to create a demo war for WYSIWYG + XWiki Rendering
96 10:40 <+tmortagne> mflorea: your stack trace does not have anything to do with a component
97 10:41 <+tmortagne> it's telling you that it can't parse one of the class from component.txt
98 10:41 <+tmortagne> because it reference a class that does not exists
99 10:41 <+tmortagne> it does not initialize it
100 10:41 <+tmortagne> it just read the class to extract the component descriptor from it
101 10:42 <+mflorea> so it loads the class right?
102 10:42 <+mflorea> I mean, it tries to load the class
103 10:42 <+tmortagne> only the class
104 10:42 <+tmortagne> it doe snot create an instance
105 10:42 <+mflorea> ok, even if I don't need the class
106 10:42 <+tmortagne> you do need the class
107 10:42 <+tmortagne> because it's listed as a component to register
108 10:43 <+tmortagne> it has to find it's role, dependencies etc. to properly register it
109 10:43 <+mflorea> sure, but my lazy loading I mean, use this class only if needed
110 10:43 <+tmortagne> mflorea: it's not that simple
111 10:43 <eshan> has joined #xwiki
112 10:43 <+tmortagne> if you don'ty knoww the role how are you going to load this component ?
113 10:43 <+tmortagne> you have to find the role at startup to put the component in a map
114 10:43 <+mflorea> hmm, right, I see
115 10:44 <+mflorea> ok, I have to rethink my plan :) thanks
116 10:45 <+tmortagne> it's really that important to not have the commons-context jar in your classpath ?
117 10:46 <+tmortagne> you probably need to separate the WYSIWYG server module in two
118 10:47 <+tmortagne> one without any context concept and one with it
119 10:47 <+mflorea> I'm trying to keep WEB-INF/lib small, it already has 30 something deps, coming from xwiki-commons-component-default, xwiki-rendering-syntax-xwiki21 and xwiki-commons-xml
120 10:47 <+tmortagne> like we have a rendering-xwiki module on platform side to add stuff we do'nt want in base rendeing
121 10:47 <+mflorea> yes, that is the clean solution, but for now I'll just overwrite that class in my war, in WEB-INF/classes
122 10:47 <+tmortagne> that's a good thing to do anyway to move the WYSIWYG to rendering
123 10:48 <+tmortagne> or to it's own repo
124 10:49 <+mflorea> there are a couple of refactorings that could be done on the WYSIWYG module, but I just want to make a quick demo for now :)
125 10:49 <+tmortagne> ok
126 11:01 <+Enygma`> xwiki-platform is failing because of a clirr error: http://ci.xwiki.org/job/xwiki-platform/2616/consoleFull
127 11:02 <+Enygma`> this commit https://github.com/xwiki/xwiki-platform/commit/9d00d822615840f1b27c753091b8c75aca9d58ed has been pushed between 4.2RC1 and 4.2Final but only on the master branch, so it is not present in 4.2Final
128 11:03 <+mflorea> [ERROR] com.xpn.xwiki.plugin.mailsender.MailSender: Method 'public int sendMessageFromTemplate(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Map)' has been removed
129 11:03 <+mflorea> I guess Sergiu reverted the commit only from master
130 11:03 <+Enygma`> yes, that method was added before 4.2RC1 and then removed before 4.2Final
131 11:03 <+Enygma`> right...
132 11:04 <+Enygma`> so we either go ahead and add an exception for it, or, if jvelo is not yet done with the release, we could re-release xwiki-platform with the commit included
133 11:04 <+mflorea> or add the method to master again, if it's useful
134 11:05 <+Enygma`> right, as in revert this recent commit
135 11:06 <jvelo> has quit
136 12:37 <mflorea> has quit
137 12:48 <npm_> has quit
138 12:49 <npm_> has joined #xwiki
139 13:40 <mflorea> has joined #xwiki
140 14:16 <eshan> has quit
141 15:41 <jvelo> has joined #xwiki
142 16:15 <jvelo> has quit
143 16:37 <vmassol> has quit
144 16:39 <vmassol> has joined #xwiki
145 17:00 <jvelo> has joined #xwiki
146 17:03 <jvelo> Hi guys. FYI I'll finish the 4.2 release tonight (ANN, blog, etc.) as I am spending the day in trains
147 17:07 <jvelo> has quit
148 17:11 <vmassol> ok
149 17:19 <jvelo> has joined #xwiki
150 17:24 <evalica> has quit
151 17:25 <Denis> has quit
152 17:29 <Enygma`> has quit
153 17:29 <jvelo> has quit
154 17:34 <tmortagne> has quit
155 18:16 <jvelo> has joined #xwiki
156 18:33 <jvelo> has quit
157 18:54 <mflorea> has quit
158 19:08 <abusenius> has joined #xwiki
159 19:39 <jvdrean1> has quit
160 20:29 <polx> has joined #xwiki
161 20:41 <polx> Hello XWiki experts, I just found out that start and stop of a cache is equivalent to flushCache. Is that right?
162 20:41 <polx> (over JMX I mean)
163 20:44 <vmassol> has quit
164 20:47 <vmassol> has joined #xwiki
165 21:33 <coud4> has quit
166 21:53 <polx> has quit
167 21:54 <polx> has joined #xwiki
168 21:54 <jvelo> has joined #xwiki
169 21:54 <jvelo> has quit
170 22:30 <polx> has quit
171 22:49 <vmassol> has quit
172 23:08 <polx> has joined #xwiki
173 23:20 <vmassol> has joined #xwiki
174 23:24 <vmassol> has quit
175 23:46 <abusenius> has quit
176 23:50 <vmassol> has joined #xwiki
177 23:59 <vmassol> has quit

Get Connected