Minor: print a deprecation warning when the web server starts.

This commit is contained in:
Mike Hearn 2017-10-02 11:42:18 +01:00
parent 9a16011448
commit 831df4bc3d

View File

@ -36,6 +36,9 @@ fun main(args: Array<String>) {
System.setProperty("log-path", (cmdlineOptions.baseDirectory / "logs/web").toString())
val log = LoggerFactory.getLogger("Main")
println("This Corda-specific web server is deprecated and will be removed in future.")
println("Please switch to a regular web framework like Spring, J2EE or Play Framework.")
println()
println("Logs can be found in ${System.getProperty("log-path")}")
val conf = try {