Hello,
I generated a build.xml using webAppCreateor but I can't get past the
"gwtc" target.
The javac target succeeds and generates class files in war/WEB-INF/
classes/...
When I try to compile via ant I get this error.
[ERROR] Unable to find type 'com.mycompany.myapp.fe.client.fe'
I have 3 packages:
com.mycompany.myapp.fe.client
com.mycompany.myapp.fe.server
com.mycompany.myapp.fe.shared
and my EntryPoint class is
com.mycompany.myapp.fe.client.fe
[alan@host01] pwd
/home/alan/workspace/myapp/frontend
[amiller@host01] find ./war -name '*.xml' -exec ls -lgo {} \;
-rw-rw-r-- 1 547 Jun 19 07:40 war/WEB-INF/web.xml
-rw-rw-r-- 1 1097 Jun 20 08:06 war/WEB-INF/classes/com/mycompany/
myapp/fe/client/fe.gwt.xml
[amiller@host01] find ./src -name '*.xml' -exec ls -lgo {} \;
-rw-rw-r-- 1 1097 Jun 20 07:38 src/com/mycompany/myapp/fe/client/
fe.gwt.xml
Here's the ant command output:
[amiller@host01] ant clean
Buildfile: /home/alan/workspace/myapp/frontend/build.xml
clean:
[delete] Deleting directory /home/alan/workspace/myapp/frontend/war/
WEB-INF/classes
BUILD SUCCESSFUL
Total time: 0 seconds
[amiller@us01dsainfo01] ant
Buildfile: /home/alan/workspace/myapp/frontend/build.xml
libs:
javac:
[mkdir] Created dir: /home/alan/workspace/myapp/frontend/war/WEB-
INF/classes
[javac] Compiling 15 source files to /home/alan/workspace/myapp/
frontend/war/WEB-INF/classes
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: /home/alan/workspace/myapp/frontend/src/com/
mycompany/myapp/fe/server/DataLdapServiceImpl.java uses unchecked or
unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[copy] Copying 1 file to /home/alan/workspace/myapp/frontend/war/
WEB-INF/classes
gwtc:
[java] Compiling module com.mycompany.myapp.fe.client.fe
[java] Finding entry point classes
[java] [ERROR] Unable to find type
'com.mycompany.myapp.fe.client.fe'
[java] [ERROR] Hint: Previous compiler errors may have
made this type unavailable
[java] [ERROR] Hint: Check the inheritance chain from
your module; it may not be inheriting a required module or a module
may not be adding its source path entries properly
BUILD FAILED
/home/alan/workspace/myapp/frontend/build.xml:47: Java returned: 1
Total time: 17 seconds
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.