Skip to content
Permalink
Browse files

[FIXED JENKINS-15120]

- integrated the newer release of remoting
- jar caching won't work with class file directory, so plugin
  WEB-INF/classes are now exploded as WEB-INF/lib/classes.jar
  (This should also solve the problem of slow plugin extraction in the
  presene of Anti-virus software on Windows.)
- because the structure of the exploded jar file has changed, I changed
  the up-to-date check timestamp file name to force re-extraction in
  existing installations.

Originally-Committed-As: f7330d7a158eff6705706b1f812993a9b918c351
  • Loading branch information
kohsuke committed Jun 8, 2013
1 parent 7e17b3d commit 97b452ecc95a5546c471198126834f770a63a249
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/main/java/hudson/maven/Maven3Builder.java
@@ -160,6 +160,9 @@ public Result call() throws IOException {
throw new IOException2(e);
} catch (Exception e) {
throw new IOException2(e);
} finally {
if (DUMP_PERFORMANCE_COUNTERS)
Channel.current().dumpPerformanceCounters(listener.error("Remoting stats"));
}
}

@@ -571,4 +574,6 @@ private String mojoExec(ExecutionEvent event) {
private static final long serialVersionUID = 1L;

private static final Logger LOGGER = Logger.getLogger(Maven3Builder.class.getName());

public static boolean DUMP_PERFORMANCE_COUNTERS = Boolean.getBoolean(Maven3Builder.class.getName()+".dumpPerformanceCounters");
}

0 comments on commit 97b452e

Please sign in to comment.
You can’t perform that action at this time.