Skip to content

Commit

Permalink
Decouple installation and deployment (vivo-project#479)
Browse files Browse the repository at this point in the history
* removed home directory modifications by maven

* fixed war file deployment

included vitro home into installer webapp

* Updated home directory on startup, fixed rdf file loading

* create home directory path if not exists

* Refactored code, fixed UpdateKnowledgeBase and FauxPropertiesUpdater. Added tests.

* Reduced nesting, used more specific exception.

* Fixed idents and other code style in VitroHomeDirectory. Removed VitroHomeDirectory from checkstyle suppressions
  • Loading branch information
litvinovg authored Jan 10, 2025
1 parent 23ad9f5 commit 53ca1d8
Show file tree
Hide file tree
Showing 11 changed files with 348 additions and 316 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ public void contextInitialized(ServletContextEvent sce) {
this.vitroHomeDir = VitroHomeDirectory.find(ctx);
ss.info(this, vitroHomeDir.getDiscoveryMessage());

this.vitroHomeDir.populate();

locateApplicationConfigFile();
loadApplicationConfigFile();
createConfigurationBeanLoader();
Expand Down
Loading

0 comments on commit 53ca1d8

Please sign in to comment.