Browse Source

set the DB host for wicket

Keith Newman 9 years ago
parent
commit
7d50729fe7
1 changed files with 1 additions and 0 deletions
  1. 1 0
      frameworks/Java/wicket/setup.sh

+ 1 - 0
frameworks/Java/wicket/setup.sh

@@ -3,6 +3,7 @@
 fw_depends java resin maven
 fw_depends java resin maven
 
 
 sed -i 's|127.0.0.1|'${DBHOST}'|g' src/main/webapp/WEB-INF/resin-web.xml
 sed -i 's|127.0.0.1|'${DBHOST}'|g' src/main/webapp/WEB-INF/resin-web.xml
+sed -i 's|localhost|'${DBHOST}'|g' src/main/java/hellowicket/WicketApplication.java
 
 
 mvn clean compile war:war
 mvn clean compile war:war
 rm -rf $RESIN_HOME/webapps/*
 rm -rf $RESIN_HOME/webapps/*