Steps to code Analysis for Eclipse import Robotium source on GitHub

Source: Internet
Author: User

This article should be only for the primary MAVEN users like me, because they spend a lot of time to solve this problem, and many articles on the internet is also vague, so record it so that later as I can learn from one or two. There are a few details that I think need to be noticed and I will highlight it.

1. Description of the problem

Today I'm going to look at Robotum (whose project itself is based on Maven, because I found the project has the Pom.xml file) framework of the source code to understand its specific implementation to deepen understanding, but after downloading, follow the cognitive approach to import Maven Project will find function jumps and other functions do not work, press F3 to locate a function declaration position when it appears:

Problems opening an editor.   Reasons:    XXX does not exist   

2. Steps to Resolve

2.1. Download Robotium Source code


2.2 Decompression
2.3 command line into the extracted source package execution MVN Eclipse:eclipseThis command, I think the main function is to automatically help us to generate the Elicpse project must. Project file, the source code we downloaded from GitHub does not have this file, which means that it is not the Eclipse project by default. It is important to note that we are running commands at the top of the project, butthe corresponding project information is written under the Robotium-solo folder in the top-level directory. Project below, so when we do import in the time to import is not the top-level directory of the specified project

2.4 Import maven ProjectA. Import Existing Maven Projects
B. Select the Import project path,Remember that this is not the top-level "Robotium-master" but the "Robotium-solo" under its subdirectory.

C. Click Finish to complete the project import

Steps to code Analysis for Eclipse import Robotium source on GitHub

Related Article

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.