You need set-configuration-property. This is what it should look like:
<inherits name="com.google.gwt.core.EmulateJsStack"/>
<set-property name="compiler.stackMode" value="emulated"/>
<set-configuration-property name="compiler.emulatedStack.recordLineNumbers"
value="true"/>
<set-configuration-property name="compiler.emulatedStack.recordFileNames"
value="true"/>
Paul
On 17/11/11 13:14, Dave wrote:
I'm attempting to record line numbers in my GWT client code. I see
that the property compiler.emulatedStack.recordLineNumbers can be used
to accommodate this. Thus in my gwt.xml class I have the following
...
<set-property name="compiler.stackMode" value="emulated" />
<set-property name="compiler.emulatedStack.recordLineNumbers"
value="true" />
...
When compiling I get the error
[ERROR] The specified property
'compiler.emulatedStack.recordLineNumbers' is not of the correct type;
found 'ConfigurationProperty' expecting 'BindingProperty'
regards,
Dave
--
You received this message because you are subscribed to the Google Groups "Google
Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.