I can explain what's going here I think. Incremental compile is made possible by storing and reusing data in a new object called a MinimalRebuildCache. Since some of the analysis that incremental compilation is much simpler when there is only one permutation being compiled and since the contents of a MinimalRebuildCache instance are specific to a single permutation we decided to put in a requirement that when compiling incrementally the compiler be invoked with a binding property set that restricts permutations to just 1.
To make sure this worked out fine for everyone we also turn on the -noPrecompile option so that all compiles are triggered from the browser, which ensures that the binding property set is specific to a single permutation. I'm not completely aware of your configuration but... it appears that you're using incremental compiles from a test runner, and this test runner isn't restricting the permutations to just 1. And that is being caught by an assertion. You can fix this by adding some <set-property> tags to your test .gwt.xml files. I hadn't thought of this use case, so I'm not sure if it's fair to tell people to restrict their permutation or if we need to find a better way. Thoughts? John On Tue, Sep 30, 2014 at 11:31 AM, Brandon Donnelson <[email protected] > wrote: > I'm not sure whats going on yet, but I've got some recompile issue coming > up when trying to start dev mode. (This isn't using in browser recompile > button) > > After moving to Java 1.7 because of a Java 1.6 error I got stuck with this > error. Not sure whats going on yet, but I thought I'd post it for those who > are interested. I've heard turning on and off dev mode fixes it. I'll test > more later. > > > Runing CodeServer with parameters: [-noprecompile, -port, 9876, > -sourceLevel, 1.7, -bindAddress, 127.0.0.1, -logLevel, INFO, > com.sencha.gxt.test.TestRunner] > Super Dev Mode starting up > workDir: > /var/folders/x8/9wz7qtw96t7grkdyjw1l61p40000gn/T/gwt-codeserver-362446698832754749.tmp > Loading Java files in com.sencha.gxt.test.TestRunner. > Ignored 90 units with compilation errors in first pass. > Compile with -strict or with -logLevel set to TRACE or DEBUG to see all > errors. > To compile the module 'testrunner' , visit: > http://127.0.0.1:9876/recompile/testrunner?user.agent=safari > Module setup completed in 5256 ms > > The code server is ready. > Next, visit: http://127.0.0.1:9876/ > GET /recompile/testrunner > Job com.sencha.gxt.test.TestRunner_1_0 > starting job: com.sencha.gxt.test.TestRunner_1_0 > binding: user.agent=safari > Compiling module com.sencha.gxt.test.TestRunner > [ERROR] Current binding properties are expanding to more than one > permutation but per-file compilation requires that each compile operate on > only one permutation. > [WARN] recompile failed > [WARN] continuing to serve previous version > > > > -- > You received this message because you are subscribed to the Google Groups > "GWT Contributors" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/google-web-toolkit-contributors/90b99fa9-e7f2-4908-ad36-28b775f24edb%40googlegroups.com > <https://groups.google.com/d/msgid/google-web-toolkit-contributors/90b99fa9-e7f2-4908-ad36-28b775f24edb%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "GWT Contributors" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAFw3gJ9b%3Dp_H-DfdqmvjkYUOVWTn699hkQPGMejaZmLpsH%3DCzA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
