Note that there are some explanatory texts on larger screens.

plurals
  1. PORunning GWT SuperDevMode in IDEA on Win8
    primarykey
    data
    text
    <p>I am trying to configure my GWT project to run in SuperDevMode and experience severe problem during server run time.</p> <p>So, I have working "regular" devMode configuration in Intellij IDEA. Created a new GWT configuration in app-servers list. Set the following values:</p> <p>[Checked] Super Dev Mode</p> <p><strong>VM options</strong>: -Xmx512m -XX:MaxPermSize=384M</p> <p><strong>Dev Mode parameters</strong>: -bindAddress 0.0.0.0 -port 1234 -workDir d:\projects\myApp\SDV\ -src d:\projects\myApp\src\main\java com.app.MyApp</p> <p>Made changes to my project's build xml file adding the lines in the end of file: </p> <pre><code> &lt;add-linker name="xsiframe"/&gt; &lt;set-configuration-property name="devModeRedirectEnabled" value="true"/&gt; &lt;!-- enable source maps --&gt; &lt;set-property name="compiler.useSourceMaps" value="true" /&gt; </code></pre> <p>Here is the console output on this config run:</p> <pre><code>workDir: d:\projects\myApp\SDV deleting: d:\projects\myApp\SDV\com.app.MyApp\compile-1 binding: user.agent=safari binding: compiler.useSourceMaps=true binding: locale=en Compiling module com.app.MyApp Compiling 1 permutation Compiling permutation 0... Source Maps Enabled Compile of permutations succeeded Linking into d:\projects\myApp\SDV\com.app.MyApp\compile-1\war\myapp; Writing extras to d:\projects\myApp\SDV\com.app.MyApp\compile-1\extras\myapp Link succeeded Compilation succeeded -- 84.458s Compile completed in 85210 ms deleting: d:\projects\myApp\SDV\com.app.MyApp\compile-1 [ERROR] unable to create directory: d:\projects\myApp\SDV\com.app.MyApp\compile-1 com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries) at com.google.gwt.dev.codeserver.CompileDir.mkdir(CompileDir.java:103) at com.google.gwt.dev.codeserver.CompileDir.create(CompileDir.java:93) at com.google.gwt.dev.codeserver.Recompiler.makeCompileDir(Recompiler.java:267) at com.google.gwt.dev.codeserver.Recompiler.compile(Recompiler.java:82) .... at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120) Process finished with exit code 1 </code></pre> <p>I suspect it maybe Win8 file access permissions problem: cannot create the directory because it wasn't deleted successfully. Both lines in the log above that have this text:</p> <pre><code>deleting: d:\projects\myApp\SDV\com.app.MyApp\compile-1 </code></pre> <p>are of red color in IDEA (if that has any special meaning). </p> <p>I unchecked READ_ONLY checkbox in the properties of for the work folder in file explorer, and also run idea64.exe as Admin. Should I somehow run this codeserver compiler "as admin" too? Is it possible?</p> <p>Also it may be a configuration issue, if it is and somebody can see it from the details below - I would really appreciate the help. Thanks in advance!</p> <p><strong>UPDATE</strong></p> <p>Running the superDevMode config with parameter "-noprecompile" gives the same results:</p> <pre><code>workDir: d:\projects\myApp\sdv deleting: d:\projects\myApp\sdv\com.app.MyApp\compile-1 Module setup completed in 865 ms deleting: d:\projects\myApp\sdv\com.app.MyApp\compile-1 [ERROR] unable to create directory: d:\projects\myApp\sdv\com.app.MyApp\compile-1 com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries) at com.google.gwt.dev.codeserver.CompileDir.mkdir(CompileDir.java:103) at com.google.gwt.dev.codeserver.CompileDir.create(CompileDir.java:93) at com.google.gwt.dev.codeserver.Recompiler.makeCompileDir(Recompiler.java:267) </code></pre> <p>So, definitely looks like file access problem (<em>delete</em> doesn't do its job?). Javadoc to <code>CompileDir.create()</code> method says: "<code>Creates a new compileDir directory structure. The directory must not already exist, but its parent should exist.</code>" Seems that it already exists.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload