Introduction to Zookeeper-001 Source Environment Construction

1. Go to github to download the source code: https://github.com/apache/zookeeper

 

 

2. Use ant to compile the source code into an eclipse project:

Solve the problem of ant eclipse ant eclipse execution failure:

         get src="http://downloads.sourceforge.net/project/ant-eclipse/ant-eclipse/1.0/ant-eclipse-1.0.bin.tar.bz2"

Change to the following address

        get src="http://ufpr.dl.sourceforge.net/project/ant-eclipse/ant-eclipse/1.0/ant-eclipse-1.0.bin.tar.bz2"

 

3. Import the idea, and then generate the jar package from the bulid source code:

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326173511&siteId=291194637