I have a GWT component that i want to integrate with my GWT application, but unfortunately this component takes about 40 sec to load, this means in DevMode each time i refresh the page i should to wait about 40 sec to be able to work. this is caused by only using the tag for this component.
I thought about inheriting using tag for the component instead of adding tag in the gwt.xml file. in production mode, it works but in development mode i get the following error:
[ERROR] [ModuleA] - Unable to find 'ModuleA.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
The solution that i have come up with is:
1. create a GWT module that inherits the component
2. create a native method that create a function to call the component api:
$wnd.externalJS = $entry(@com.ModuleA::loadData(Ljava/lang/String;));
3. compile the module
4. add script in module BThank you
Ahmad Igbaria