mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-53328: Problem with GWT plugin running webapp on Jetty in dev mode
This commit is contained in:
+6
-3
@@ -65,12 +65,15 @@ public class JavaParameters extends SimpleJavaParameters {
|
||||
return;
|
||||
}
|
||||
|
||||
Charset encoding = EncodingProjectManager.getInstance(module.getProject()).getDefaultCharset();
|
||||
setDefaultCharset(module.getProject());
|
||||
ProjectRootsTraversing.collectRoots(module, getPolicy(null, module, classPathType), getClassPath());
|
||||
}
|
||||
|
||||
public void setDefaultCharset(final Project project) {
|
||||
Charset encoding = EncodingProjectManager.getInstance(project).getDefaultCharset();
|
||||
if (encoding != null) {
|
||||
setCharset(encoding);
|
||||
}
|
||||
|
||||
ProjectRootsTraversing.collectRoots(module, getPolicy(null, module, classPathType), getClassPath());
|
||||
}
|
||||
|
||||
public void configureByModule(final Module module, final int classPathType) throws CantRunException {
|
||||
|
||||
Reference in New Issue
Block a user