| *** pjenvey_ has quit IRC | 00:11 | |
| *** pjenvey_ has joined #jython | 00:12 | |
| *** pjenvey_ has quit IRC | 00:15 | |
| *** pjenvey_ has joined #jython | 00:16 | |
| *** pjenvey_ has quit IRC | 00:17 | |
| toastjam | I seem to be having difficulty importing classes that are contained in another jar in my webstart app, any ideas? | 00:26 |
|---|---|---|
| toastjam | it says no module named "jme" when I try "from com.jme.scene import *", though that works fine when I run it locally with the jme jar on my classpath | 00:27 |
| toastjam | and the jme jar is in the jnlp file and is perfectly accessible from my java code | 00:27 |
| groves_ | import * requires the jars to be scanned for packages | 00:33 |
| groves_ | the package scanner uses the classpath reported to java on startup to determine what jars to scan | 00:34 |
| groves_ | webstart may be doing something different to set up its classpath | 00:34 |
| groves_ | try importing a specific class from com.jme.scene instead of * | 00:34 |
| *** toastjam has quit IRC | 00:57 | |
| *** headius has joined #jython | 01:06 | |
| *** headius has quit IRC | 01:22 | |
| *** headius has joined #jython | 01:23 | |
| *** lheuer has joined #jython | 01:24 | |
| *** headius has quit IRC | 03:28 | |
| fwierzbicki_ | jbaker: hmmm missed the sqlalchemy discussion -- and it looks like the turbogears logging may be down... | 05:02 |
| *** lheuer has quit IRC | 05:07 | |
| *** Majkhii has quit IRC | 05:16 | |
| *** Majkhii has joined #jython | 06:26 | |
| jbaker | fwierzbicki_: we only touched on it as one component of TG, and that you were doing it | 07:16 |
| jbaker | at this point, i'm just trying to figure out what the current status of TG (specifically TG2) is on jython | 07:16 |
| fwierzbicki_ | jbaker: cool -- I studied up on TG for a bit last night -- I didn't realize that pylons and TG where working so closely together | 07:17 |
| fwierzbicki_ | jbaker: I believe genshi will be the difficult part | 07:17 |
| fwierzbicki_ | I've been told that there is some AST manipulation in there | 07:17 |
| jbaker | interesting... maybe i'll take a look at that | 07:17 |
| fwierzbicki_ | so we'd need to become pretty modern to handle that | 07:17 |
| fwierzbicki_ | coderanger of the trac project told me that | 07:18 |
| fwierzbicki_ | at last pycon | 07:18 |
| jbaker | one thing about TG that is nice is it is made up of these decoupled components. with django you can't even run their unit tests until you have models going | 07:19 |
| jbaker | or at least that's my theoretical knowledge of TG! | 07:19 |
| fwierzbicki_ | sure -- I was originally thinking TG would be an easier target since you could knock out one component at a time -- until I heard about the potential genshi problem | 07:19 |
| fwierzbicki_ | of course pylons might be even easier once eggs work | 07:20 |
| fwierzbicki_ | since you could potentially pick the easiest targets and get something running | 07:20 |
| fwierzbicki_ | I saw a bunch of distutils checked in recently so pjenvey may be close | 07:21 |
| jbaker | right, so there are some alternative templating gears | 07:21 |
| jbaker | he mentioned that in regards to pylons | 07:22 |
| jbaker | anyway, i'll take a look at genshi for the sprint, it seems like it | 07:22 |
| jbaker | it could be something that we could use the newcompiler for as well | 07:23 |
| fwierzbicki_ | cool | 07:23 |
| fwierzbicki_ | some of my info comes from this TG thread: http://groups.google.com/group/turbogears/browse_thread/thread/d1d2e416023e7033 | 07:23 |
| fwierzbicki_ | just lately a can't even keep up with all of the checkins into jython -- I very nice problem to have! | 07:26 |
| jbaker | it's certainly moving a lot faster, as i discovered merging modern (which is current) onto newcompiler (which isn't). not too many conflicts to resolve, but much different than the quiet of the summer | 07:28 |
| jbaker | django recommends merging trunk onto branches weekly. we are probably not there yet... but the pace is picking up | 07:28 |
| jbaker | from the genshi faq: Alternative implementations of Python such as PyPy, Jython, or IronPython are also unlikely to work due to the Genshi code using some rather advanced features of the CPython implementation and standard library. | 07:35 |
| jbaker | sounds like we have been warned | 07:35 |
| albino | sounds like a challenge to me | 07:41 |
| jbaker | :) | 07:41 |
| fwierzbicki_ | :) indeed -- sounds like another good testing ground | 07:48 |
| sabi | hm, guess i should pick up genshi again | 08:08 |
| sabi | istr i got it to work with PyPy about a year ago | 08:13 |
| *** pjenvey_ has joined #jython | 08:37 | |
| jbaker | sabi: good to hear that | 08:42 |
| jbaker | what i found interesting about genshi is that it uses xml.parsers.expat; i haven't heard of expat being used for a while, but we don't have a jython wrapper. presumably there's a java equiv., maybe XP? | 08:47 |
| sabi | yeah i'm pretty sure there's a java version of it | 08:54 |
| sabi | XP looks ancient. but i'm sure it could be adapted to work with any other event-driven java XML parser | 09:03 |
| jbaker | right, like SAX | 09:05 |
| jbaker | which would seem to be a lot better choice, because then we can let people choose their SAX implementation | 09:05 |
| sabi | yeah. | 09:11 |
| jbaker | a casual inspection of genshi shows that only one file (input.py) depends on expat; given that sax on cpython wraps expat, presumably we can do the opposite. anyway, it looks like a worthwhile task in 2 weeks | 09:13 |
| *** headius has joined #jython | 09:16 | |
| jbaker | i don't see why they don't use sax; the flaws they mention about ET are with respect to being able to determine where in the source text the parse failed. but sax has support for this | 09:18 |
| *** thobe has quit IRC | 09:25 | |
| sabi | could have referred to an older versin of ET maybe. | 09:26 |
| sabi | who knows. | 09:26 |
| *** thobe has joined #jython | 09:58 | |
| *** Majkhii_ has joined #jython | 10:44 | |
| *** Majkhii has quit IRC | 10:45 | |
| *** headius has quit IRC | 11:34 | |
| *** headius has joined #jython | 12:09 | |
| *** Majkhii_ has quit IRC | 13:50 | |
| *** Majkhii has joined #jython | 13:55 | |
| *** MacGyverNL has quit IRC | 14:37 | |
| *** MacGyverNL has joined #Jython | 14:44 | |
| *** cherez has joined #jython | 17:13 | |
| *** groves has joined #jython | 18:10 | |
| *** groves_ has quit IRC | 18:10 | |
| pjenvey_ | groves - oh yea. totally forgot, I noticed it earlier -- we need junit for the expose tests | 19:24 |
| groves | Is it not included in ant for you? | 19:26 |
| pjenvey_ | nope, there's no jar checked in i don't think either | 19:26 |
| pjenvey_ | or am i missing something | 19:27 |
| groves | Right, the junit jar came with ant for me, so I didn't think I needed to add it to extlibs | 19:27 |
| groves | it's not a big deal to do it though | 19:27 |
| pjenvey_ | ah. that's right | 19:27 |
| pjenvey_ | let's see why my ant lacks it | 19:27 |
| groves | Unless you've gone in and deleted things in your ant install, this is enough to get me to include it | 19:28 |
| groves | I'd rather not have anyone have to go digging in ant | 19:28 |
| groves | svn up and try it now | 19:33 |
| pjenvey_ | that did it, thanks | 19:34 |
| pjenvey_ | what version of ant do you have? it looks like my ant's shipping with a stripped down junit, they call it ant-junit.jar | 19:34 |
| pjenvey_ | that's 1.7.0 | 19:34 |
| pjenvey_ | looks like they started shipping that with ant as of 1.7.0, maybe you have an earlier version that just included the full junit | 19:35 |
| groves | Actually, I think I may have dropped junit into my ant lib directory at some point in prehistory and forgotten about it | 19:50 |
| groves | its modtime is later than all the other jars in the directory | 19:50 |
| *** jbaker has quit IRC | 19:52 | |
| *** _wtf has joined #jython | 21:07 | |
| *** sgithens has joined #jython | 22:16 | |
| *** headius has quit IRC | 22:49 | |
| *** headius has joined #jython | 22:50 | |
| *** headius has quit IRC | 22:55 | |
| *** headius has joined #jython | 22:56 | |
| *** headius has quit IRC | 23:06 | |
| *** headius has joined #jython | 23:12 | |
| *** headius has joined #jython | 23:13 | |
| *** headius has quit IRC | 23:24 | |
| *** headius has joined #jython | 23:34 | |
Generated by irclog2html.py 2.4 by Marius Gedminas - find it at mg.pov.lt!