It is working. Thank you @manolo.
By the way, Eclipse can be for Java Luna and I have to add the -Xmx1024m to
the VM args, otherwise console would complain:

Compiling 1 permutation
      Compiling permutation 0...
      [ERROR] OutOfMemoryError: Increase heap size or lower
gwt.jjs.maxThreads
java.lang.OutOfMemoryError: Java heap space
    at java.util.HashMap.resize(HashMap.java:559)
    at java.util.HashMap.addEntry(HashMap.java:851)
    at java.util.HashMap.put(HashMap.java:484)
    at com.google.gwt.dev.jjs.impl.JsFunctionClusterer.updateSourceInfoMap(
JsFunctionClusterer.java:234)
    at com.google.gwt.dev.jjs.impl.JsAbstractTextTransformer.
recomputeJsAndStatementRanges(JsAbstractTextTransformer.java:132)
    at com.google.gwt.dev.jjs.impl.JsFunctionClusterer.exec(
JsFunctionClusterer.java:154)
    at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.
generateJavaScriptCode(JavaToJavaScriptCompiler.java:1169)
    at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.compilePermutation(
JavaToJavaScriptCompiler.java:506)
    at com.google.gwt.dev.jjs.UnifiedAst.compilePermutation(
UnifiedAst.java:134)
    at com.google.gwt.dev.CompilePerms.compile(CompilePerms.java:195)
    at com.google.gwt.dev.ThreadedPermutationWorkerFacto
ry$ThreadedPermutationWorker.compile(ThreadedPermutationWorkerFacto
ry.java:49)
    at com.google.gwt.dev.PermutationWorkerFactory$Manager$WorkerThread.run(
PermutationWorkerFactory.java:73)
    at java.lang.Thread.run(Thread.java:722)
         [ERROR] Out of memory; to increase the amount of memory, use the
-Xmx flag at startup (java -Xmx128M ...)
      [ERROR] Unrecoverable exception, shutting down
com.google.gwt.core.ext.UnableToCompleteException: (see previous log
entries)
    at com.google.gwt.dev.ThreadedPermutationWorkerFacto
ry$ThreadedPermutationWorker.compile(ThreadedPermutationWorkerFacto
ry.java:56)
    at com.google.gwt.dev.PermutationWorkerFactory$Manager$WorkerThread.run(
PermutationWorkerFactory.java:73)
    at java.lang.Thread.run(Thread.java:722)
      [ERROR] Not all permutation were compiled , completed (0/1)

On Tue, Feb 17, 2015 at 8:58 PM, Manuel Carrasco Moñino <man...@apache.org>
wrote:

> with all the changes we did to GWT DevMode and Google plugin in last
> releases, it should be very easy.
>
> Just install Eclipse for JEE (preferably Luna), install GPE (google
> eclipse plugin), import Hupa (using the import existing maven projects
> wizard), then select 'hupa' project (note that it's not hupa-client) and
> under the 'Run as' menu you should have a 'super dev mode' item.
>
> Since we ar using RF, you should setup the RF annotation processing for
> the hupa project, otherwise you will get RF obfuscate exceptions.
>
> - Manolo
>
>
> On Tue, Feb 17, 2015 at 11:03 AM, dongxu <don...@apache.org> wrote:
>
>> Hi Manolo,
>> Is Hupa working under SuperDevMode now? If so, could you help list the
>> shortcut step on how to run hupa in SuperDevMode. Since I was trying to
>> make it run but failed.
>>
>> Thanks a lot.
>>
>> On Tue, Feb 17, 2015 at 6:07 AM, <man...@apache.org> wrote:
>>
>>> Author: manolo
>>> Date: Mon Feb 16 22:07:11 2015
>>> New Revision: 1660222
>>>
>>> URL: http://svn.apache.org/r1660222
>>> Log:
>>> Latest GWT use SD by default, linker must be xsiframe
>>>
>>> Removed:
>>>
>>> james/hupa/trunk/client/src/main/java/org/apache/hupa/public/Hupa-sd.html
>>> Modified:
>>>     james/hupa/trunk/hupa/src/main/java/org/apache/hupa/HupaProd.gwt.xml
>>>
>>> Modified:
>>> james/hupa/trunk/hupa/src/main/java/org/apache/hupa/HupaProd.gwt.xml
>>> URL:
>>> http://svn.apache.org/viewvc/james/hupa/trunk/hupa/src/main/java/org/apache/hupa/HupaProd.gwt.xml?rev=1660222&r1=1660221&r2=1660222&view=diff
>>>
>>> ==============================================================================
>>> --- james/hupa/trunk/hupa/src/main/java/org/apache/hupa/HupaProd.gwt.xml
>>> (original)
>>> +++ james/hupa/trunk/hupa/src/main/java/org/apache/hupa/HupaProd.gwt.xml
>>> Mon Feb 16 22:07:11 2015
>>> @@ -29,9 +29,12 @@
>>>    <set-configuration-property name="locale.useragent" value="Y"/>
>>>
>>>    <!-- Compile for all browsers -->
>>> -  <set-property name="user.agent" value="gecko1_8,safari,ie9"/>
>>> +  <set-property name="user.agent" value="gecko1_8,safari,ie9,ie10"/>
>>> +  <add-linker name="xsiframe"/>
>>>
>>>    <set-configuration-property name="CssResource.style" value="obf"/>
>>>
>>>    <entry-point class='org.apache.hupa.client.Hupa'/>
>>> +
>>> +  <collapse-all-properties />
>>>  </module>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
>>> For additional commands, e-mail: server-dev-h...@james.apache.org
>>>
>>>
>>
>

Reply via email to