mirror of
https://github.com/Rogiel/l2jserver2
synced 2025-12-06 07:32:46 +00:00
Implement XML configuration files instead of .properties
Added support for XML configuration files. Instead of each interface loading it's own file, a single XML file will contain all properties and parsing XML file will be done at service start. Created a new annotation: @ConfigurationXPath and removed "name" argument from @ConfigurationPropertySetter and @ConfigurationPropertyGetter. Also, moves @ConfigurationName to ProxyConfigurationService since it is not used by the XML implementation.
This commit is contained in:
16
config/properties/template.properties
Normal file
16
config/properties/template.properties
Normal file
@@ -0,0 +1,16 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# XMLTemplateService configuration
|
||||
# ---------------------------------------------------------------------------
|
||||
# Parameters in this file are used by XMLTemplateService.
|
||||
# If you are not sure on the usage of any parameter, read the "Configuration"
|
||||
# section in wiki article about "XMLTemplateService".
|
||||
# https://github.com/l2jserver2/
|
||||
# ---------------------------------------------------------------------------
|
||||
# NOTE: this is the development configuration file. Always remember to add
|
||||
# new parameters to "dist/config" files too!
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# The directory in which templates are located. All template files must be
|
||||
# in .xml # file format. Must be relative to 'vfs.root' (vfs.properties)
|
||||
# Default: data/templates
|
||||
template.directory = data/templates
|
||||
Reference in New Issue
Block a user