Mike Hostetler | 20 Aug 19:36

Controlling .$py.class compiling

The good news is -- I finally convinced the Powers That Be that Jython was the right job for a solution.  Maybe me saying "It would take me three weeks in Java, but only two in Jython" helped my argument. :)

One issue that I do have is the .$py.class that Jython generates from .py files that it imports.  Our production environment is monitored for file changes.  So if Jython generates a $py.class file, we will receive a nasty-gram saying that we have added files. etc.  Is there a way to turn off the $py.class compilation?  Or does anyone have any other suggestions?

--
Mike Hostetler
http://mike.hostetlerhome.com/


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jython-users mailing list
Jython-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jython-users
Leo Soto M. | 20 Aug 20:25

Re: Controlling .$py.class compiling

On Wed, Aug 20, 2008 at 1:39 PM, Mike Hostetler <hostetlerm <at> gmail.com> wrote:
> The good news is -- I finally convinced the Powers That Be that Jython was
> the right job for a solution.  Maybe me saying "It would take me three weeks
> in Java, but only two in Jython" helped my argument. :)
>
> One issue that I do have is the .$py.class that Jython generates from .py
> files that it imports.  Our production environment is monitored for file
> changes.  So if Jython generates a $py.class file, we will receive a
> nasty-gram saying that we have added files. etc.  Is there a way to turn off
> the $py.class compilation?  Or does anyone have any other suggestions?

How about pre-compiling all your.py files to $py.class before
installing on the production environment? Would that work?
--

-- 
Leo Soto M.
http://blog.leosoto.com

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Gmane