Chinaunix首页 | 论坛 | 博客
  • 博客访问: 15497114
  • 博文数量: 2005
  • 博客积分: 11986
  • 博客等级: 上将
  • 技术积分: 22535
  • 用 户 组: 普通用户
  • 注册时间: 2007-05-17 13:56
文章分类

全部博文(2005)

文章存档

2014年(2)

2013年(2)

2012年(16)

2011年(66)

2010年(368)

2009年(743)

2008年(491)

2007年(317)

分类: LINUX

2010-12-01 12:59:06

需要下载大小为205M的Eclipse IDE for Java EE Developers开发完全版eclipse,
在ubuntu 10.04上直接apt-get install eclipse安装的为简化版[luther.gliethttp]
可以这样操作:
1. sudo apt-get install eclipse
2. 下载jee版本的eclipse

3. rm -rf /usr/lib/eclipse/
4. tar jxvf eclipse-jee-helios-SR1-linux-gtk.tar.gz -C /usr/lib/
不过最好还是这样解压释放,这样eclipse/目录下的用户id和组id就是你自己了,也不用改了.
tar jxvf eclipse-jee-helios-SR1-linux-gtk.tar.gz; sudo mv eclipse /usr/lib/
5. 编译ADT
export ECLIPSE_HOME=/usr/lib/eclipse
mkdir ~/eclipse.adt.froyo
sdk/eclipse/scripts/build_server.sh ~/eclipse.adt.froyo luther-gliethttp
(需要注意的是buidid即luther-gliethttp不能出现点'.'符号,否则也会出现如下提示
BUILD FAILED
/usr/lib/eclipse/plugins/org.eclipse.pde.build_3.6.1.R36x_v20100823/scripts/build.xml:35: The following error occurred while executing this line:
/usr/lib/eclipse/plugins/org.eclipse.pde.build_3.6.1.R36x_v20100823/scripts/build.xml:91: The following error occurred while executing this line:
/home/apuser/sprdroid_froyo/sdk/eclipse/buildConfig/customTargets.xml:14: The following error occurred while executing this line:
/home/apuser/sprdroid_froyo/sdk/eclipse/buildConfig/allElements.xml:17: The following error occurred while executing this line:
/usr/lib/eclipse/plugins/org.eclipse.pde.build_3.6.1.R36x_v20100823/scripts/genericTargets.xml:107: java.lang.IllegalArgumentException: invalid format

Total time: 1 second
An error has occurred. See the log file)

Eclipse IDE for Java EE Developers, 205 MB 
Downloaded 653,937 Times
Details





如果不使用jee版本eclipse,在编译ADT时会出现如下错误
BUILD FAILED
/usr/lib/eclipse/plugins/org.eclipse.pde.build_3.6.0.v20100603/scripts/build.xml:35: The following error occurred while executing this line:
/usr/lib/eclipse/plugins/org.eclipse.pde.build_3.6.0.v20100603/scripts/build.xml:91: The following error occurred while executing this line:
/home/luther.gliethttp/sdk/eclipse/buildConfig/customTargets.xml:14: The following error occurred while executing this line:
/home/luther.gliethttp/sdk/eclipse/buildConfig/allElements.xml:27: The following error occurred while executing this line:
/usr/lib/eclipse/plugins/org.eclipse.pde.build_3.6.0.v20100603/scripts/genericTargets.xml:107: A cycle was detected when generating the classpath com.android.ide.eclipse.adt_0.9.8.v201009041615, org.eclipse.jdt_3.6.0.v201006080911, org.eclipse.ui.intro_3.4.0.v20100427, org.eclipse.help.base_3.5.0.v201006080911, org.eclipse.equinox.http.jetty_2.0.0.v20100503, org.mortbay.jetty.util_6.1.23.v201004211559, org.slf4j.api_1.5.11.v20100519-1910, ch.qos.logback.classic_0.9.19.v20100519-1505, ch.qos.logback.core_0.9.19.v20100419-1216, org.slf4j.api_1.5.11.v20100519-1910.

BUILD FAILED
/usr/lib/eclipse/plugins/org.eclipse.pde.build_3.5.2.R35x_20100114/scripts/build.xml:35: The following error occurred while executing this line:
/usr/lib/eclipse/plugins/org.eclipse.pde.build_3.5.2.R35x_20100114/scripts/build.xml:91: The following error occurred while executing this line:
/home/luther.gliethttp/sdk/eclipse/buildConfig/customTargets.xml:14: The following error occurred while executing this line:
/home/luther.gliethttp/sdk/eclipse/buildConfig/allElements.xml:27: The following error occurred while executing this line:
/usr/lib/eclipse/plugins/org.eclipse.pde.build_3.5.2.R35x_20100114/scripts/genericTargets.xml:106: Bundle com.android.ide.eclipse.adt_0.0.0 failed to resolve.:
    Missing required plug-in org.eclipse.gef_0.0.0.
    Missing required plug-in org.eclipse.wst.sse.core_0.0.0.
    Missing required plug-in org.eclipse.wst.sse.ui_0.0.0.
    Missing required plug-in org.eclipse.wst.xml.core_0.0.0.
    Missing required plug-in org.eclipse.wst.xml.ui_0.0.0.
如果想编译android的ADT,

阅读(2715) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~