-
1. Re: ServerMarshallingFactoryImpl keeps being generated differently
hilco Jun 7, 2013 8:46 PM (in response to hilco)I thought -Dgwt.compiler.localWorkers=1 might help, but no, the order still changes.
-
2. Re: ServerMarshallingFactoryImpl keeps being generated differently
csa Jun 7, 2013 8:52 PM (in response to hilco)1 of 1 people found this helpfulHi Hilco,
There's not currently a way to guarantee the ordering of fields in the emitted marshalling code. Can you create a JIRA for us? An alternative you have in the meantime is to use dynamic marshalling during development (depending on the Errai version you are using, dynamic marshalling should be active by default when running in GWT's DevMode).
You can activate it with the following system property: errai.marshalling.use_static_marshallers=false
This should at least free you from having to copy the ServerMarshallingFactoryImpl during fast development cycles. When compiling for production though we recommend to use static marshallers.
Cheers,
Christian
-
3. Re: ServerMarshallingFactoryImpl keeps being generated differently
hilco Jun 7, 2013 9:12 PM (in response to csa)Done, see ERRAI-570.