Skip to content

Commit

Permalink
Merge pull request #1 from MyCATApache/1.6
Browse files Browse the repository at this point in the history
跟新代码
  • Loading branch information
songwie authored Jan 7, 2017
2 parents bd47a75 + 4db6c77 commit c08a811
Show file tree
Hide file tree
Showing 355 changed files with 21,302 additions and 6,478 deletions.
24 changes: 12 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.mycat</groupId>
<artifactId>Mycat-server</artifactId>
<version>1.6-ALPHA</version>
<version>1.6.5-DEV</version>
<packaging>jar</packaging>
<name>Mycat-server</name>
<description>The project of Mycat-server</description>
Expand Down Expand Up @@ -68,13 +68,12 @@
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid</artifactId>
<version>1.0.23</version>
<version>1.0.26</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.35</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.sf.ehcache</groupId>
Expand Down Expand Up @@ -127,7 +126,7 @@
<dependency>
<groupId>com.univocity</groupId>
<artifactId>univocity-parsers</artifactId>
<version>2.1.1</version>
<version>2.2.1</version>
<type>jar</type>
</dependency>

Expand Down Expand Up @@ -156,17 +155,17 @@
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-framework</artifactId>
<version>2.10.0</version>
<version>2.11.0</version>
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-recipes</artifactId>
<version>2.10.0</version>
<version>2.11.0</version>
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-test</artifactId>
<version>2.10.0</version>
<version>2.11.0</version>
<scope>test</scope>
<exclusions>
<exclusion>
Expand All @@ -175,11 +174,6 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>1.17</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
Expand All @@ -192,6 +186,12 @@
<version>2.9.3</version>
</dependency>

<dependency>
<groupId>com.github.shyiko</groupId>
<artifactId>mysql-binlog-connector-java</artifactId>
<version>0.6.0</version>
</dependency>


<dependency>
<groupId>org.mockito</groupId>
Expand Down
2 changes: 1 addition & 1 deletion src/main/assembly/bin/init_zk_data.bat
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ set "CURR_DIR=%cd%"
cd ..
set "MYCAT_HOME=%cd%"
cd %CURR_DIR%
"%JAVA_CMD%" -Xms256M -Xmx1G -XX:MaxPermSize=64M -DMYCAT_HOME=%MYCAT_HOME% -cp "..\conf;..\lib\*" demo.catlets.ZkCreate
%JAVA_CMD% -Xms256M -Xmx1G -XX:MaxPermSize=64M -DMYCAT_HOME=%MYCAT_HOME% -cp "..\conf;..\lib\*" io.mycat.config.loader.zkprocess.xmltozk.XmltoZkMain
2 changes: 1 addition & 1 deletion src/main/assembly/bin/init_zk_data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

echo "check JAVA_HOME & java"
JAVA_CMD=$JAVA_HOME/bin/java
MAIN_CLASS=demo.catlets.ZkCreate
MAIN_CLASS=io.mycat.config.loader.zkprocess.xmltozk.XmltoZkMain
if [ ! -d "$JAVA_HOME" ]; then
echo ---------------------------------------------------
echo WARN: JAVA_HOME environment variable is not set.
Expand Down
17 changes: 0 additions & 17 deletions src/main/assembly/bin/xml_to_yaml.bat

This file was deleted.

19 changes: 0 additions & 19 deletions src/main/assembly/bin/xml_to_yaml.sh

This file was deleted.

8 changes: 4 additions & 4 deletions src/main/assembly/conf/log4j2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
<PatternLayout pattern="%d [%-5p][%t] %m %throwable{full} (%C:%F:%L) %n"/>
</Console>

<RollingFile name="RollingFile" fileName="/logs/mycat.log"
filePattern="logs/$${date:yyyy-MM}/mycat-%d{MM-dd}-%i.log.gz">
<PatternLayout>
<RollingFile name="RollingFile" fileName="${sys:MYCAT_HOME}/logs/mycat.log"
filePattern="${sys:MYCAT_HOME}/logs/$${date:yyyy-MM}/mycat-%d{MM-dd}-%i.log.gz">
<PatternLayout>
<Pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} %5p [%t] (%l) - %m%n</Pattern>
</PatternLayout>
<Policies>
Expand All @@ -24,7 +24,7 @@
<!--</AsyncLogger>-->
<asyncRoot level="info" includeLocation="true">

<AppenderRef ref="Console" />
<!--<AppenderRef ref="Console" />-->
<AppenderRef ref="RollingFile"/>

</asyncRoot>
Expand Down
Loading

0 comments on commit c08a811

Please sign in to comment.