How not load a library into a entry point?
<?xml version="1.0" encoding="UTF-8"?>
<module rename-to='extension'>
<!-- Inherit the core Web Toolkit stuff. -->
<inherits name='com.google.gwt.user.User' />
<inherits name="com.google.gwt.i18n.I18N" />
<inherits name="com.google.gwt.i18n.CldrLocales" />
<!-- Inherit the default GWT style sheet. You can change -->
<!-- the theme of your GWT application by uncommenting -->
<!-- any one of the following lines. -->
<!-- <inherits name='com.google.gwt.user.theme.standard.Standard' /> -->
<!-- <inherits name='com.google.gwt.user.theme.chrome.Chrome'/> -->
<!-- <inherits name='com.google.gwt.user.theme.dark.Dark'/> -->
<!-- Other module inherits -->
<!-- <inherits name="com.nubbius.Nubbius" /> -->
<inherits name="com.nubbius.Extension" />
<inherits name="com.google.web.bindery.event.Event" />
<!-- <inherits name="com.smartclient.theme.nubbius.nubbius" /> -->
<!-- <inherits name="com.floreysoft.gwt.picker.Picker" /> -->
<!-- <inherits name='com.google.gwt.visualization.Visualization' /> -->
<!-- <inherits name="com.smartgwt.PluginBridges"/> -->
<!-- Specify the paths for translatable code -->
<extend-property name="locale" values="es_ES" />
<set-property-fallback name="locale" value="es_ES" />
<source path='client' />
<source path='shared' />
<!-- Specify the app entry point class. -->
<entry-point class="com.nubbius.client.extension.Extension" />
<!-- <inherits name="com.nubbius.Nubbius"/> -->
</module>
I'm developing a GWT application using Isomorphic's smartGWT tables. The problem is that I've got two entry points, one for the main application and one for a Chrome plugin.
The code of the plugin is very simple and don't need smartGWT however load it. The size of my plugin without smartGWT is 3kB, with smartGWT is 677KB.
If I remove the line that inherits the smartGWT library in the .gwt.xml file (< inherits name="com.smartgwt.SmartGwt" />
) for my Chrome plugin the application doesn't compile and throws the following error:
Rebinding com.nubbius.client.validacion.ValidarService
Checking rule <generate-with class='com.google.gwt.user.rebind.rpc.ServiceInterfaceProxyGenerator'/>
[ERROR] Errors in 'file:/home/desarrollo3/workspace/Nubbius2/src/com/nubbius/client/ContactoDC.java'
[ERROR] Line 18: No source code is available for type com.smartgwt.client.data.DSResponse; did you forget to inherit a required module?
[ERROR] Line 22: No source code is available for type com.smartgwt.client.data.DataSourceField; did you forget to inherit a required module?
[ERROR] Line 23: No source code is available for type com.smartgwt.client.data.fields.DataSourceTextField; did you forget to inherit a required module?
[ERROR] Line 52: No source code is available for type com.smartgwt.client.data.fields.DataSourceBooleanField; did you forget to inherit a required module?
[ERROR] Line 185: No source code is available for type com.smartgwt.client.data.DSRequest; did you forget to inherit a required module?
[ERROR] Line 202: No source code is available for type com.smartgwt.client.rpc.RPCResponse; did you forget to inherit a required module?
[ERROR] Line 208: No source code is available for type com.smartgwt.client.widgets.grid.ListGridRecord; did you forget to inherit a required module?
[ERROR] Errors in 'file:/home/desarrollo3/workspace/Nubbius2/src/com/nubbius/client/paginacion/GwtRpcDataSource.java'
[ERROR] Line 44: No source code is available for type com.smartgwt.client.data.DataSource; did you forget to inherit a required module?
[ERROR] Line 54: No source code is available for type com.smartgwt.client.types.DSProtocol; did you forget to inherit a required module?
[ERROR] Line 55: No source code is available for type com.smartgwt.client.types.DSDataFormat; did you forget to inherit a required module?
[ERROR] Line 66: No source code is available for type com.smartgwt.client.data.DSRequest; did you forget to inherit a required module?
[ERROR] Line 68: No source code is available for type com.smartgwt.client.data.DSResponse; did you forget to inherit a required module?
[ERROR] Unable to find type 'com.nubbius.client.validacion.ValidarService'
[ERROR] Hint: Previous compiler errors may have made this type unavailable
[ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly
I need the app and the plugin in the same GAE Application, because both share the DB and also the plugin is an URL that calls the especific entry point in my application (e.g: the URL to enter my application is myapp.appspot.com and the plugin calls to myapp.appspot.com/Extension.jsp) further I can't use diferent versions in GAE because SSL connection doesn't work (e.g: myapp.appspot.com for the application and 2.myapp.appspot.com for the plugin)
How I can not load the SmartGWT without the compiling error?
I attach my Extension.gwt.xml file for the plugin.
___
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: info@thecloud.es
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home