Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def webContentDist(self):
# We just compiled ourself, which caused a recompile
# of winstone server, so there's no need to recompile it.
# In fact, recompiling it would be bad, as it would nuke
# our carefully constructed tnoodle_resources.
tmt.WinstoneServer.dist(noRemake=True, implementationTitle=self.fullName)
tmt.WinstoneServer.distJarFile()
shutil.copy(tmt.WinstoneServer.distJarFile(), self.distJarFile())
project.__class__.webContentDist = webContentDist
def webContentDist(self):
# We just compiled ourself, which caused a recompile
# of winstone server, so there's no need to recompile it.
# In fact, recompiling it would be bad, as it would nuke
# our carefully constructed tnoodle_resources.
tmt.WinstoneServer.dist(noRemake=True, implementationTitle=self.fullName)
tmt.WinstoneServer.distJarFile()
shutil.copy(tmt.WinstoneServer.distJarFile(), self.distJarFile())
project.__class__.webContentDist = webContentDist