IRC Archive for channel #xwiki on 22 August 2014

Last modified by Vincent Massol on 2014/08/22 23:12

<momomomomo> has quit
00:34 <cjd> has joined #xwiki
00:34 <cjd> is now known as <Guest63061>
00:43 <Guest63061> has quit
01:01 <cjd_> has joined #xwiki
01:07 <cjd_> has quit
01:11 <cjd_> has joined #xwiki
01:29 <cjd_> has quit
01:50 <cjd> has joined #xwiki
01:50 <cjd> is now known as <Guest21206>
03:22 <Guest21206> has quit
03:26 <cjd> has joined #xwiki
03:27 <cjd> is now known as <Guest10377>
03:28 <Guest10377> has quit
04:53 <Denis> has quit
06:58 <msmeria> has joined #xwiki
07:01 <andreeapopescu> has joined #xwiki
07:16 <mflorea> has joined #xwiki
08:26 <mflorea> has quit
08:36 <KermitTheFragger> has joined #xwiki
08:48 <woshilapin> has joined #xwiki
09:21 <mflorea> has joined #xwiki
09:42 <ClemensR> has joined #xwiki
09:55 <Denis> has joined #xwiki
09:56 <vmassol> has joined #xwiki
10:16 <evalica> has joined #xwiki
10:20 <Enygma`> has joined #xwiki
10:21 <Lyes1> has joined #xwiki
10:31 <Enygma`> has quit
10:32 <Enygma`> has joined #xwiki
10:56 <aroger> has joined #xwiki
10:59 <Lyes2> has joined #xwiki
11:00 <aroger> Hi,
11:00 <aroger> Someone can give me access on nexus repositories ?
11:00 <aroger> I have a Forbidden
11:00 <aroger> Nexus returned an error: ERROR 403: Forbidden
11:01 <vmassol> aroger: hi
11:01 <vmassol> when you release with maven?
11:01 <aroger> just now
11:01 <vmassol> when you release with maven?
11:01 <aroger> i only promoted on nexus (my bad)
11:01 <vmassol> where do you get this error?
11:02 <Lyes1> has quit
11:02 <aroger> On nexus.xwiki.org
11:02 <vmassol> don't promote!
11:03 <Slashman> has joined #xwiki
11:03 <vmassol> let me update the doc
11:03 <aroger> ok
11:06 <vmassol> aroger: http://contrib.xwiki.org/xwiki/bin/view/Main/WebHome?viewer=changes&amp;rev2=59.1
11:07 <aroger> Thanks for update
11:07 <aroger> I already closed the repo, but I can't click on release
11:07 <aroger> When I reload the page I have a pop-up with 403 Forbidden error
11:15 <aroger> has quit
11:16 <aroger> has joined #xwiki
11:29 <vmassol> aroger: i've released it for you
11:31 <aroger> vmassol: Ok thank you! :)
11:52 <vmassol> FTR I'm trying to debug the platform build failure with teh quality profile
11:52 <vmassol> http://ci.xwiki.org/view/Platform/job/xwiki-platform_Quality_Checks/2603/console
11:55 <Enygma`> has quit
11:57 <evalica> has quit
11:59 <vmassol> something is definitely wrong
12:10 <vmassol> ah I know
12:11 <vmassol> hmmno
12:16 <aroger> has quit
12:18 <lulzme> has joined #xwiki
12:21 <polx> has joined #xwiki
12:24 <vmassol> I'm stuck….. :)
12:24 <lulzme> has quit
12:25 <Lyes2> has quit
12:26 <polx> has quit
12:28 <vmassol> ok I know! :)
12:29 <vmassol> caused by sdumitriu indirectly
12:29 <vmassol> sdumitriu: ping
12:36 <vmassol> actually it's complex to fix properly… need to think more
12:36 <vmassol> lunch time ATM
12:56 <sdumitriu> vmassol: Pong
13:03 <vmassol> sdumitriu: see my last commit
13:03 <vmassol> this was causing some CI build failures
13:03 <vmassol> took me a while to figure this out ;)
13:04 <vmassol> as I said in my commit, I'd like to reproduce the problem you were fixing to see if there's something else we can do about it
13:05 <DarkKnightCZ> has joined #xwiki
13:16 <sdumitriu> It always show a warning when building platform
13:16 <sdumitriu> First lines
13:39 <vmassol> sdumitriu: I tried and it doesn't for me. I tried with xwiki-rendering
13:39 <vmassol> https://gist.githubusercontent.com/vmassol/763629b789bd70a191e0/raw/bf809415217f8574870f4fb54e3119c4e30a2285/gistfile1.txt
13:39 <vmassol> (same for platform)
14:27 <ClemensR> has left #xwiki
14:28 <Denis> has quit
14:44 <Denis> has joined #xwiki
14:56 <polx> has joined #xwiki
15:15 <polx> has quit
15:25 <polx> has joined #xwiki
15:42 <polx> has quit
15:43 <polx> has joined #xwiki
15:43 <polx> has quit
15:47 <Lyes> has joined #xwiki
15:48 <momomomomo> has joined #xwiki
15:49 <Lyes> has quit
15:51 <DarkKnightCZ> has quit
15:54 <andreeapopescu> has quit
16:13 <vmassol> guys does it work for you to execute functional tests for , say, the faq app?
16:13 <vmassol> it fails for me with:
16:13 <vmassol> [ERROR] Failed to execute goal org.xwiki.platform:xwiki-platform-tool-packager-plugin:6.2-SNAPSHOT:package (default) on project xwiki-platform-faq-test-tests: Execution default of goal org.xwiki.platform:xwiki-platform-tool-packager-plugin:6.2-SNAPSHOT:package failed: A required class was missing while executing org.xwiki.platform:xwiki-platform-tool-packager-plugin:6.2-SNAPSHOT:package: Failed to get fields for class [com.xpn.xwiki.inte
16:14 <vmassol> I have no clue why especially since the rendering api is in the exeucting CL
16:32 <vmassol> weird removing rendering from my local repo fixed it....
16:39 <msmeria> has quit
16:40 <Denis> has quit
17:09 <sdumitriu> vmassol: Looked at the Jenkins error, that's actually showing that my change was good
17:10 <sdumitriu> vmassol: What happens is that the Jenkins Agent has an old version of the commons repository
17:10 <vmassol> no
17:10 <sdumitriu> Probably since commons wasn't built on that agent in a long time
17:10 <sdumitriu> And it find an ancient version of the POM there
17:10 <vmassol> I've explained the problem in my commit
17:10 <vmassol> in comment
17:11 <vmassol> and not it's not good
17:11 <vmassol> 100% sure
17:11 <vmassol> :)
17:11 <vmassol> s/and not/and no
17:11 <sdumitriu> It is good
17:11 <vmassol> can you check my comment in pom.xml please
17:11 <sdumitriu> It's just having side effects
17:11 <sdumitriu> Yes
17:11 <vmassol> I've explained in details
17:11 <sdumitriu> That's exactly what I'm saying
17:11 <vmassol> (I tried)
17:11 <sdumitriu> It has an old version of commons
17:11 <vmassol> side effect is not a good thing
17:11 <vmassol> :)
17:11 <vmassol> obviously
17:11 <sdumitriu> The issue isn't that it's wrong to point to the parent project
17:12 <sdumitriu> But that Jenkins shouldn't have repos like that
17:12 <vmassol> first, it's wrong to assume a certain layout
17:12 <vmassol> especially when using /..
17:12 <sdumitriu> That's an invisible dependency between workspaces
17:12 <sdumitriu> vmassol: Ah, I know how I get that error
17:12 <vmassol> second, as I mentioned I cannot reproduce your warning issue
17:13 <sdumitriu> I have a different pom.xml in the parent folder
17:13 <momomomomo> has quit
17:13 <sdumitriu> vmassol: It's not wrong to assume a certain layout
17:13 <vmassol> with ../ I think it is
17:13 <vmassol> epecially in maven
17:14 <vmassol> as there's no notion of workspace yet
17:14 <sdumitriu> But there already is a certain layout assumed
17:14 <vmassol> inside a projet yes
17:14 <vmassol> inside a reactor project that is
17:14 <sdumitriu> By default Maven assumes that the parent is in the parent directory
17:14 <sdumitriu> No, not a reactor project, any project
17:15 <vmassol> yes I know, but your change makes it even more likely to cause some problem
17:15 <vmassol> actually
17:15 <sdumitriu> Try it: change xwiki-commons/pom.xml, don't build it, and build a descendant module
17:15 <vmassol> we should use a relativepath that cannot exist
17:15 <sdumitriu> It will see the changes
17:15 <sdumitriu> Even if the pom is not installed
17:15 <vmassol> I know how maven works sdumitriu :)
17:16 <sdumitriu> Because of the implicit parent path I get that error, so if we define an explicit path that doesn't exist, nothing wrong happens
17:16 <sdumitriu> It will just be silently ignored as before
17:16 <sdumitriu> vmassol: To make something clear, I'm not arguing for restoring my commit, just arguing that your motivation is invalid
17:16 <vmassol> my motivation cannot be wrong :)
17:16 <sdumitriu> There is a bug in Jenkins, and as a workaround your fix is good at the moment
17:16 <vmassol> it fixed the CI
17:17 <vmassol> :)
17:17 <vmassol> that's my mtovation
17:17 <sdumitriu> K, not motivation, reasoning
17:17 <vmassol> what I know is that my 'fix" isn't perfect
17:17 <vmassol> but as you said there's no good solution
17:17 <vmassol> except maybe the invalid path , I need to try that
17:18 <vmassol> need to check if maven still checks the parent in case of an invalid relativepath
17:18 <sdumitriu> I think that looking for a parent is a new feature in Maven3, I kind of remember that it didn't read parents from the filesystem a long time ago
17:18 <momomomomo> has joined #xwiki
17:18 <sdumitriu> But I might be wrong
17:19 <vmassol> looking for parent has always been there
17:19 <sdumitriu> Even if the parent is not in the reactor?
17:19 <vmassol> that I don't know
17:19 <sdumitriu> It should look for the parent in repos
17:19 <vmassol> yes
17:20 <sdumitriu> But I know that a long time ago I had to install changed parent poms before building children
17:20 <vmassol> between top level repos yes
17:20 <vmassol> because they're not in parent-child relationship
17:20 <vmassol> but inside a top level project it has always worked fine for me
17:22 <sdumitriu> Even in 2007?
17:22 <vmassol> as far back as I've used maven
17:22 <sdumitriu> With the right relativePath, it will work cross-repo as well
17:22 <sdumitriu> OK
17:22 <vmassol> even m1
17:22 <vmassol> but my memory may be failing me
17:22 <sdumitriu> By the way, Jenkins doesn't load for me
17:23 <vmassol> yes it depends
17:23 <vmassol> sometimes it's very fast sometimes our apache front end times out
17:23 <vmassol> I think it always succeeds but our front times out when it's too long
17:23 <vmassol> (ie above 30 seconds or so)
17:24 <Pbas> has left #xwiki
17:24 <vmassol> sdumitriu: just to be clear
17:24 <vmassol> the warning you were getting before
17:24 <vmassol> (before your commit)
17:25 <vmassol> was due to you having some wrong pom.xml in a directory above your top level repos directories?
17:25 <vmassol> ie above xwiki-commons, xwiki-rendering, etc
17:25 <sdumitriu> Yes
17:25 <vmassol> ?
17:25 <vmassol> ok
17:26 <vmassol> someone suggested using an empty <relativePath></relativePath> in a jira issue
17:26 <vmassol> https://jira.codehaus.org/browse/MNG-5146
17:27 <vmassol> not sure about the side effects though
17:27 <sdumitriu> Yes, that's the warning message I get
17:27 <vmassol> http://stackoverflow.com/questions/6003831/parent-relativepath-points-at-my-com-mycompanymyproject-instead-of-org-apache
17:28 <vmassol> http://stackoverflow.com/a/6006098
17:28 <vmassol> actually it's docuimented
17:28 <vmassol> http://maven.apache.org/ref/3.0.3/maven-model/maven.html#class_parent
17:28 <vmassol> "Set the value to an empty string in case you want to disable the feature and always resolve the parent POM from the repositories."
17:28 <vmassol> cool
17:28 <vmassol> maybe we should do that then
17:29 <sdumitriu> Yep
17:29 <sdumitriu> Sounds like the best option
17:29 <vmassol> ok will try
17:44 <KermitTheFragger> has quit
18:07 <woshilapin> has quit
18:36 <mflorea> has quit
18:42 <evalica> has joined #xwiki
18:48 <Enygma`> has joined #xwiki
18:54 <momomomomo_> has joined #xwiki
18:55 <momomomomo> has quit
18:55 <momomomomo_> is now known as <momomomomo>
19:09 <momomomomo> has quit
19:16 <DarkKnightCZ> has joined #xwiki
19:26 <Slashman> has quit
19:40 <DarkKnightCZ> has quit
19:51 <Enygma`1> has joined #xwiki
19:54 <Enygma`> has quit
20:29 <vmassol> has quit
20:31 <xwikiorg_guest_7> has joined #xwiki
20:32 <xwikiorg_guest_7> Hi all
20:32 <xwikiorg_guest_7> Anyone proficient with LDAP config of xwiki
21:11 <momomomomo> has joined #xwiki
21:38 <xwikiorg_guest_7> With xwiki.authentication.ldap.bind_DN=, is this asking for the container where the authenticated user resides that allows ldap querying ?
21:41 <vmassol> has joined #xwiki
21:49 <vmassol> has quit
22:00 <momomomomo_> has joined #xwiki
22:00 <momomomomo> has quit
22:00 <momomomomo_> is now known as <momomomomo>
22:30 <xwikiorg_guest_7> has quit
22:31 <momomomomo_> has joined #xwiki
22:33 <momomomomo> has quit
22:33 <momomomomo_> is now known as <momomomomo>
23:03 <momomomomo> has quit
23:12 <momomomomo> has joined #xwiki
Tags:
   

Get Connected