#api,deviceserver, jetty, tomcat eclipse configuration
First git clone edogserver, deviceserver
cd edogserver ;
switch to remote newuser branch: git checkout -t origin/newuser to
download and start eclipse, create a new folder in the same directory of edogserver as workspace Use, do not use edogserver as workspace, because the edogserver folder is git version controlled.
Import the project into eclipse:
Window/Show View/Other/Git/Git Repositories click 'Ok'
Working Directory/api Right-click on import project
Working Directory/common Right-click on import project
Working Directory/deviceserver Right-click on import project
to import jetty into eclipse:
Go to the plugins in the original eclipse folder, copy all the files containing 'jetty' to the plugins corresponding to the new eclipse, restart eclipse
and then go to eclipse,
Window/Show View/servers click 'Ok' , there will be a servers tab at the bottom, select servers, add servers and select jetty8.1, tomcat7.0 (or right-click in the blank space in servers, New/Server select the corresponding version under Apache tomcat v7.0, jetty v8.1 under jetty)
Configure jetty:
double-click jetty under servers, configure timeout start: 300 end: 150
Click Open lanuch configuration, select Classpath tab, Add External JARs, directory: /hoome/work /servers/jetty-api/lib/annotations/{javax.annotation-*.jar,org.objectweb.asm-*.jar} Import
the api into jetty:
right-click jetty under servers, Add and Remove, and change the api from Import from left to right
eclipse configuration environment
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=326397733&siteId=291194637
Recommended
Ranking