Reputation: 41
I use the GWT Version 2.5 , eclipse 3.7 and java 1.6.0_35
I am facing this problem since I manually deleted the classes in myProject/war/WEB-INF/classes . In eclipse everything looks fine, however when I compile with ant or gwt compile over eclipse it wont generate any new class in that particular folder. As consequence I receive a war file where the classes directory is empty. How can I fix it such that the classes are comming back to this folder?
Upvotes: 4
Views: 4499
Reputation: 468
Make sure the "Default Output Folder" in Project⇒Properties⇒Java Build Path points to the right place. Using built-in Ant, that's probably myProject/war/WEB-INF/classes
.
Also, check "This Project has a WAR directory" in Project⇒Properties⇒Google⇒Web Application. For Ant, the path should be war
.
Upvotes: 6