On Wednesday, March 5, 2014 9:49:06 AM UTC+1, Rubén Bermúdez López wrote: > > I have a GWT application that use and have 2 host pages with 2 differents > EntryPoint (gwt.xml files) which some code and most important, Database > (datastore in Google App Engine) common. > > The problem is that one of them (main application entry point) makes use > of several external Java libraries, including SmartGWT with its JS > libraries, meanwhile the second one use none of them. When I deploy (and > compile) to Google App Engine, I need to include reference in the second > entry point to SmartGWT, although it's not used. If inherits directive > lacks, I get lot of compilation errors. I don't want to load SmartGWT JS > files (2 MBytes) when they are not necessary, growing download from a few > Kbytes to 100x times Kilobytes with SmartGWT. This second host page is a > Google Chrome Extension, where light load is a strong requirement. > > If I run in GAE SDK eclipse local webserver without any reference to > SmartGWT in second host page, it works. But if I compile the whole project > (although in first hots page references to SmartGWT remains) I get errors, > related to SmartGWT absence. We have inspected second host page code, and > no reference to SmartGWT (imports) are present. > > Is it possible to make a separate compilation of two host pages? >
I'd say you *should* do separate compilations; I'd even say you should have several projects/modules for your webapp, Chrome extension and shared code. It entirely depends on your build setup though. I suspect you don't have a build tool and do everything from within Eclipse; that might be the first mistake, but even using only Eclipse you should be able to compile separately (just create 2 distinct launch configurations); I have no idea how it plays out with GAE and how the Google Plugin for Eclipse handles GAE deployment. Given that your problem is mostly Eclipse-related (IIUC), you should probably ask in the GPE forum: https://groups.google.com/d/forum/google-plugin-eclipse > > > > *___Nota:* Según la normativa vigente en materia de Protección de Datos > de Carácter Personal, le informamos que sus datos han sido incorporados a > un fichero denominado "Clientes y/o Proveedores" creado por resolución de > la Agencia Española de Protección de Datos y del que es responsable "*The > Cloud Gate S.L.*", con CIF: B-18961433. La finalidad del tratamiento de > sus datos es mantener la relación contractual existente o mantenerle > informado de novedades y noticias que puedan resultar de su interés. Le > informamos que usted puede ejercitar sus derechos de acceso, rectificación, > cancelación y oposición, mediante escrito dirigido a: "*The Cloud Gate > S.L.*", Calle Campo Verde 4, 3ºC , 18001 - Granada, o mediante email a la > siguiente dirección de correo electrónico: [email protected] <javascript:> La > información incluida en este e-mail es CONFIDENCIAL, siendo para uso > exclusivo del destinatario arriba mencionado. Si usted lee este mensaje y > no es el destinatario indicado, le informamos que está totalmente prohibida > cualquier utilización, divulgación, distribución y/o reproducción de esta > comunicación sin autorización expresa en virtud de la legislación vigente. > Si ha recibido este mensaje por error, le rogamos nos lo notifique > inmediatamente por esta misma vía y proceda a su eliminación. *"* > *nubbius"* es una marca registrada por The Cloud Gate S.L. > > This information is private and confidential and intended for the > recipient only. If you are not the intended recipient of this message you > are hereby notified that any review, dissemination, distribution or copying > of this message is strictly prohibited. This communication is for > information purposes only and should not be regarded as an official > statement from *The Cloud Gate, S.L.* Email transmission cannot be > guaranteed to be secure or error-free. Therefore, we do not represent that > this information is complete or accurate and it should not be relied upon > as such. All information is subject to change without notice. "*nubbius*" > is a registered trademark of The Cloud Gate S.L. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
