Hello, @Magnus
In my projects where i do use ant to make the automatic build and export of JAR's i put the source code and compiled files together, without any distinction whatsoever (only file extension). To build and export the jar files with Ant i recommend you to use an Eclipse plugin for the effect like eclipse2ant. @Fabio You should have a <project>.gwt.xml for each project you are linking to the main project (known as a module). In the <main_project>.gwt.xml you should inherit each of them. In addition you need to specify in the <project>.gwt.xml all the translatable code (code to be used in the client side or shared with it). Also you need add the inheritance of other modules inside each modules which requires them. If you are using eclipse just export the source code folder (it should be enough) to the lib path in the main GWT project. You should export the source code too. Best Regards. Quinta-feira, 11 de Outubro de 2012 16:13:53 UTC+1, Fabio escreveu: > > Hello > > I have an Eclipse GWT CHART project working fine as long as I let my > library project linked in this GWT project. > But when I compile my library into a jar file, unlink my library > project from the classpath of GWT project, and add the jar into > war/web-inf/lib and classpath it > > I get the following exception: > > [ERROR] [gwt_mwp_sample] - Line 82: No source code is available for type > sim.fab.gwt.client.util.GTable; did you forget to inherit a required module? > > if I rollback everything. WORKS again!!!! > > why does it happen ? > > Yet I put the <inherits name='sim.fab.gwt.client.util'/> into the GWT > project xml > > is it a BUG ? > > Thanks in advance > > Fabio > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/H-vqoODS058J. 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.
