Eclipse Helios 3.6 JEE
Java 1.6.0_22
GWT 2.1
Mac OS X 10.5.8
I'm attempting to use the Logging feature available in GWT 2.1 and I'm
having trouble.
I have the following file for a module
<?xml version="1.0" encoding="UTF-8"?>
<module rename-to="view">
<inherits name="com.google.gwt.user.User" />
<inherits name="com.google.gwt.user.theme.standard.Standard" />
<inherits name="com.google.gwt.gen2.picker.Picker" />
<inherits name="gwtupload.GWTUpload"/>
<inherits name="com.google.gwt.logging.Logging" />
<source path="view" />
<stylesheet src="Upload.css"/>
<set-property-name="gwt.logging.logLevel" value="INFO"/>
<set-property-name="gwt.logging.enabled" value="TRUE"/>
<set-property-name="gwt.logging.consoleHandler" value="ENABLED"/>
<set-property-name="gwt.logging.firebugHandler" value="ENABLED"/>
<set-property-name="gwt.logging.popupHandler" value="ENABLED"/>
</module>
But I can neither compile nor run the application. The message which
appears in the console is :
Loading modules
mypackage.MyApp
Loading inherited module 'mypackage.controller'
Loading inherited module 'mypackage.view'
[ERROR] Failure while parsing XML
org.xml.sax.SAXParseException: Element type "set-property-name" must
be followed by either attribute specifications, ">" or "/>".
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:
1231)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
$JAXPSAXParser.parse(SAXParserImpl.java:522)
But I can see in my module file that I have closed the set-property-
name elements correctly. ?
I attempted to revise the xml file and rerun using the following :
<set-property-name="gwt.logging.logLevel" value="INFO"></set-property-
name>
<set-property-name="gwt.logging.enabled" value="TRUE"></set-property-
name>
<set-property-name="gwt.logging.consoleHandler" value="ENABLED"></set-
property-name>
<set-property-name="gwt.logging.firebugHandler" value="ENABLED"></set-
property-name>
<set-property-name="gwt.logging.popupHandler" value="ENABLED"></set-
property-name>
But the error remains.
I'm grateful for any help. Thanks so much.
--
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.