Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Not A Bug
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Number of attachments :
Description
When I execute gwt:run or gwt:debug it generates this warning:
[WARNING] Your POM <build><outputdirectory> does not match your hosted webapp WEB-INF/classes folder for GWT Hosted browser to see your classes.
But this is only really necessary when copyWebapp is false, because otherwise the classes will be automatically copied from target/classes to "hostedWebapp"/WEB-INF/classes directory.
My suggestion is that this message be changed to:
[WARNING] Your POM <build><outputdirectory> does not match your hosted webapp WEB-INF/classes folder and copyWebapp is false. One of the two options is necessary for GWT Hosted browser to see your classes.
copyWebapp only copies the warSourceDirectory, so the warning is appropriate.