閒言少敘,想弄弄移動應用開發,直接奔向了IBM Worklight。關於相關介紹,可見IBM官網:
從網上找了找相關資料,尤其是入門,進了門再仔細摸索。
首先,需要eclipse環境,去官網下一個:http://www.eclipse.org/downloads/packages/eclipse-classic-372/indigosr2
這裏要注意,如果直接去官網首頁,下載的是eclipse的最新版本,4.2,即juno,而worklight並不支持此版本,說明如下:
Installing the IBM Worklight Developer Edition is easy with the basic instructions on this page. These instructions are for users of Eclipse Indigo — with either the Eclipse IDE for Java EE Developers or Eclipse Classic.
我在這裏就吃了大虧,google的資料,沒注意看官網,4.2版本下,安裝插件,提示這樣的錯誤,浪費了我一天多的時間:
Cannot complete the install because one or more required items could not be found.
Software being installed: IBM Worklight Studio 5.0.30.v20120808_2026 (com.ibm.imp.tools.feature.feature.group 5.0.30.v20120808_2026)
Missing requirement: Worklight Studio (Developer Edition) 5.0.2.407-developer-edition (com.worklight.studio.feature.feature.group 5.0.2.407-developer-edition) requires 'org.eclipse.net4j.jms.api 0.0.0' but it could not be found
Cannot satisfy dependency:
From: IBM Worklight Studio 5.0.30.v20120808_2026 (com.ibm.imp.tools.feature.feature.group 5.0.30.v20120808_2026)
To: com.worklight.studio.feature.feature.group 4.5.0
在3.6,3.7版本下,安裝插件,http://public.dhe.ibm.com/ibmdl/export/pub/software/mobile-solutions/worklight/wdeupdate/
,正常通過,準備看看worklight這個東東到底咋樣了。
備註兩點說明:
1、eclipse的版本及代號說明:
Eclipse 3.1 版本代號 IO 【木衛1,伊奧】
Eclipse 3.2 版本代號 Callisto 【木衛四,卡里斯托 】
Eclipse 3.3 版本代號 Eruopa 【木衛二,歐羅巴 】
Eclipse 3.4 版本代號 Ganymede 【木衛三,蓋尼米德 】
Eclipse 3.5 版本代號 Galileo 【伽利略】
Eclipse 3.6 版本代號 Helios 【太陽神】[據說2010年6月發佈正式版]
Eclipse 3.7 版本代號 Indigo 【靛青】
2、有官網資料的情況下,老老實實的看官網,雖然英文有點煩。