Commit c81a8352 authored by Stephane Nicoll's avatar Stephane Nicoll

Merge pull request #7002 from candrews:patch-3

* pr/7002:
  Exclude `META-INF/build-info.properties` from restart
parents 85fb2735 d94eedfd
...@@ -60,7 +60,7 @@ public class DevToolsProperties { ...@@ -60,7 +60,7 @@ public class DevToolsProperties {
private static final String DEFAULT_RESTART_EXCLUDES = "META-INF/maven/**," private static final String DEFAULT_RESTART_EXCLUDES = "META-INF/maven/**,"
+ "META-INF/resources/**,resources/**,static/**,public/**,templates/**," + "META-INF/resources/**,resources/**,static/**,public/**,templates/**,"
+ "**/*Test.class,**/*Tests.class,git.properties"; + "**/*Test.class,**/*Tests.class,git.properties,META-INF/build-info.properties";
private static final long DEFAULT_RESTART_POLL_INTERVAL = 1000; private static final long DEFAULT_RESTART_POLL_INTERVAL = 1000;
......
...@@ -36,7 +36,7 @@ public class DevToolsPropertiesTests { ...@@ -36,7 +36,7 @@ public class DevToolsPropertiesTests {
assertThat(restart.getAllExclude()).containsOnly("META-INF/maven/**", assertThat(restart.getAllExclude()).containsOnly("META-INF/maven/**",
"META-INF/resources/**", "resources/**", "static/**", "public/**", "META-INF/resources/**", "resources/**", "static/**", "public/**",
"templates/**", "**/*Test.class", "**/*Tests.class", "git.properties", "templates/**", "**/*Test.class", "**/*Tests.class", "git.properties",
"foo/**", "bar/**"); "META-INF/build-info.properties", "foo/**", "bar/**");
} }
@Test @Test
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment