Compilation of the Openflowjava of Opendaylight

Source: Internet
Author: User
Tags using git

The first thing you need to do to start researching opendaylight is to compile your project.

Because the project code is on git.opendaylight.org, the Git tool needs to be installed first.

Also because the Opendaylight project is organized with Pom.xml, MAVEN needs to be installed (preferably above 3.0), Java (1.7.0_45 above).

Here is a compilation of Openflowjava, either Windows or Linux environments.

The Openflowjava project is relatively small and more easily compiled.

1. Download Openflowjava

Using Git to download,

git clone https://git.opendaylight.org/gerrit/p/openflowjava.git

When the download is complete, go to the directory and switch the project version to RELEASE/HELIUM-SR3,

git checkout Release/helium-sr3

Here SR3 or SR2 versions can be compiled through, the master version is not stable, so the default master version is not generally compiled.

Compiling the project

Install

Here once passed.

Sometimes it may be possible to download a jar package for network reasons, cause the project to fail to compile, recompile, or wait some time for the network to recompile, or download the jar directly from the Web to the Maven repository directory.

Under Windows, it is possible that the directory is too long to cause mvn clean when the target folder under Maven is dropped under the project, resulting in a compilation failure, using 360 guards, etc., forcing the deletion of the corresponding folder, and then recompiling.

Compilation of the Openflowjava of Opendaylight

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.