Skip to content

Develop With Eclipse

southernbear edited this page Nov 29, 2012 · 2 revisions

Home > Developing > Develop with Eclipse

For these who uses Eclipse to develop projects

Clone Git repository as Java Project

  1. File -> Import -> Git -> Projects from Git -> URI -> Enter our repository
  2. Next... until ask to import porject -> Import existing projects -> finish
  3. Close Eclipse
  4. Open the project location and edit .project
  5. In buildSpec tag, add
<buildCommand>
        <name>org.eclipse.jdt.core.javabuilder</name>
    </buildCommand>
 In _natures_ tag, add 
<nature>org.eclipse.jdt.core.javanature</nature>
  1. create and edit .classpath
<?xml version="1.0" encoding="UTF-8"?>
    <classpath>
        <classpathentry kind="src" path="src"/>
        <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
        <classpathentry kind="output" path="bin"/>
    </classpath>
  1. Start Eclipse

Clone this wiki locally