ictvmt / mvp4g

Automatically exported from code.google.com/p/mvp4g
0 stars 0 forks source link

Trunk Gin breaks MVP4G #69

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. import a sample project into eclipse, remove gin 1.0 and guice 2.0 from the 
build path and add gin-trunk + guice 3.0-r2 guice-assistedInject 3.0-r2, 
javax.inject
2. try to run the app.
3.

What is the expected output? What do you see instead?
a working sample.

What you get is:

Compiling module com.mvp4g.example.EmployeeAdminWithGXT
   Scanning for additional dependencies: jar:file:/C:/tempworkspace/EmployeeAdminWithGXT/lib/mvp4g-1.3.0-SNAPSHOT.jar!/com/mvp4g/client/Mvp4gEntryPoint.java
      Computing all possible rebind results for 'com.mvp4g.client.Mvp4gModule'
         Rebinding com.mvp4g.client.Mvp4gModule
            Invoking generator com.mvp4g.util.Mvp4gGenerator
               Generating source for com.mvp4g.client.Mvp4gModule
               Generating source for com.mvp4g.client.Mvp4gModule
               2035 classes scanned in 0 ms.
               Mvp4g Compilation: 63ms.
         Rebinding com.mvp4g.client.Mvp4gModule
            Invoking generator com.mvp4g.util.Mvp4gGenerator
               Generating source for com.mvp4g.client.Mvp4gModule
               Generating source for com.mvp4g.client.Mvp4gModule
               Mvp4g Compilation: 0ms.
         Rebinding com.mvp4g.client.Mvp4gModule
            Invoking generator com.mvp4g.util.Mvp4gGenerator
               Generating source for com.mvp4g.client.Mvp4gModule
               Generating source for com.mvp4g.client.Mvp4gModule
               Mvp4g Compilation: 0ms.
         Rebinding com.mvp4g.client.Mvp4gModule
            Invoking generator com.mvp4g.util.Mvp4gGenerator
               Generating source for com.mvp4g.client.Mvp4gModule
               Generating source for com.mvp4g.client.Mvp4gModule
               Mvp4g Compilation: 0ms.
         Rebinding com.mvp4g.client.Mvp4gModule
            Invoking generator com.mvp4g.util.Mvp4gGenerator
               Generating source for com.mvp4g.client.Mvp4gModule
               Generating source for com.mvp4g.client.Mvp4gModule
               Mvp4g Compilation: 0ms.
   Scanning for additional dependencies: generated://0926450E60C744A0133DAFED676C4DE9/com/mvp4g/client/Mvp4gModuleImpl.java
      Computing all possible rebind results for 'com.mvp4g.client.Mvp4gModuleImpl.com_mvp4g_client_Mvp4gModuleGinjector'
         Rebinding com.mvp4g.client.Mvp4gModuleImpl.com_mvp4g_client_Mvp4gModuleGinjector
            Invoking generator com.google.gwt.inject.rebind.GinjectorGenerator
               [ERROR] Unable to load ginjector type [com.mvp4g.client.Mvp4gModuleImpl.com_mvp4g_client_Mvp4gModuleGinjector], maybe you haven't compiled your client java sources?
java.lang.ClassNotFoundException: 
com$mvp4g$client$Mvp4gModuleImpl$com_mvp4g_client_Mvp4gModuleGinjector
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:169)
    at com.google.gwt.inject.rebind.reflect.ReflectUtil.loadClass(ReflectUtil.java:363)
    at com.google.gwt.inject.rebind.GinjectorGenerator.getGinjectorType(GinjectorGenerator.java:57)
    at com.google.gwt.inject.rebind.GinjectorGenerator.generate(GinjectorGenerator.java:36)
    at com.google.gwt.dev.javac.StandardGeneratorContext.runGenerator(StandardGeneratorContext.java:427)
    at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:39)
    at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.tryRebind(StandardRebindOracle.java:115)
    at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:58)
    at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:161)
    at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:150)
    at com.google.gwt.dev.Precompile$DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(Precompile.java:345)
    at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java:106)
    at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.process(AbstractCompiler.java:254)
    at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:444)
    at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.compile(AbstractCompiler.java:175)
    at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.compile(AbstractCompiler.java:288)
    at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.access$400(AbstractCompiler.java:145)
    at com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java:632)
    at com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations(BasicWebModeCompiler.java:124)
    at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java:54)
    at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:484)
    at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:32)
    at com.google.gwt.dev.Precompile.precompile(Precompile.java:545)
    at com.google.gwt.dev.Precompile.precompile(Precompile.java:466)
    at com.google.gwt.dev.Compiler.run(Compiler.java:205)
    at com.google.gwt.dev.Compiler.run(Compiler.java:177)
    at com.google.gwt.dev.Compiler$1.run(Compiler.java:149)
    at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87)
    at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:81)
    at com.google.gwt.dev.Compiler.main(Compiler.java:156)
   [ERROR] Errors in 'generated://0926450E60C744A0133DAFED676C4DE9/com/mvp4g/client/Mvp4gModuleImpl.java'
      [ERROR] Line 79:  Failed to resolve 'com.mvp4g.client.Mvp4gModuleImpl.com_mvp4g_client_Mvp4gModuleGinjector' via deferred binding
   [ERROR] Cannot proceed due to previous errors

What version of the product are you using? On what operating system?
1.3.0-SNAPSHOT

Please provide any additional information below.

Original issue reported on code.google.com by larse...@gmail.com on 28 Jan 2011 at 2:27

GoogleCodeExporter commented 8 years ago
Would you mind adding the libs you used (gin-trunk + guice 3.0-r2 
guice-assistedInject 3.0-r2, javax.inject) to this issue? 

This way, it will be faster for me to test it.

Thanks,
Pierre

Original comment by plcoir...@gmail.com on 28 Jan 2011 at 2:48

GoogleCodeExporter commented 8 years ago
Here are the files. If you're using maven, you can also add

<repository> 
            <name>gin-repo</name>
            <id>gin-repo</id> 
            <url>https://github.com/larsenje/google-gin-pom/raw/master/maven/snapshots</url>
        </repository>

to your repositories 

        <dependency>
            <groupId>com.googlecode.gwt.inject</groupId>
            <artifactId>gin</artifactId>
            <version>1.1-SNAPSHOT</version>
        </dependency>

to your dependencies

Original comment by larse...@gmail.com on 28 Jan 2011 at 3:27

Attachments:

GoogleCodeExporter commented 8 years ago
I believe this is due to some very recent changes to gin where it now uses full 
java reflection instead of gwt generators to do a lot of its work, and since 
gin is trying to bind 
com$mvp4g$client$Mvp4gModuleImpl$com_mvp4g_client_Mvp4gModuleGinjector, but 
that class hasn't been compiled, it is failing. 

Original comment by larse...@gmail.com on 28 Jan 2011 at 6:51

GoogleCodeExporter commented 8 years ago
I'm not sure why this error happens, it seems the Ginjector can't be generated 
by a GWT generator anymore. I posted a message on the google-gin group, 
hopefully they can help: 
http://groups.google.com/group/google-gin/browse_thread/thread/9d7f7ed8e2ba5581

Otherwise, we may have to modify the library to manualy create the GInjector 
but that would be annoying.

Original comment by plcoir...@gmail.com on 29 Jan 2011 at 10:35

GoogleCodeExporter commented 8 years ago
I bet if you were able to invoke the compiler on the generated ginjector it
would work, I just don't know how to tell it to do that.

http://groups.google.com/group/google-gin/browse_thread/thread/9d7f7ed8e2ba5581

Original comment by larse...@gmail.com on 29 Jan 2011 at 10:55

GoogleCodeExporter commented 8 years ago
What about writing an APT to generate the ginjector? I'm not super familiar 
with APTs so I'm not sure if it would work. I've written some toy APTs and I 
couldn't get them to process all files, only the current file it was looking 
at. 

Seems like you know a bit more about APTs, would it be possible to generate it 
that way? 

Original comment by larse...@gmail.com on 11 Feb 2011 at 4:53

GoogleCodeExporter commented 8 years ago
I think it could be doable but I'm not 100% sure. I hope the GIN team will fix 
the issue on their end. I'm waiting for their response on this.

Original comment by plcoir...@gmail.com on 11 Feb 2011 at 7:08

GoogleCodeExporter commented 8 years ago
I created an issue for the GIN project concerning this error: 
http://code.google.com/p/google-gin/issues/detail?id=137. Don't hesitate to 
star it so that the GIN team can give it a higher priority. Thanks.

Original comment by plcoir...@gmail.com on 12 Feb 2011 at 7:14

GoogleCodeExporter commented 8 years ago
Workaround:
checkout revision r158 of the google-gin code and build it against the new gwt, 
the resulting jar files work for this

Original comment by sin...@gmail.com on 14 Feb 2011 at 11:43

GoogleCodeExporter commented 8 years ago
GIN delivers a new version (1.5) that is compatible with GWT 2.2.0 and 
Mvp4g-1.3.1

Original comment by plcoir...@gmail.com on 7 Mar 2011 at 9:14

GoogleCodeExporter commented 8 years ago
moi aussi je es mémé problème me moi j'utilise gwt2.6.0 et MV4g1.4.0  

Original comment by zakia.la...@gmail.com on 11 Nov 2014 at 8:06

GoogleCodeExporter commented 8 years ago
please, can you write English. My French is very poor.

Original comment by frank.hossfeld on 11 Nov 2014 at 8:08

GoogleCodeExporter commented 8 years ago
I too granny problem,I use myself gwt2.6.0 et MV4g1.4.0

2014-11-11 21:08 UTC+01:00, mvp4g@googlecode.com <mvp4g@googlecode.com>:

Original comment by zakia.la...@gmail.com on 11 Nov 2014 at 8:19

GoogleCodeExporter commented 8 years ago
I too granny problem,I use myself gwt2.6.0 et MV4g1.4.0  

Original comment by zakia.la...@gmail.com on 11 Nov 2014 at 8:20

GoogleCodeExporter commented 8 years ago
What kind of problem do you have? Can you provide some stack trace or error 
message? Is it related to this problem? If not, please use the mvp4g newsgroup 
-> https://groups.google.com/forum/?hl=de#!forum/mvp4g

Original comment by frank.hossfeld on 11 Nov 2014 at 8:21

GoogleCodeExporter commented 8 years ago
Set the Loglevel of your running or debug configurations to TRACE and check the 
output again. This will give you more informations about your error.

Original comment by frank.hossfeld on 11 Nov 2014 at 9:33

GoogleCodeExporter commented 8 years ago
Bonjour,
I use myself gwt2.6.0 ,gxt3, MV4g1.4.0,
lorsque je compile mon projet affiche un problème:

 Validating units:
      Ignored 4 units with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
   Computing all possible rebind results for 'com.mvp4g.client.Mvp4gModule'
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 1521 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Generating source for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 1907ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 8 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 21ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 64 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 77ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 6 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 65ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 7 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 19ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 6 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 53ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 6 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 20ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 60 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 74ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 2 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 15ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 9 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 22ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 2 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 15ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 2 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 51ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 2 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 15ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 1 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 47ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 2 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 15ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 2 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 47ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 2 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 15ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 2 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 49ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 2 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 14ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 1 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 773ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 1 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 7ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 2 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 7ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 29 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 39ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 2 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 27ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 1 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 6ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 1 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 6ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 1 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 6ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 1 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 115ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 1 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 9ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 1 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 6ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 1 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 6ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 2 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 8ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 1 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 5ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 2 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 36ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 1 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 21ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 23 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 53ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 2 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 28ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 1 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 19ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 2 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 12ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 1 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 13ms.

and more I can not generate war file.
thank you in advance

2014-11-11 22:33 UTC+01:00, mvp4g@googlecode.com <mvp4g@googlecode.com>:

Original comment by zakia.la...@gmail.com on 12 Nov 2014 at 8:25

GoogleCodeExporter commented 8 years ago
Bonjour,
I use myself gwt2.6.0 ,gxt3, MV4g1.4.0,
lorsque je compile mon projet affiche un problème:

 Validating units:
      Ignored 4 units with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
   Computing all possible rebind results for 'com.mvp4g.client.Mvp4gModule'
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 1521 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Generating source for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 1907ms.
      Rebinding com.mvp4g.client.Mvp4gModule
         Invoking generator com.mvp4g.util.Mvp4gGenerator
            4352 classes scanned in 8 ms.
            Generating writer for com.mvp4g.client.Mvp4gModuleImpl
            Mvp4g Compilation: 21ms.

and more I can not generate war file.
thank you in advance

Original comment by zakia.la...@gmail.com on 12 Nov 2014 at 12:42

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
First, update version of GWT to 2.6.1 and mvp4g to 1.5.0.

You have four classes with compilation errors. This is the reason why mvp4g 
will not generate code. To see the errors, set the log level of your debug or 
running configuration to TRACE and start the debug mode again. After entering 
the URL the classes with errors will be printed in the console output.    

you can do the same when compiling a GWT project or add -strict to the dev mode 
parms.

This should give you more informations about your problem. 

Original comment by frank.hossfeld on 12 Nov 2014 at 5:11