tag:blogger.com,1999:blog-8797006816811118829.post38580404878653222..comments2009-03-02T11:58:33.089-03:00Comments on for post in leo.blog():: The Jython Import LogicLeo Soto M.http://www.blogger.com/profile/16108418309169741841noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-8797006816811118829.post-10489230558023187872009-03-02T11:58:00.000-03:002009-03-02T11:58:00.000-03:00Mario:You're right, the behavior seems caused by t...Mario:<BR/><BR/>You're right, the behavior seems caused by that bug. <BR/><BR/>If you don't want to wait for the next beta (which is coming soon anyway), I'd recommend you to download and build from sources. It is a straightforward process (just running ant).Leo Soto M.http://www.blogger.com/profile/16108418309169741841noreply@blogger.comtag:blogger.com,1999:blog-8797006816811118829.post-89691228593336820542009-03-01T17:27:00.000-03:002009-03-01T17:27:00.000-03:00It seems it has been fixed recentlyhttp://fisheye3...It seems it has been fixed recently<BR/><BR/>http://fisheye3.atlassian.com/changelog/jython/?cs=5956<BR/><BR/>Haven't tried it yet. Waiting for a new beta.Mariohttp://www.blogger.com/profile/11150614996136938333noreply@blogger.comtag:blogger.com,1999:blog-8797006816811118829.post-66122490875470561992009-03-01T15:58:00.000-03:002009-03-01T15:58:00.000-03:00I have more about it:1) use the "org" name2) add t...I have more about it:<BR/><BR/>1) use the &quot;org&quot; name<BR/>2) add the jar file to the sys.path<BR/>3) import org ----&gt; nothing happens<BR/>3b) try some from org.leosoto import .... ----&gt; nothing happens<BR/>4) import xyz ----&gt; error, but the jar file is finally processed<BR/>5) classes are available!<BR/><BR/>Does it surprise you or is it normal?Mariohttp://www.blogger.com/profile/11150614996136938333noreply@blogger.comtag:blogger.com,1999:blog-8797006816811118829.post-75837090991220786202009-03-01T15:25:00.000-03:002009-03-01T15:25:00.000-03:00Hi,I am still struggling with the whole logic.I;ve...Hi,<BR/><BR/>I am still struggling with the whole logic.<BR/>I;ve tried your example and it works, but if you change the name of the package from com.leosoto -&gt; org.leosoto it does not work anymore (at least for me)<BR/><BR/>I have found the &quot;org&quot; name a bit tricky to handle via the sys.path.append way.<BR/><BR/>Any comment on that?Mariohttp://www.blogger.com/profile/11150614996136938333noreply@blogger.com