Tuesday, May 5, 2020

Re: Building SmartGWT project having multiple entry points with maven giving issue

Hi Nick,

In my case, since there are multiple *.gwt.xml files, i think i am facing issue with inheriting them.

Though i am using <inherits tag to include them. In my ant build it is working fine.

For all such parent projects which are inherited, it is giving below error while building child project,

No source code is available for type <class name> ; did you forget to inherit a required module?

I apologize that it doesn't look like multiple entry points issue since the child project is having only single entry point.

On Thu, Apr 30, 2020 at 4:31 AM Nick Wilton <nick@guided.net.au> wrote:
Hi Pratik,

I'm uploaded an example pom.xml and module.gwt.xml to Gist: https://gist.github.com/NickWilton/dc1602fff24509154c076daa404bacb5
This example uses SmartGWT 4.1 and GWT 2.8.

The directory structure for this example is:

/ src / main / java /      yourpackage /      client
                                              server
                                              shared
               resources / yourpackage /      module.gwt.xml
                           log4j.isc.config.xml
                           server.properties
               webapp /    Your Web Files Go Here
  pom.xml

You should be able to add the additional entry points into the module file (or have multiple module files each with a single entry point, and compile these separately).
But I suggest getting it working with one entry point for now.

I hope this helps.

Regards,
Nick

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/FF51C2EE-C15E-43E6-9E9A-52DB8DFECB97%40guided.net.au.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CANb3oeyvfxznN%3DamX_W%2BvOi_%3Dz_ZyO4Kr8tC9UY68mwaaatFHQ%40mail.gmail.com.

No comments:

Post a Comment