From 257b06ab39e7aea86107471a7e2ed77febdefee8 Mon Sep 17 00:00:00 2001 From: NieYong Date: Wed, 30 Nov 2016 20:05:25 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=AF=91=E6=89=93=E5=8C=85=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=E5=92=8C=E6=96=87=E6=A1=A3=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.xml | 2 +- doc/guide/01-compile.md | 27 +++++++++++++++++++-------- pom.xml | 4 ++-- 3 files changed, 22 insertions(+), 11 deletions(-) diff --git a/build.xml b/build.xml index d803be2..0089817 100644 --- a/build.xml +++ b/build.xml @@ -1,6 +1,6 @@ - + diff --git a/doc/guide/01-compile.md b/doc/guide/01-compile.md index 2dc4514..b05b9c2 100644 --- a/doc/guide/01-compile.md +++ b/doc/guide/01-compile.md @@ -1,16 +1,27 @@ -1、获取threadpool4j源码。 -```shell +# 1、获取源码。 +```bash git clone https://github.com/aofeng/threadpool4j ``` -2、编译源码生成jar。 - +# 2、编译源码并生成jar +## 方式一:Ant 进入项目根目录,执行ant脚本: -```shell +```bash ant ```` -会生成一个dist目录,下面有两个文件。如: +会生成一个`dist`目录,下面有两个文件。如: +
+threadpool4j-2.5.0-src.jar    源码jar
+threadpool4j-2.5.0.jar        用于发布的二进制jar
+
+ +## 方式二:Maven +进入项目根目录,执行maven脚本: +```bash +mvn package +``` +会生成一个`target`目录,下面有两个文件。如:
-threadpool4j-2.1.0-src.jar    源码jar
-threadpool4j-2.1.0.jar        用于发布的二进制jar
+threadpool4j-2.5.0-src.jar    源码jar
+threadpool4j-2.5.0.jar        用于发布的二进制jar
 
diff --git a/pom.xml b/pom.xml index 4de78de..0a3c4ee 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ cn.aofeng threadpool4j - 2.1.0 + 2.5.0 threadpool4j https://github.com/aofeng/threadpool4j @@ -45,7 +45,7 @@ cn.aofeng common4j - 0.1.0 + 0.2.2 compile