@ Deprecated public EmbeddedTomcat addContextEnvironmentAndResourceFromFile ( String contextFile ) { try { setContextFile ( new File ( contextFile ) . toURI ( ) . toURL ( ) ) ; } catch ( MalformedURLException e ) { throw new RuntimeException ( e ) ; } return this ; }
Read ContextEnvironment and ContextResource definition from a text file .