-
Notifications
You must be signed in to change notification settings - Fork 26
RJRConfigurations
e-ryu edited this page Jan 7, 2016
·
1 revision
This document is a bit overdue for latest version , we will update this document soon.
The scanner configurations is now moved to Source monitor tab of RunConfiguration after 1.3.2
RunJettyRun Configurations for 1.3
- Jetty Version , if you install Jetty7/Jetty8 support , here you could select the version you like . Default is Jetty6. (#1)
- Project , usually the selected one. It's seldom to changed.
- The port , which should not conflict with other existing service or web container , by default is 8080.
- context path, which will be part of your URL, it should start with "/".
- Web application directory ,system will look out the one contains WEB-INF/web.xml , so usually we seldom change it.
- Scan - A button to help you search the folder that contains "WEB-INF/web.xml".
- Only visible when you have M2Eclipse installed, it will exclude all the classpath that endwith test-classes folder.A specific feature for maven project. (Reference to Issue 42 )
- Advanced Options : Kind of expert mode.
- SSL support , check and enter all the data you need , since it's seldom used feature ,it's disabled by default.
- Scanner: Source scanner will scan all the source folder (but not the WEB-INF) , and restart the server when you updated the source code or some resource in the folder , like hibernate.cfg.xml ...etc
- Scanner Interval: the scanner period , default is 5 seconds.
- Scan web-inf folder , it's useful for you need to change web.xml or applicationContext.xml (spring) often and want to restart automatically, it is not enabled by default.
- parentLoaderPriority , a Jetty configuration , my suggestion is better to enable it . For more details , reference to Jetty Classloading.
- JNDI support : if you need JNDI , just enable it.
- A chance to exclude some classpath you don't like , it will use this to match each classpath one by one , if the classpath matched ,RJR won't load it . (The matched result will show up on the console.)
#1 If you select Jetty8 and need to work with JSP (most of projects need JSP support) , you have to configuration the Project JRE for a JDK version. That's the restriction of Jetty8.