#jython IRC Log


IRC Log for 2015-03-06

Timestamps are in GMT/BST.

[1:09] <agronholm> jimbaker: I've been tinkering with JyCompileAntTask and the results are very confusing. if I substitute jython-dev.jar with the standalone jython jar, I get the error: taskdef A class needed by class org.python.util.JycompileAntTask cannot be found: org/python/apache/tools/ant/taskdefs/MatchingTask
[1:10] <agronholm> use jython-dev.jar instead and the problem goes away
[1:42] <jimbaker> agronholm, hmmm - we really need to fix this when building all-jars, so we have $py.class files not just for the dev case
[1:42] <jimbaker> but it's a good release candidate type task, like other packaging issues
[1:43] <jimbaker> so the right timing imho
[1:43] <agronholm> jimbaker: I'm trying to pin down the exact files and directories that cause it to fail
[1:44] <agronholm> I've extracted both jars and I'm pointing the classpath to the extracted full jar and then replacing stuff from the dev jar one directory at a time
[1:44] <agronholm> but strange things are happening
[1:45] <agronholm> java.lang.NoClassDefFoundError: org/python/google/common/collect/MapMaker
[1:46] <jimbaker> oh, that's interesting - so not seeing the shading from jarjarlinks
[1:46] <jimbaker> biab
[1:46] <agronholm> oddly that does NOT happen if I use the dev jar
[1:52] <agronholm> apparently the dev jar doesn't even have the same set of classes under org/python/
[1:52] <agronholm> I'm so confused
[1:52] <agronholm> the classloader errors make very little sense
[8:23] * Trundle (~andy@python/site-packages/trundle) has joined #jython
[8:57] * lopex (uid4272@gateway/web/irccloud.com/x-rwglxibqidpfsjid) Quit (Quit: Connection closed for inactivity)
[9:32] * lopex (uid4272@gateway/web/irccloud.com/x-odesbectjyumxbzt) has joined #jython
[9:45] * mbooth (~mbooth@redhat/mbooth) has joined #jython
[14:26] <agronholm> jimbaker: I don't know if this helps but... https://gist.github.com/agronholm/d6f4657a8bf34101afbb
[14:41] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) has joined #jython
[14:59] * xemdetia (xemdetia@nat/ibm/x-osgwmstpgrhrhkcp) has joined #jython
[16:50] * agronholm (~agronholm@nblzone-211-20.nblnetworks.fi) Quit (Quit: ZNC - http://znc.in)
[16:50] * agronholm (~agronholm@2001:1bc8:102:6f29:4d2b:a62:7ba2:4319) has joined #jython
[16:50] * ChanServ sets mode +o agronholm
[17:36] * mbooth (~mbooth@redhat/mbooth) Quit (Ping timeout: 252 seconds)
[17:43] * Trundle (~andy@python/site-packages/trundle) Quit (Remote host closed the connection)
[18:18] <jimbaker> agronholm, i think that makes a lot of sense
[18:18] <agronholm> oh?
[18:18] <agronholm> enlighten me please :)
[18:19] <jimbaker> i don't know if i can enlighten at all, but this would explain the failure you saw in jycompile re not seeing MapMaker - i mean, we have to have a jython to compile things
[18:19] <jimbaker> so classic bootstrapping problems
[18:25] <jimbaker> ideally we can collect this together with the classpath definition for building the jython-dev jar
[19:05] * Trundle (~andy@python/site-packages/trundle) has joined #jython
[19:08] <agronholm> jimbaker: can you reproduce the problem?
[19:08] <agronholm> replace jython-dev.jar with jython.jar in build.xml in the pycompile task classpath
[22:53] * xemdetia (xemdetia@nat/ibm/x-osgwmstpgrhrhkcp) Quit (Remote host closed the connection)
[22:53] * xemdetia (xemdetia@nat/ibm/x-ujuuuxkzvizxqcac) has joined #jython
[23:44] * Trundle (~andy@python/site-packages/trundle) Quit (Remote host closed the connection)


These logs were automatically created by JythonLogBot on irc.freenode.net using a slightly modified version of the Java IRC LogBot.