提交 662a5b06 编写于 作者: K kohsuke

improving diagnostics message

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11564 71c3de6d-444a-0410-be80-ed276b4c234a
上级 d1c082f0
......@@ -32,13 +32,13 @@ final class WarExploder {
File timestamp = new File(explodeDir,".timestamp");
if(!timestamp.exists() || (timestamp.lastModified()==war.lastModified())) {
System.out.println("Picking up hudson.war at "+war);
System.out.println("Exploding hudson.war at "+war);
new FilePath(explodeDir).deleteRecursive();
new FilePath(war).unzip(new FilePath(explodeDir));
new FileOutputStream(timestamp).close();
timestamp.setLastModified(war.lastModified());
} else {
System.out.println("Picking up existing exploded hudson.war");
System.out.println("Picking up existing exploded hudson.war at "+explodeDir.getAbsolutePath());
}
return explodeDir;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册