Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
comtainer-plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhaoaiqing
comtainer-plugin
Commits
1b8e39ef
Commit
1b8e39ef
authored
Aug 01, 2018
by
qiaokun
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of 180.168.156.212:joe/comtainer-plugin
parents
c98d5df8
da819822
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
0 deletions
+27
-0
readme.md
readme.md
+27
-0
No files found.
readme.md
0 → 100644
View file @
1b8e39ef
1、pom依赖
<dependency>
<groupId>
com.cesgroup.plugin
</groupId>
<artifactId>
container-plugin
</artifactId>
<version>
1.0.0
</version>
</dependency>
2、新建main方法启动
import com.cesgroup.tomcat.plugin.bootstrap.Bootstrap;
import com.cesgroup.tomcat.plugin.bootstrap.Container;
public class Main {
public static void main(String[] args) throws Exception {
String basedir = "/Users/qiaokun/Documents/framework-demo";
Container container = new Bootstrap(basedir);
container.setContext("2016");
container.run();
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment