build: rollback
parent
fd40fa86a1
commit
ec1c1adae5
@ -1,22 +1,19 @@
|
||||
package cokr.xit.adds;
|
||||
|
||||
import org.springframework.boot.Banner;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.builder.SpringApplicationBuilder;
|
||||
import org.springframework.boot.context.ApplicationPidFileWriter;
|
||||
|
||||
import cokr.xit.base.boot.XitBaseApplication;
|
||||
|
||||
public class XitBootApplication extends XitBaseApplication {
|
||||
public static void main(String[] args) {
|
||||
//SpringApplication.run(XitBootApplication.class, args);
|
||||
SpringApplication.run(XitBootApplication.class, args);
|
||||
|
||||
final SpringApplicationBuilder applicationBuilder = new SpringApplicationBuilder(XitBootApplication.class);
|
||||
final SpringApplication application = applicationBuilder.build();
|
||||
application.setBannerMode(Banner.Mode.OFF);
|
||||
application.setLogStartupInfo(false);
|
||||
|
||||
application.addListeners(new ApplicationPidFileWriter( "adds-fo.pid"));
|
||||
application.run(args);
|
||||
// final SpringApplicationBuilder applicationBuilder = new SpringApplicationBuilder(XitBootApplication.class);
|
||||
// final SpringApplication application = applicationBuilder.build();
|
||||
// application.setBannerMode(Banner.Mode.OFF);
|
||||
// application.setLogStartupInfo(false);
|
||||
//
|
||||
// application.addListeners(new ApplicationPidFileWriter( "adds-fo.pid"));
|
||||
// application.run(args);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue