Cannot generate eclipse projects for samples

9 views
Skip to first unread message

smartmobili

unread,
Nov 19, 2011, 3:36:38 PM11/19/11
to Google Web Toolkit
Hi,

I am working on Windows 7 64 bits and I have checkouted the current
trunk of gwt, I wanted to generate the eclipse project so I found
on some website that I am supposed to use ant to do it, however when I
try it seems ant cannot find common.ant.xml whild this file exists!


Commands below are entered in cygwin environment:

$ echo $JAVA_HOME
C:\Program Files\Java\jdk1.7.0_01
$ svn checkout http://google-web-toolkit.googlecode.com/svn/trunk/samples
gwt-samples
$ cd gwt-samples/

Command below is entered in a normal dos command
C:\Developer\cygwin\home\Vincent\gwt-samples>ant eclipse.generate
Buildfile: C:\Developer\cygwin\home\Vincent\gwt-samples\build.xml

BUILD FAILED
C:\Developer\cygwin\home\Vincent\gwt-samples\build.xml:4:
Cannot find C:\Developer\cygwin\home\Vincent\common.ant.xml imported
from C:\Developer\cygwin\home\Vincent\gwt-samples\build.xml

Total time: 0 seconds

but when I look at current directory (with cygwin) :

$ ls -la
total 44K
-rw-r--r-- 1 Vincent None 3.1K Nov 19 21:31 build.xml
-rwxr-xr-x 1 Vincent None 7.8K Nov 19 21:31 common.ant.xml*
drwxr-xr-x+ 1 Vincent None 0 Nov 19 21:30 dynatable/
drwxr-xr-x+ 1 Vincent None 0 Nov 19 21:31 dynatablerf/
drwxr-xr-x+ 1 Vincent None 0 Nov 19 21:31 expenses/
drwxr-xr-x+ 1 Vincent None 0 Nov 19 21:30 hello/
drwxr-xr-x+ 1 Vincent None 0 Nov 19 21:30 json/
drwxr-xr-x+ 1 Vincent None 0 Nov 19 21:31 logexample/
drwxr-xr-x+ 1 Vincent None 0 Nov 19 21:30 mail/
drwxr-xr-x+ 1 Vincent None 0 Nov 19 21:30 mobilewebapp/
drwxr-xr-x+ 1 Vincent None 0 Nov 19 21:31 showcase/
drwxr-xr-x+ 1 Vincent None 0 Nov 19 21:31 simplerpc/
drwxr-xr-x+ 1 Vincent None 0 Nov 19 21:31 simplexml/
drwxr-xr-x+ 1 Vincent None 0 Nov 19 21:31 validation/

Don't understand why it cannot find common.ant.xml ...

Thomas Broyer

unread,
Nov 20, 2011, 4:26:46 AM11/20/11
to google-we...@googlegroups.com
It's looking for the common.ant.xml one level upper (in trunk/, not trunk/samples)
Reply all
Reply to author
Forward
0 new messages