Re: [Simple-support] Simple framework and GWT
Brought to you by:
niallg
|
From: daniel e. <da...@gm...> - 2013-02-13 18:53:17
|
I added a package org.simpleframework and an xml.gwt.xml file containing: <module> <inherits name='com.google.gwt.user.User'/> <source path="xml"></source> </module> And it worked, of course the compiled simpleframework.jar should be in the classpath On 13 February 2013 12:35, daniel echalar <da...@gm...> wrote: > Hi, > > I'm trying to use simpleframework in a GWT project, on google I found that > the only way to add third party libraries is to add them with the sources > included in the jar file,so I have compiled a simple-xml.2.6.9.jar that > includes that and also an the gwt.xml file. But this error is thrown: > > Loading inherited module 'org.simpleframework.xml' > [ERROR] Unable to find 'org/simpleframework/xml.gwt.xml' on > your classpath; could be a typo, or maybe you forgot to include a classpath > entry for source? > [ERROR] Line 12: Unexpected exception while processing element > 'inherits' > com.google.gwt.core.ext.UnableToCompleteException: (see previous log > entries) > at > com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:308) > ..... > > I tried to solve this error without success, however it seems to be just a > file pointing issue, but at this point I'm starting to think that it is not > possible (with simple framework) because of the GWT compiler restriction ( > https://developers.google.com/web-toolkit/doc/latest/DevGuideCodingBasicsCompatibility#runtime > ) > > So, does anybody have tried this? is this possible? if so, how? > > thanks > |