Authored by ming

refactor

1 set JAVA_MEM_OPT= -Xms1024m -Xmx1024m -XX:MaxPermSize=128m -Djava.net.preferIPv4Stack=true 1 set JAVA_MEM_OPT= -Xms1024m -Xmx1024m -XX:MaxPermSize=128m -Djava.net.preferIPv4Stack=true
2 set JAVA_HOME=/usr/local/java 2 set JAVA_HOME=/usr/local/java
3 -set WEB_APP_HOME=/home/master/yoho-search/deploy 3 +set WEB_APP_HOME=/home/dev/yoho-search-service/deploy
4 4
5 5
6 set CATALINA_HOME=/usr/local/tomcat 6 set CATALINA_HOME=/usr/local/tomcat
7 -set CATALINA_BASE=/home/master/yoho-search/deploy/tomcat_server 7 +set CATALINA_BASE=/home/dev/yoho-search-service/deploy/tomcat_server
8 8
9 9
10 rem set JAVA_DEBUG_OPT= -server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8082,server=y,suspend=n 10 rem set JAVA_DEBUG_OPT= -server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8082,server=y,suspend=n
@@ -23,7 +23,7 @@ @@ -23,7 +23,7 @@
23 <dependencies> 23 <dependencies>
24 <dependency> 24 <dependency>
25 <groupId>com.yoho.search</groupId> 25 <groupId>com.yoho.search</groupId>
26 - <artifactId>services</artifactId> 26 + <artifactId>search-service</artifactId>
27 <version>${project.version}</version> 27 <version>${project.version}</version>
28 </dependency> 28 </dependency>
29 <dependency> 29 <dependency>
@@ -59,7 +59,7 @@ @@ -59,7 +59,7 @@
59 </dependencies> 59 </dependencies>
60 60
61 <modules> 61 <modules>
62 - <module>services</module> 62 + <module>service</module>
63 <module>web</module> 63 <module>web</module>
64 <module>deploy</module> 64 <module>deploy</module>
65 </modules> 65 </modules>
@@ -8,7 +8,7 @@ @@ -8,7 +8,7 @@
8 <artifactId>yoho-search-service</artifactId> 8 <artifactId>yoho-search-service</artifactId>
9 <version>1.0.0-SNAPSHOT</version> 9 <version>1.0.0-SNAPSHOT</version>
10 </parent> 10 </parent>
11 - <artifactId>services</artifactId> 11 + <artifactId>search-service</artifactId>
12 12
13 <dependencies> 13 <dependencies>
14 <dependency> 14 <dependency>
@@ -18,7 +18,7 @@ @@ -18,7 +18,7 @@
18 </dependency> 18 </dependency>
19 <dependency> 19 <dependency>
20 <groupId>com.yoho.search</groupId> 20 <groupId>com.yoho.search</groupId>
21 - <artifactId>services</artifactId> 21 + <artifactId>search-service</artifactId>
22 </dependency> 22 </dependency>
23 <dependency> 23 <dependency>
24 <groupId>com.yoho.search</groupId> 24 <groupId>com.yoho.search</groupId>