GWT Module exclude(s) ignored !

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

GWT Module exclude(s) ignored !

Postby cyril.lakech » Sun Feb 01, 2009 6:49 am


For some reasons, I must had exclusion to my GWT module.

So I use the official GWT syntax from the gwt-module.dtd =>

From the DTD :

Code: Select all
<!-- Specify the source path, relative to the classpath location of the module descriptor -->
<!ELEMENT source (include | exclude)*>
<!ATTLIST source
      includes CDATA #IMPLIED
      excludes CDATA #IMPLIED
      defaultexcludes (yes | no) "yes"
      casesensitive (true | false) "true"
<!ELEMENT exclude EMPTY>
<!ATTLIST exclude

My sample from my module XML file :

Code: Select all
   <source path="application">
      <exclude name="**/service/**" />

Everything is fine for the GWT compilation (compilation is successful even with maven) but in Eclipse I got many errors in the packages I exclude with the exclude tag or the excludes property. (I tried both). The errors i get seems to be normal errors if the package of these errors was not exclude...

So I think the exclusion is ignore by GWT Designer.

Let me know yout position about this problem.

Posts: 19
Joined: Tue Aug 19, 2008 11:35 pm

Re: GWT Module exclude(s) ignored !

Postby Eric Clayberg » Mon Feb 02, 2009 5:59 am

cyril.lakech wrote:So I think the exclusion is ignore by GWT Designer.

Yes. That is correct.

We wil add support for "exclude" in the next major GWT Designer release.
Eric Clayberg
Software Engineering Manager

Author: "Eclipse Plug-ins"
Eric Clayberg
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 2 guests