All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vmware.vip.LiteBootApplication Maven / Gradle / Ivy

There is a newer version: 0.7.12
Show newest version
/*
 * Copyright 2019-2023 VMware, Inc.
 * SPDX-License-Identifier: EPL-2.0
 */
package com.vmware.vip;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;


@SpringBootApplication
@EnableScheduling
@ComponentScan(basePackages = { "com.vmware" })
public class LiteBootApplication {

	public static void main(String[] args) throws Exception {

		if (args.length > 0) {
			for (String arg : args) {
				
				if (arg.equalsIgnoreCase("-c")|| arg.equalsIgnoreCase("-clean")) {
					
					
					System.setProperty("translation.bundle.file.clean", "true");
					
					break;
				}
			}
		} else {
			System.setProperty("translation.bundle.file.clean", "false");
		}

		SpringApplication.run(LiteBootApplication.class, args);
	}
}
	






© 2015 - 2025 Weber Informatics LLC | Privacy Policy