Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/ant/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何通过终端构建现有gwt项目_Gwt_Ant_Build - Fatal编程技术网

如何通过终端构建现有gwt项目

如何通过终端构建现有gwt项目,gwt,ant,build,Gwt,Ant,Build,我想构建以下内容 我已经习惯了gwt Eclipse插件,因此在通过命令行构建现有项目时我不知所措,我尝试从下载的项目文件夹中使用ant build hosted命令,但出现以下错误: ant build hosted Buildfile: /home/antonio/Desktop/LABATI/MusicStoreDTO-NOECLIPSE/build.xml libs: BUILD FAILED /home/antonio/Desktop/LABAT

我想构建以下内容

我已经习惯了gwt Eclipse插件,因此在通过命令行构建现有项目时我不知所措,我尝试从下载的项目文件夹中使用
ant build hosted
命令,但出现以下错误:

  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所需的文件。我在Ubuntu 12.04中工作,这个源代码不能从非Windows机器上构建吗

GWT的当前版本是2.5,而
GWT-windows-1.6.4
自2009年以来已经过时。您应该遵循最新的教程,该教程涉及最新(或至少最新)版本