2012-07-16 245 views
0

生成一個現有的GWT項目我想建立以下gwt tutorial project如何通過終端

我已經習慣了GWT的Eclipse插件,所以我在虧損通過命令行建立一個現有的項目時,我使用ant build hosted命令,從下載的項目文件夾,like the tutorial mentions嘗試,並得到了這些錯誤:

ant build hosted 
    Buildfile: /home/antonio/Desktop/LABATI/MusicStoreDTO-NOECLIPSE/build.xml 

    libs: 

    BUILD FAILED 
    /home/antonio/Desktop/LABATI/MusicStoreDTO-NOECLIPSE/build.xml:18: Warning: Could not find file /home/antonio/Desktop/LABATI/MusicStoreDTO-NOECLIPSE/C:/eclipse/plugins/com.google.gwt.eclipse.sdkbundle.win32_1.6.4.v200904062334/gwt-windows-1.6.4/gwt-servlet.jar to copy. 

    Total time: 0 seconds 


    [1]: http://google-web-toolkit.googlecode.com/files/gwt_hibernate_dto.zipTI/MusicStoreDTO-NOECLIPSE/build.xml%20%20libs:%20%20BUILD%20FAILED%20/home/antonio/Desktop/LABATI/MusicStoreDTO-NOECLIPSE/build.xml:18:%20Warning:%20Could%20not%20find%20file%20/home/antonio/Desktop/LABATI/MusicStoreDTO-NOECLIPSE/C:/eclipse/plugins/com.google.gwt.eclipse.sdkbundle.win32_1.6.4.v200904062334/gwt-windows-1.6.4/gwt-servlet.jar%20to%20copy.%20%20Total%20time:%200%20seconds 

我注意到了Win32需要file.I'm從一個Ubuntu 12.04箱的工作,這是不是源來自非可建Windows機器?

回答

1

GWT的當前版本是2.5,gwt-windows-1.6.4自2009年以來已過時。您應該遵循一個更新的教程,它指的是最新版本(或至少最近的版本)。