2013年5月24日 星期五

aptana 安裝emmet出錯

因為一直用zen-coding,最近才去安裝emmet

但安裝時出現下列錯誤


Cannot complete the install because of a conflicting dependency.
  Software being installed: Emmet for Eclipse 1.0.0.201303162055 (io.emmet.eclipse.feature.group 1.0.0.201303162055)
  Software currently installed: Aptana Studio 3 3.0.9.201202141038-14022012104032 (com.aptana.rcp.product 3.0.9.201202141038-14022012104032)
  Only one of the following can be installed at once:
    Expression Language 3.4.300.v20110228 (org.eclipse.core.expressions 3.4.300.v20110228)
    Expression Language 3.4.200.v20100505 (org.eclipse.core.expressions 3.4.200.v20100505)
  Cannot satisfy dependency:
    From: Aptana Studio 3 3.0.9.201202141038-14022012104032 (com.aptana.rcp.product 3.0.9.201202141038-14022012104032)
    To: org.eclipse.core.expressions [3.4.200.v20100505]
  Cannot satisfy dependency:
    From: Emmet for Eclipse 1.0.0.201303162055 (io.emmet.eclipse 1.0.0.201303162055)
    To: bundle org.eclipse.core.expressions 3.4.300
  Cannot satisfy dependency:
    From: Emmet for Eclipse 1.0.0.201303162055 (io.emmet.eclipse.feature.group 1.0.0.201303162055)
    To: io.emmet.eclipse [1.0.0.201303162055]

查詢過程:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=404631
Looks like emmet wants org.eclipse.core.expressions 3.4.300 which is in Indigo and you have Helios.
https://github.com/sergeche/eclipse-zencoding/issues/33
JiRybar: I'll try to update my Eclipse and try to install Emmet again.

解法:
因為aptana一陣子沒更新了
所以點 Help->Check for Update 更新aptana 後重開
照其他網頁教學就能安裝emmet了

附上安裝教學:
http://stackoverflow.com/questions/4906432/emmet-ex-zen-coding-aptana

sublime 安裝emmet
http://blog.caesarchi.com/2013/03/zen-coding-emmet.html
有時候會安裝不成package controll ,隔一天就好了..
就如同 這個安裝教學網站有時候會掛掉一樣...
http://wbond.net/sublime_packages/package_control/installation

emmet跳到相對應的html tag( go to matching pair ):
sublime熱鍵 ctrl+alt+j
aptana 熱鍵 無預設,自己設定



沒有留言:

張貼留言