-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
22 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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`目录,下面有两个文件。如: | ||
<pre> | ||
threadpool4j-2.5.0-src.jar 源码jar | ||
threadpool4j-2.5.0.jar 用于发布的二进制jar | ||
</pre> | ||
|
||
## 方式二:Maven | ||
进入项目根目录,执行maven脚本: | ||
```bash | ||
mvn package | ||
``` | ||
会生成一个`target`目录,下面有两个文件。如: | ||
<pre> | ||
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 | ||
</pre> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters