Thanks...
In fact that link you give to SO is the one I put in my original post... it's the question I posed a couple of days ago.
Thanks for the link to Ruby... but the message "Cleared all cached runtimes" looks a bit like it's doing what I don't want it to do: to clear *everything*. I only want certain working files, which are subject to change, to be cleared from cache. If you clear everything then presumably the startup time is going to be the normal, lengthy Jython startup time each time you run your app/UTs...
From: helix84 <he...@ce...>
To: Mike Rodent <mro...@ya...>
Cc: Jython Users <jyt...@li...>
Sent: Thursday, 26 November 2015, 16:10
Subject: Re: [Jython-users] Jython and Nailgun?
I used Nailgun in the past, but not with Jython.
Did you try stopping the Nailgun server using ng-stop?
Here's essentially the same question, unanswered. If we learn the
answer, it would be good to add an answer there, too.
http://stackoverflow.com/questions/33813959/clear-some-stuff-from-nailgun-cache-usage-jython
Here's a project in Ruby that uses Nailgun.
https://svn.apache.org/repos/asf/buildr/tags/1.3.3/addon/buildr/nailgun.rb
I don't read Ruby, but it seems they do this, whatever that is:
Nailgun.ng.server.cached_runtimes.clear
Nailgun.ng.server.cached_stamps.clear
Nailgun.ng.server.loaded_times.clear
info "Cleared all cached runtimes"
Regards,
~~helix84
|