How to add folders to a war file

68 views
Skip to first unread message

AGT TGA

unread,
Jun 1, 2015, 3:55:27 PM6/1/15
to google-we...@googlegroups.com


Hi,

I got the following problem while developing my first gwt application:
I can run it successfully within eclipse (I run the main html and follow the given link), but if I compile it there are a few folders, including .java files, missing in my war-file.
The structure is as you can see it in this image:

The missing folders are dom4j, Stanford Parser and WordNet. Do you guys have some tips or advice for me, how i can fix this problem?

Best regards
Tobias

Jens

unread,
Jun 1, 2015, 8:27:06 PM6/1/15
to google-we...@googlegroups.com
How do you generate the *.war file? Also why do you need these folder to be in the war file? Looks like these folders are just containing the jar libraries you already added to the build path? In that case you want the library *.jar files in your *.war file under WEB-INF/lib. 

Also you probably want to use GWT 2.7.0 if its a new project. If you need to stick with 2.6 then use 2.6.1.

-- J.
Reply all
Reply to author
Forward
0 new messages