#jython IRC Log

Index

IRC Log for 2014-03-02

Timestamps are in GMT/BST.

[1:32] <agronholm> Taconut: you're doing it wrong -- "from java.lang import System" is the right way
[1:33] <agronholm> import classes, not packages
[1:33] <Taconut> But it worked from regular Jython... What's the difference?
[1:35] <Taconut> Are there any other changes I should be aware of?
[1:37] <agronholm> Taconut: that kind of importing has always been a hack
[1:37] <agronholm> since Java itself doesn't support it
[1:37] <agronholm> it requires a package cache directory
[1:38] <Taconut> What do you mean? Is this implemented for me automatically? I think I read about that in a tutorial of some sort.
[1:38] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[1:38] <agronholm> yes
[1:38] <Taconut> Phew...
[1:39] <agronholm> but when it can't be created for some reason, you lose package import
[1:39] <agronholm> I never ever use package import in my apps
[1:40] <Taconut> The code isn't mine, but I'm going to have to change 100+ lines with just Java imports :).
[1:40] <Taconut> Anyway, are there any other fundamental changes between embedded Jython and normal Jython?
[1:42] <Taconut> I'll take that as a no.
[1:42] <Taconut> Thanks! I'm glad the solution was so simple.
[1:42] * Taconut (~Taconut@c-50-139-182-198.hsd1.ma.comcast.net) Quit (Quit: Leaving)
[1:43] <agronholm> well of course the fact that you can't install any distributions directly
[1:44] <agronholm> with tools like pip or easy_install
[1:44] <agronholm> (some people actually try that and wonder why it doesn't work)
[1:53] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Excess Flood)
[1:53] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[2:00] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 240 seconds)
[2:04] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[2:22] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 240 seconds)
[2:55] * lheuer1 (~Adium@f048142070.adsl.alicedsl.de) has joined #jython
[2:57] * lheuer (~Adium@unaffiliated/lheuer) Quit (Ping timeout: 252 seconds)
[3:24] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[3:32] * lheuer1 (~Adium@f048142070.adsl.alicedsl.de) Quit (Quit: Leaving.)
[6:03] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 264 seconds)
[6:35] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[7:21] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 264 seconds)
[7:53] * zimmermann (~user@178-24-50-233-dynip.superkabel.de) has joined #jython
[8:15] * lheuer (~Adium@f048142070.adsl.alicedsl.de) has joined #jython
[8:15] * lheuer (~Adium@f048142070.adsl.alicedsl.de) Quit (Changing host)
[8:15] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[8:54] * oscar_toro (~Thunderbi@h-17-170.a328.priv.bahnhof.se) has joined #jython
[9:49] <topi`> has anyone successfully used python-mysql-connector with jython? Since it's pure-python connector, it should "just work".
[9:49] <topi`> I guess for better performance, the jyjdbc + mysql.jar combo is better.
[9:51] <topi`> jimbaker: btw I have some experience of creating .WARs which use clamp. But, my "solution" was to create a custom shell script that would just add the relevant classes and stuff into the .war zipfile ...
[11:56] * lheuer (~Adium@unaffiliated/lheuer) Quit (Quit: Leaving.)
[12:06] * lheuer (~Adium@f048142070.adsl.alicedsl.de) has joined #jython
[12:06] * lheuer (~Adium@f048142070.adsl.alicedsl.de) Quit (Changing host)
[12:06] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[14:43] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[14:48] * r0bby (~wakawaka@guifications/user/r0bby) has joined #jython
[14:52] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 240 seconds)
[14:56] * r0bby is now known as robbyoconnor
[15:01] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Quit: Konversation terminated!)
[15:55] * zimmermann (~user@178-24-50-233-dynip.superkabel.de) Quit (Ping timeout: 240 seconds)
[22:19] * oscar_toro (~Thunderbi@h-17-170.a328.priv.bahnhof.se) Quit (Read error: Operation timed out)

Index

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