IRC Archive for channel #xwiki on 13 December 2012

Last modified by Vincent Massol on 2012/12/13 23:52

<xwikibot> has joined #xwiki
00:49 <fmancinelli> has quit
01:17 <jvdrean> has quit
02:14 <sburjan`> has quit
02:16 <vanaltj_> has joined #xwiki
02:18 <vanaltj> has quit
02:34 <vanaltj_> is now known as <vanaltj>
03:27 <tekzilla> has quit
03:29 <tekzilla> has joined #xwiki
07:31 <mflorea> has joined #xwiki
07:33 <tillo> has quit
07:33 <tillo> has joined #xwiki
07:34 <tillo> is now known as <tillo_>
07:34 <tillo_> is now known as <tillo>
07:59 <vmassol> has joined #xwiki
08:32 <xwikibot> has joined #xwiki
09:19 <xwikibot> has joined #xwiki
09:23 <jvelo> has left #xwiki
09:40 <xwikibot> has joined #xwiki
09:41 <jvelo> has joined #xwiki
10:10 <tdelafosse> has joined #xwiki
10:20 <msmeria> has quit
10:33 <msmeria> has joined #xwiki
10:35 <fmancinelli> has joined #xwiki
11:30 <Enygma`> has joined #xwiki
11:32 <vmassol> going to start preparing for the 4.4M1release
11:38 <Denis> has joined #xwiki
11:42 <evalica> has joined #xwiki
11:55 <vmassol> version in jira created up to 5.0M1 and dates set
11:55 <vmassol> s/version/versions
11:55 <vmassol> mflorea: could you move the issues you're assigned to ?
11:56 <vmassol> mflorea: wdyt of moving http://jira.xwiki.org/browse/XWIKI-7374 to 5.0M1?
11:56 <vmassol> I don't think we'll have the time in 4.5, ?yt?
11:56 <vmassol> wdyt?
11:56 <mflorea> vmasol: yes, 5.0M1
12:05 <vmassol> Enygma`: you have stuff to fix for 4.4M1 release?
12:07 <vmassol> mflorea: only issues assigned to you remain now for 4.4M1, can you please move them into 4.4RC1 or 4.5M1 ?
12:07 <vmassol> and keep the ones for 4.4M1 if there's any :)
12:10 <sburjan> has joined #xwiki
12:13 <mflorea> vmassol: ok
12:26 <xwikibot> has joined #xwiki
12:27 <vmassol> ok release notes done for 4.4M1, please check it's ok: http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki44M1
12:31 <ldubost> Another question. I'll have some html/js code that I will package as a zip (this I know you can do with maven and I plan to call that module js). Now my objective would be to make that zip and attachment to an XWiki page from the wiki module
12:31 <ldubost> Is there a way to do that ?
12:32 <ldubost> if yes, what do I need to put in my pom, if not what could be an alternate strategy knowing that I need to make this zip available for the Wiki Macro to use it
12:34 <vmassol> ldubost: I think you need to use our xmldoc-update-plugin
12:34 <ldubost> vmassol: any usage example ?
12:35 <vmassol> you can check xwiki-platform-workspaces-ui module
12:35 <vmassol> it's using it
12:35 <vmassol> or wiki-manager-ui in the manager git repo
12:36 <vmassol> jvelo coded this plugin AFAIR
12:36 <vmassol> it has an "attach" goal
12:37 <vmassol> now I'm not saying if that's the best way for your use case but I kjow it'll allow you to add some attachment to a page during the build
12:38 <ldubost> sounds right this module
12:38 <ldubost> will try
12:40 <Slashman> has joined #xwiki
12:43 <ldubost> And what is the simplest way to package the content of src/main/ressources inside a zip file as the target of a maven build ?
12:45 <vmassol> assembly plugin
12:45 <vmassol> you'll need 2 modules
12:52 <ldubost> I've done this
12:52 <ldubost> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
12:52 <ldubost>    <groupId>org.xwiki.contrib</groupId>
12:52 <ldubost>    <artifactId>xwiki-macro-pdf-parent</artifactId>
12:52 <ldubost>   </parent>
12:52 <ldubost>   <artifactId>xwiki-macro-pdf-js</artifactId>
12:52 <ldubost>   <name>XWiki Macro - PDF Viewer - Javascript</name>
12:52 <ldubost>   <version>1.0-SNAPSHOT</version>
12:52 <ldubost>   <build>
12:53 <ldubost>       <plugin>
12:53 <ldubost>         <groupId>org.apache.maven.plugins</groupId>
12:53 <ldubost>           <descriptors>
12:53 <ldubost>           </descriptors>
12:53 <ldubost>         </configuration>
12:53 <ldubost>     </plugins>
12:53 <ldubost> </project>
12:53 <ldubost> <assembly>
12:53 <ldubost>   <id>pdfviewer</id>
12:53 <ldubost>   <formats>
12:53 <ldubost>     <format>zip</format>
12:53 <ldubost>   </formats>
12:53 <ldubost>   <includeBaseDirectory>true</includeBaseDirectory>
12:53 <ldubost>   <fileSets>
12:53 <ldubost>     <fileSet>
12:53 <ldubost>       <directory>${basedir}/src/main/ressources</directory>
12:53 <ldubost>       <outputDirectory></outputDirectory>
12:53 <ldubost>     </fileSet>
12:53 <ldubost>   </fileSets>
12:53 <ldubost> </assembly>
12:53 <ldubost> <assembly>
12:53 <ldubost>   <id>pdfviewer</id>
12:53 <ldubost>   <formats>
12:53 <ldubost>     <format>zip</format>
12:53 <ldubost>   </formats>
12:53 <ldubost>   <includeBaseDirectory>true</includeBaseDirectory>
12:53 <ldubost>   <fileSets>
12:53 <ldubost>     <fileSet>
12:53 <ldubost>       <directory>${basedir}/src/main/ressources</directory>
12:53 <ldubost>       <outputDirectory></outputDirectory>
12:53 <ldubost>     </fileSet>
12:53 <ldubost> </assembly>
12:53 <ldubost> <assembly>
12:53 <ldubost>   <id>pdfviewer</id>
12:53 <ldubost>   <formats>
12:54 <ldubost>     <format>zip</format>
12:54 <ldubost>   </formats>
12:54 <ldubost>   <fileSets>
12:54 <ldubost>     <fileSet>
12:54 <ldubost>       <directory> basedir  /src/main/ressources</directory>
12:54 <ldubost>       <outputDirectory></outputDirectory>
12:54 <ldubost>     </fileSet>
12:54 <ldubost>   </fileSets>
12:54 <ldubost> </assembly>
12:54 <ldubost> interesting.. I don't see my last message and the IRC bit does not like it
12:57 <vmassol> ldubost: please don't copy/paste here
12:57 <Enygma`> wouldn`t it be simpler to just use zip packaging for the maven artefact?
12:57 <vmassol> you need to use pastebin or other tools like this gist too
12:57 <ldubost> ok
12:57 <vmassol> there's no zip packaging
12:58 <vmassol> lunch, bbl
13:00 <Enygma`> yeah, wonder why I remember one existing... guess not then.
13:11 <ldubost> If I remember correctly there is a maven command to clean xwiki xml files for commit but I cannot find the documentation
13:17 <vmassol> mvn xar:format
13:18 <vmassol> (ldubost)
13:18 <ldubost> should this be somewhere on xwiki.org ?
13:19 <ldubost> http://dev.xwiki.org/xwiki/bin/view/Community/CodeStyle -> XWiki XML Files ?
13:20 <vmassol> yes good idea, I'll add it
13:20 <ldubost> already doing it
13:21 <ldubost> done.. you can take it from there
13:23 <sburjan> is xwiki.org down ?
13:24 <cjd> how long have we been using infinispan cache? does anyone know?
13:26 <mrvanes> has joined #xwiki
13:31 <vmassol> ldubost: done, see http://dev.xwiki.org/xwiki/bin/view/Community/Building#HGeneratingaXAR
13:32 <vmassol> cjd: http://jira.xwiki.org/jira/browse/XWIKI-5172
13:32 <cjd> thanks
13:33 <cjd> I can't figure out why attachments are not caching correctly
13:36 <vmassol> evalica: hi, could you check the home page http://www.xwiki.org/xwiki/bin/view/Main/WebHome it's missing a macro
13:37 <evalica> vmassol: there is nothing I can do - that problem appeared several times. The macros exists. It cames back after a restart or something.
13:39 <vmassol> evalica: where is it? can't find it
13:40 <evalica> vmassol: http://www.xwiki.org/xwiki/bin/view/XWikiOrgCode/Heartbeat
13:40 <evalica> object editor
13:40 <evalica> it's int he same page declared
13:41 <vmassol> fixed
13:41 <vmassol> you could have done it
13:41 <vmassol> ....
13:42 <evalica> the cache ? hmmm - k
13:47 <vmassol> mflorea: what's your status re commits for 4.4M1?
13:47 <vmassol> going to try this one locally: http://ci.xwiki.org/view/Functional%20Tests/job/xwiki-enterprise-test-selenium-4.3/org.xwiki.enterprise$xwiki-enterprise-test-selenium/212/testReport/org.xwiki.test.selenium/DocExtraTest/testDocExtraLoadingFromURLAnchor/
14:11 <mflorea> vmassol: I only need to commit a functional test for http://jira.xwiki.org/browse/XWIKI-8591
14:11 <mflorea> (almost done)
14:17 <tdelafosse> has quit
14:25 <Enygma`> vmassol: if I want to depend on a ScriptService from a java component, what do I use to get the service injected? @Inject @Named("nameOfService") private ScriptService service; ? If so, do I have to cast each time the service instance to the class implementing the script service (since I have no methods in the ScriptService interface)?
14:26 <Enygma`> is @Inject @Named("nameOfService") private ImplementationOfTheScriptService service; an option in the current CM?
14:31 <Enygma`> mflorea: any idea?
14:32 <Enygma`> on my only option is to lookup the service (using the CM) at least once (and possibly cache it in a field)
14:32 <Enygma`> ?
14:33 <mflorea> Enygma`: I don't understand the question. Script services are components, with hints, so they can be injects like any other component
14:34 <Enygma`> yes, but when it is declared, I can only declare the ScriptService interface (which is useless to me unless I cast it to the proper implementation)
14:34 <SvenDowideit> has quit
14:34 <mflorea> yes, and you can cast it afterwards
14:35 <Enygma`> mflorea: basically I need a method like getService() { return (ServiceImplementation) scriptService; } to avoid writing the cast 100x times
14:35 <mflorea> sure :)
14:35 <Enygma`> yeah... not very nice to work with services... anyway... thanks for confirming
14:35 <Enygma`> would have been nice to be able to declare the implementation for injection
14:36 <SvenDowideit> has joined #xwiki
14:36 <vmassol> Enygma`:
14:36 <vmassol> "if I want to depend on a ScriptService from a java component,"
14:36 <vmassol> that's bad start :)
14:37 <vmassol> no java component should ever depend on a script service
14:37 <vmassol> script services are meant exclusively for … scripts
14:37 <sdumitriu> They should wrap a real service
14:38 <sdumitriu> So depend on the real service
14:38 <Enygma`> well, in my case (workspace), if I depend on the deprecated plugin API and the plugin is installed with the EM, then the plugin will not be registered in the xwiki.cfg... so I have to use the trick done my the script service (which initializes the plugin) and use the service instead.
14:38 <vmassol> you shouldn't
14:38 <vmassol> agaion
14:38 <vmassol> no component should use scriupt service
14:38 <Enygma`> well, I`m already using the internal class... and I was trying to limit the usage of the internal class to a minimum... (while using the relatively public script service / plugin API)
14:38 <vmassol> now
14:39 <Enygma`> (since the internal class of wiki manager is not a component)
14:39 <vmassol> what you can do is create some other component and call that componen from both the script service and the java component
14:43 <Enygma`> well, I`m not going to refactor the wiki manager plugin right now, so the script service is the cleanest way to do it for me for now (since I was using the PluginAPI before).
14:50 <msmeria> has quit
14:50 <Enygma`> has quit
14:50 <msmeria> has joined #xwiki
14:50 <evalica1> has joined #xwiki
14:51 <sburjan> has quit
14:51 <evalica> has quit
14:52 <sburjan> has joined #xwiki
14:53 <Enygma`> has joined #xwiki
14:59 <fmancinelli> has quit
15:12 <vmassol> hmmm
15:12 <vmassol> http://ci.xwiki.org/view/Functional%20Tests/job/xwiki-enterprise-test-ui-4.3/196/
15:13 <vmassol> mflorea: do you know if all wysiwyg tests are ok or not? some still fail
15:14 <mflorea> I don't know.. I haven't had time to check, let me look now
15:15 <ldubost> has quit
15:16 <ldubost> has joined #xwiki
15:17 <mflorea> vmassol: did we change the way we take screenshots? or is it because of selenium upgrade that the screenshot contains only the view frame? http://ci.xwiki.org/view/Functional%20Tests/job/xwiki-enterprise-test-wysiwyg/ws/xwiki-enterprise-test/xwiki-enterprise-test-wysiwyg/target/selenium-screenshots/org.xwiki.test.wysiwyg.StandardFeaturesTest-testEditInFullScreen.png
15:18 <vmassol> AFAIK you're only one to have changed the screenshot code :)
15:18 <vmassol> not sure what upgrade you're referring to
15:18 <mflorea> 2.7
15:18 <vmassol> e haven't updated to 2.27 yet
15:18 <mflorea> ok
15:18 <mflorea> then something changed in some other place
15:18 <vmassol> XCOMMONS-311
15:18 <mflorea> ok
15:19 <vmassol> I think alex did some change
15:19 <mflorea> let me check other screenshots
15:19 <vmassol> he said he's not using vnc anymore right?
15:19 <vmassol> you should ask him
15:19 <mflorea> ok
15:20 <mflorea> in any case, http://ci.xwiki.org/job/xwiki-enterprise-test-wysiwyg/org.xwiki.enterprise$xwiki-enterprise-test-wysiwyg/1766/testReport/org.xwiki.test.wysiwyg/StandardFeaturesTest/testEditInFullScreen/ is not a flicker
15:21 <vmassol> ok so we need to fix before releasing 4.4M1?
15:22 <mflorea> we should at least see if it is a test problem, or an actual regression
15:25 <mflorea> vmassol: and I want to commit the fix for http://jira.xwiki.org/browse/XWIKI-8605 in 4.3.1 and 4.4M1, it's a small fix but it's important
15:27 <vmassol> mflorea: I have to go away for 30mn
15:28 <mflorea> ok, committing the fix for XWIKI-8605 then I'll check the WYSIWYG tests
15:51 <polx> has joined #xwiki
16:18 <tdelafosse> has joined #xwiki
16:38 <Enygma`> vmassol: I want to push 2 bugfixes for XWIKI-8606 and XWIKI-8603 into 4.4-m1, but I`m not 100% sure if they will fix the problems completely. Is that OK wrt the status of the release?
16:38 <vmassol> Enygma`: yes ok provided you follow closely the CI and make sure they don't aggravate the stabilitty of the build :)
16:38 <Enygma`> ok, thanks
16:38 <SvenDowideit> has quit
16:42 <SvenDowideit> has joined #xwiki
16:56 <msmeria> has quit
16:57 <vmassol> wow http://ci.xwiki.org/job/xwiki-enterprise-test-ui/1856/
16:58 <ldubost> has quit
16:59 <SvenDowideit> has quit
16:59 <sburjan> has quit
17:00 <Enygma`> "wow" as in it has passed? :)
17:01 <vmassol> strangely yes
17:01 <vmassol> no luck for you
17:01 <vmassol> :)
17:01 <SvenDowideit> has joined #xwiki
17:01 <Enygma`> hmm... maybe it was a flicker pass :P
17:01 <vmassol> OTOH http://ci.xwiki.org/view/Functional%20Tests/job/xwiki-enterprise-test-webdav/
17:01 <vmassol> while it passes on 4.3 brancg
17:02 <polx> has quit
17:02 <polx> has joined #xwiki
17:07 <Enygma`> vmassol, mflorea: is http://ci.xwiki.org/job/xwiki-enterprise-test-wysiwyg/org.xwiki.enterprise$xwiki-enterprise-test-wysiwyg/1766/testReport/org.xwiki.test.wysiwyg/StandardFeaturesTest/testEditInFullScreen/ a real problem, or is it related to the scrolling issue caused by selenium (AFAIR from last time)?
17:07 <vmassol> mflorea seemed to say it's real
17:07 <vmassol> well he said it's not a flicker
17:07 <vmassol> not sure what to conclude eactly :)
17:07 <vmassol> *exactly
17:08 <mflorea> either a real bug or a test/agent_env problem
17:08 <mflorea> :)
17:17 <Enygma`> jvelo: re https://github.com/jvelo/xwiki-platform/compare/master...feature-spatial we might need something a bit more generic, specifically about the changes in schema.xml
17:17 <jvelo> Enygma`: yes, as I said it's just a PoC and it needs to be generalized
17:18 <jvelo> for schema.xml do you have specific ideas ?
17:18 <jvelo> like rendering it against velocity engine, or ?
17:19 <Enygma`> I still need to come up with a good way of generating schema.xml
17:19 <ldubost> has joined #xwiki
17:20 <tdelafosse> has quit
17:20 <Enygma`> I will need to see if Solr exposes a serializable and modifiable model of schema.xml that we can use
17:26 <tdelafosse> has joined #xwiki
17:40 <Inge-> has quit
17:43 <vmassol> guys just sent an importnat email
17:43 <vmassol> on devs
17:43 <vmassol> please reply ASAP
17:48 <Inge-> has joined #xwiki
17:56 <SvenDowideit> has quit
18:01 <SvenDowideit> has joined #xwiki
18:07 <zykes-> has quit
18:11 <zykes-> has joined #xwiki
18:13 <sdumitriu1> I'm taking the extension failing test
18:15 <Slashman> has quit
18:16 <Enygma`> mflorea: do you have anything left to do for 4.3.1? http://jira.xwiki.org/secure/IssueNavigator.jspa?reset=true&jqlQuery=Project+in+%28%22XWiki+Commons%22%2C+%22XWiki+Rendering%22%2C+%22XWiki+Platform%22%2C+%22XWiki+Enterprise%22%2C+%22XWiki+Enterprise+Manager%22%29+and+fixVersion+in+%28%224.3.1%22%29+and+resolution+in+%28%22Unresolved%22%29
18:18 <Slashman> has joined #xwiki
18:18 <Enygma`> sdumitriu1: ok
18:19 <Denis> has quit
18:40 <SvenDowideit> has quit
18:42 <SvenDowideit> has joined #xwiki
18:43 <Chuguniy> has joined #xwiki
18:44 <Chuguniy> Hey. How do I connect to MySQL through socket? Thanks.
18:54 <jvdrean> has quit
18:57 <mflorea> Enygma`: I'm in a call, I'll review the list afterwards
18:57 <Enygma`> ok
19:08 <evalica1> has quit
19:11 <Enygma`> has quit
19:25 <Slashman> has quit
19:33 <abusenius> has joined #xwiki
19:40 <tdelafosse> has quit
19:42 <jvdrean> has joined #xwiki
20:00 <jvdrean> has quit
20:24 <Chuguniy> has quit
20:41 <mflorea> has quit
20:46 <ldubost> has left #xwiki
21:11 <abusenius> has quit
21:26 <abusenius> has joined #xwiki
21:35 <mrvanes> has quit
21:53 <sdumitriu1> ci.xwiki.org doesn't answer for me
22:22 <SvenDowideit> has quit
22:23 <SvenDowideit> has joined #xwiki
22:43 <vmassol> has quit
22:49 <abusenius> has quit
23:14 <vmassol> has joined #xwiki
23:23 <vmassol> has quit
23:44 <jvdrean> has joined #xwiki
23:52 <jvdrean> has quit

Get Connected