1.download eclipse and etract it to one folder
# tar zxvf eclipse-reporting-juno-SR2-linux-gtk-x86_64.tar.gz
2.install google app engine plugin
click help menu and under install new software subitem
add new websit
name: googleAppEngine
url: http://dl.google.com/eclipse/plugin/4.2
3. install packages for gwt designer
#sudo apt-get install libwebkitgtk-1.0.0
2013年6月27日 星期四
2013年6月14日 星期五
ubuntu 12.04 install tomcat7 and eclipse
1.install tomcat 7
#apt-get install tomcat7 tomcat7-admin tomcat7-docs tomcat7-examples tomcat7-user
2. download eclipse and install it to system
3. remove the file in eclipse project workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings
#cd /home/myproject/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings
# rm org.eclipse.jst.server.tomcat.core.prefs
#apt-get install tomcat7 tomcat7-admin tomcat7-docs tomcat7-examples tomcat7-user
2. download eclipse and install it to system
3. remove the file in eclipse project workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings
#cd /home/myproject/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings
# rm org.eclipse.jst.server.tomcat.core.prefs
4. ensure eclipse can access tomcat file
#cd /usr/share/tomcat7
#sudo ln -s /var/lib/tomcat7/conf conf
#sudo ln -s /etc/tomcat7/policy.d/03catalina.policy conf/catalina.policy
#sudo ln -s /var/log/tomcat7 log
#sudo chmod -R 777 /usr/share/tomcat7/conf
5.make user /usr/share/tomcat7 had read permission by all user
#cd /usr/share/tomcat7/conf
#sudo chmod 644 tomcat-users.xml
6.on eclipse create runtime-environment
Window->Preferences->Server->RunTime Environment
7.create new run server
windows->show view->servers
訂閱:
文章 (Atom)