Move Application* and *FileWriter classes
Move `ApplicationHome`, `ApplicationPid` and `ApplicationTemp` to the `system` package. Since `system` package is now much lower level, the existing `FileWriter` implementations also needed to move to prevent package tangles. Fixes gh-8614
This commit is contained in:
@@ -18,14 +18,14 @@ package com.example;
|
||||
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.boot.builder.SpringApplicationBuilder;
|
||||
import org.springframework.boot.web.context.EmbeddedServerPortFileWriter;
|
||||
import org.springframework.boot.web.context.WebServerPortFileWriter;
|
||||
|
||||
@SpringBootApplication
|
||||
public class DevToolsTestApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
new SpringApplicationBuilder(DevToolsTestApplication.class)
|
||||
.listeners(new EmbeddedServerPortFileWriter("target/server.port"))
|
||||
.listeners(new WebServerPortFileWriter("target/server.port"))
|
||||
.run(args);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user