Merge branch '2.0.x'

This commit is contained in:
Phillip Webb
2018-07-28 01:35:43 +01:00
360 changed files with 1434 additions and 1439 deletions

View File

@@ -70,9 +70,9 @@ abstract class AbstractApplicationLauncher extends ExternalResource {
private Process startApplication() throws Exception {
File workingDirectory = getWorkingDirectory();
File serverPortFile = (workingDirectory != null
File serverPortFile = (workingDirectory != null)
? new File(workingDirectory, "target/server.port")
: new File("target/server.port"));
: new File("target/server.port");
serverPortFile.delete();
File archive = this.applicationBuilder.buildApplication();
List<String> arguments = new ArrayList<>();