Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
apache
SkyWalking
提交
81d88a4e
S
SkyWalking
项目概览
apache
/
SkyWalking
上一次同步 大约 1 年
通知
302
Star
21345
Fork
6091
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
SkyWalking
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
81d88a4e
编写于
3月 18, 2018
作者:
wu-sheng
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update docs for alpha release
上级
75a046c2
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
34 addition
and
22 deletion
+34
-22
NOTICE
NOTICE
+0
-8
apm-dist/pom.xml
apm-dist/pom.xml
+6
-6
docs/cn/How-to-build-CN.md
docs/cn/How-to-build-CN.md
+14
-4
docs/en/How-to-build.md
docs/en/How-to-build.md
+14
-4
未找到文件。
NOTICE
浏览文件 @
81d88a4e
...
...
@@ -44,14 +44,6 @@ networking library, which can be obtained at:
* LOCATION_IN_GRPC:
* netty/third_party/netty
========================================================================
elasticsearch NOTICE
========================================================================
Elasticsearch
Copyright 2009-2017 Elasticsearch
This product includes software developed by The Apache Software
Foundation (http://www.apache.org/).
==============================================================
Jetty NOTICE
...
...
apm-dist/pom.xml
浏览文件 @
81d88a4e
...
...
@@ -9,7 +9,7 @@
</parent>
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
ap
m-dist
</artifactId>
<artifactId>
ap
ache-skywalking-apm-incubating
</artifactId>
<packaging>
pom
</packaging>
...
...
@@ -32,7 +32,7 @@
</dependencies>
<build>
<finalName>
skywalking-dist
</finalName>
<finalName>
apache-skywalking-apm-incubating
</finalName>
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
...
...
@@ -67,10 +67,10 @@
</goals>
<configuration>
<tasks>
<copy
file=
"${project.build.directory}/
skywalking-dist
.tar.gz"
tofile=
"${project.basedir}/../dist/
skywalking-dist
.tar.gz"
overwrite=
"true"
/>
<copy
file=
"${project.build.directory}/
skywalking-dist
.zip"
tofile=
"${project.basedir}/../dist/
skywalking-dist
.zip"
overwrite=
"true"
/>
<copy
file=
"${project.build.directory}/
apache-skywalking-apm-incubating
.tar.gz"
tofile=
"${project.basedir}/../dist/
apache-skywalking-apm-incubating
.tar.gz"
overwrite=
"true"
/>
<copy
file=
"${project.build.directory}/
apache-skywalking-apm-incubating
.zip"
tofile=
"${project.basedir}/../dist/
apache-skywalking-apm-incubating
.zip"
overwrite=
"true"
/>
</tasks>
</configuration>
</execution>
...
...
docs/cn/How-to-build-CN.md
浏览文件 @
81d88a4e
...
...
@@ -4,15 +4,25 @@
### 前言
因为工程结构和代码依赖会随版本变化,如果读者熟悉travis-ci,则可直接参考
[
.travis.yml
](
../../.travis.yml
)
### 编译步骤
1.
准备环境,jdk8,Maven
**工程使用Git Submodule,所以不建议使用GitHub的tag和release页面的源码下载,来编译工程**
### 从GitHub下载代码编译
1.
准备环境: git, jdk8,Maven
1.
`git clone https://github.com/apache/incubator-skywalking.git`
1.
`cd incubator-skywalking/`
1.
切换到tag
`git checkout [tagname]`
(可选,当需要编译发行版本时,请是切换到指定分支)
1.
`git submodule init`
1.
`git submodule update`
1.
执行
`mvn clean package`
1.
生成包在
`/dist`
目录下,两个skywalking-dist包(.tar.gz是linux环境,.zip是windows环境)
1.
生成包在
`/dist`
目录下,共发布包(.tar.gz是linux环境,.zip是windows环境)
### 从Apache源码镜像下载编译
1.
准备环境: jdk8,Maven
1.
执行
`mvn clean package`
1.
生成包在
`/dist`
目录下,共发布包(.tar.gz是linux环境,.zip是windows环境)
##
#
在IntelliJ IDEA中编译工程
## 在IntelliJ IDEA中编译工程
上述步骤在命令行中,能够很好的编译工程,但导入到编译器中的工程依然会有一些报错,我们需要进行几步简单的操作。
1.
在IntelliJ Terminal中,执行
`mvn compile -Dmaven.test.skip=true`
进行编译
1.
设置gRPC的自动生成代码目录,为源码目录
...
...
docs/en/How-to-build.md
浏览文件 @
81d88a4e
# How to build project
This document helps people to compile and build the project in your maven and IDE.
This document helps people to compile and build the project in your maven and
set your
IDE.
## Build in maven
1.
Prepare JDK8 and maven3
## Build Project
**Because we are using Git submodule, we recommend don't use `GitHub` tag or release page to download source codes for compiling.**
.
### Build from GitHub
1.
Prepare git, JDK8 and maven3
1.
`git clone https://github.com/apache/incubator-skywalking.git`
1.
`cd incubator-skywalking/`
1.
Switch to the tag by using
`git checkout [tagname]`
(Optional, switch if want to build a release from source codes)
1.
`git submodule init`
1.
`git submodule update`
1.
Run
`mvn clean package`
1.
All packages are in
`/dist`
, which includes and two collector files(.tar.gz for Linux and .zip for Windows)
1.
All packages are in
`/dist`
, which includes two collector files(.tar.gz for Linux and .zip for Windows).
### Build from Apache source codes
1.
Prepare JDK8 and maven3
1.
Run
`mvn clean package`
1.
All packages are in
`/dist`
, which includes two collector files(.tar.gz for Linux and .zip for Windows).
## Setup your IntelliJ IDEA
1.
Import the project as a maven project
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录