(→Server Properties)
|
(→3.7.* Versions)
|
Line 21: | |||
A relative path can be given as the value and the relative path is calculated from the server's bin directory. A absolute path is also an option. | A relative path can be given as the value and the relative path is calculated from the server's bin directory. A absolute path is also an option. | ||
+ | = 3.8.* Versions = | ||
+ | To override the default storage location for the AnthillPro server and/or agent, modify the ''installed.properties'' file to pass a system property, or follow the same method as above as an alternative. | ||
+ | == Modify the installed.properties file == | ||
+ | Go to the '''anthillpro server's \conf\server directory''' and open the installed.properties file inside a smart text editor, such as [http://www.vim.org/ vim] or [http://notepad-plus-plus.org/ Notepad++]. Then, navigate to the end of the file. Append each property you want to add here in the following format: | ||
+ | <pre>propertyname=path</pre> | ||
+ | You need to escape strings, though: | ||
+ | <pre>property.to.modify=C\:\\ParentDir\\ChildDir</pre> | ||
+ | A relative path can be given as the value and the relative path is calculated from the server's bin directory. A absolute path is also an option. | ||
+ | == Modify the ah3server.cmd or ah3server file == | ||
+ | Go to the '''anthillpro server's \bin\ directory''' and open the ah3server.cmd or ah3server file (depending on which operating system you installed with) inside a smart text editor, such as [http://www.vim.org/ vim] or [http://notepad-plus-plus.org/ Notepad++]. Then, locate the '''JAVA_OPTS''' line. Append properties to the end of this line, to add them to the startup script. They will need added in the following format: | ||
+ | <pre>-Dpropertyname="path"</pre> | ||
+ | A relative path can be given as the value and the relative path is calculated from the server's bin directory. A absolute path is also an option. | ||
= Available Directory Overrides = | = Available Directory Overrides = | ||