These files are the main configuration files of an OpenLegacy project.

  • src/main/resources/application.properties – Common application properties settings are defined and commented here. This property file is load by all types of the project spring context files.
  • src/main/resources/host.properties – Contains the host session connection settings. Loaded into the host connectivity beans.
  • src/main/resources/log4j.properties – Logging properties
  • src/main/resources/META-INF/spring/applicationContext.xml – Spring main application context file of the web project. Useful for customizing the project beans
  • src/main/webapp/WEB-INF/spring/webmvc-config.xml – Spring MVC main web application context file of the web project. Useful for customizing controllers, views and web resources settings (Need good Spring MVC knowledge)
  • src/main/resources/META-INF/spring/applicationContext-test.xml – Spring main JUnit application context of the project. Used in all OpenLegacy generated JUnit tests.
  • src/main/webapp/WEB-INF/spring/actions-mappings.xml – Keyboard mapping between keyboard keys (ENTER, F1, PAGEDOWN, etc) to host command ([enter], [pf1], [pgdown], etc).
  • src/main/resources/META-INF/spring/openlegacy-designtime-context.xml (available only after project right-click -> OpenLegacy -> Customize Analyzer rules) – Contains spring based configuration for trails analysis to API model. Allows to enable/disable all rules, add new rules and customize parameters for all rules
  • src/main/webapp/WEB-INF/web/views/views.xml / src/main/webapp/WEB-INF/web/views/views.xml – Defines mapping between logical view names (typically screen entities names) to jspx files view, including the parent template (extends attribute)
  • src/main/webapp/WEB-INF/web/templates/layouts.xml / src/main/webapp/WEB-INF/mobile/layouts.xml – Defines a layout for template names (e.g: menu, public, template, view, etc). Each template layout defines the structure of the page, and allows views defined in views.xml to use these template layouts.