Re: [Pydev-code] Running external scripts from Jython
Brought to you by:
fabioz
From: Fabio Z. <fa...@gm...> - 2007-07-15 13:06:19
|
On 7/15/07, Anders Dahnielson <an...@da...> wrote: > > > > On 7/15/07, Anders Dahnielson <an...@da...> wrote: > > > > > > On 7/15/07, Anders Dahnielson < an...@da...> wrote: > > > > > Reacting to save events and getting all the necessary paths was fairly > > > easy (for a Jython and Eclipse n00b) but I hit trouble when I tried to save > > > myself some coding and instead leverage an existing test runner "nose" [1]. > > > It simply do not run under Jython (dang!). So my brilliant plan B (I > > > thought) was to run it under CPython using the os.command module. > > > Turns out that Jython doesn't have a popen() (dang again!). > > > > > > I just realized that running tests under Jython isn't what I want. So, > > plan B is the new plan A. > > > > Of course! I'll just use the standard Java call java.lang.Runtime instead > (he said after googling). I have to keep reminding myself that Jython isn't > Python... > Have you seen my answer in the forum: https://sourceforge.net/forum/message.php?msg_id=4413030 ?(you could simply configure an external python script to react to changes as a builder) Cheers, Fabio |