Saturday, August 27, 2016

Re: How to declare standard java libraries dependencies to the GWT compiler with the tbroyer maven plugin?

I updated the 'deprecation notice', deprecation is a strong word and people get scared that the plugin is going to disappear. But the idea is the same, you should migrate if you can, so thanks Bruno Salmon to try it out!

On Friday, August 26, 2016 at 4:51:21 PM UTC+2, Thomas Broyer wrote:


On Friday, August 26, 2016 at 3:36:52 PM UTC+2, Bruno Salmon wrote:
hi,

Having read the deprecation notice, I'm trying to move from the mojo plugin to the new recommended plugin, the one written by Thomas.

But I'm facing this problem: my GWT application uses some java libraries (standard jar packaging but with GWT compatible sources), however the GWT compiler can't find these sources although I have listed these libraries in the application pom:

        <dependency>
           
<groupId>lib1-groupId</groupId>
           
<artifactId>lib1-artifactId</artifactId>
           
<version>lib1-version</version>
       
</dependency>
       
<dependency>
           
<groupId>lib2-groupId</groupId>
           
<artifactId>lib2-artifactId</artifactId>
           
<version>lib2-version</version>
       
</dependency>
        ...

With the mojo plugin already it was not enough to just declare their dependencies in the pom, I had to declare them a second time in the compileSourceArtifacts section of the plugin configuration, like this:

        <configuration>
        ...
           
<compileSourcesArtifacts>
               
<compileSourcesArtifact>lib1-groupId:lib1-artifactId</compileSourcesArtifact>
               
<compileSourcesArtifact>lib2-groupId:lib2-artifactId</compileSourcesArtifact>
                ...
           
</compileSourcesArtifacts>
       
</configuration>

and then the GWT compiler could find the sources of these libraries and include them for the application compilation.

I haven't seen the equivalent with the tbroyer plugin.
Anybody knows how to do it?

Add dependencies to the source artifacts in addition to the "binary" ones:

        <dependency>
            
<groupId>lib1-groupId</groupId>
            
<artifactId>lib1-artifactId</artifactId>
            
<version>lib1-version</version>
            <classifier>sources</classifier>
        </dependency>
        
<dependency>
            
<groupId>lib2-groupId</groupId>
            
<artifactId>lib2-artifactId</artifactId>
            
<version>lib2-version</version>
            <classifier>sources</classifier>
        </dependency>
        ...

See the description of the different kind of dependencies in the home page: https://tbroyer.github.io/gwt-maven-plugin/

--
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 post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Friday, August 26, 2016

Re: gwt-material 1.6.0 is now available

--
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 post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Re: How to declare standard java libraries dependencies to the GWT compiler with the tbroyer maven plugin?



On Friday, August 26, 2016 at 3:36:52 PM UTC+2, Bruno Salmon wrote:
hi,

Having read the deprecation notice, I'm trying to move from the mojo plugin to the new recommended plugin, the one written by Thomas.

But I'm facing this problem: my GWT application uses some java libraries (standard jar packaging but with GWT compatible sources), however the GWT compiler can't find these sources although I have listed these libraries in the application pom:

        <dependency>
           
<groupId>lib1-groupId</groupId>
           
<artifactId>lib1-artifactId</artifactId>
           
<version>lib1-version</version>
       
</dependency>
       
<dependency>
           
<groupId>lib2-groupId</groupId>
           
<artifactId>lib2-artifactId</artifactId>
           
<version>lib2-version</version>
       
</dependency>
        ...

With the mojo plugin already it was not enough to just declare their dependencies in the pom, I had to declare them a second time in the compileSourceArtifacts section of the plugin configuration, like this:

        <configuration>
        ...
           
<compileSourcesArtifacts>
               
<compileSourcesArtifact>lib1-groupId:lib1-artifactId</compileSourcesArtifact>
               
<compileSourcesArtifact>lib2-groupId:lib2-artifactId</compileSourcesArtifact>
                ...
           
</compileSourcesArtifacts>
       
</configuration>

and then the GWT compiler could find the sources of these libraries and include them for the application compilation.

I haven't seen the equivalent with the tbroyer plugin.
Anybody knows how to do it?

Add dependencies to the source artifacts in addition to the "binary" ones:

        <dependency>
            
<groupId>lib1-groupId</groupId>
            
<artifactId>lib1-artifactId</artifactId>
            
<version>lib1-version</version>
            <classifier>sources</classifier>
        </dependency>
        
<dependency>
            
<groupId>lib2-groupId</groupId>
            
<artifactId>lib2-artifactId</artifactId>
            
<version>lib2-version</version>
            <classifier>sources</classifier>
        </dependency>
        ...

See the description of the different kind of dependencies in the home page: https://tbroyer.github.io/gwt-maven-plugin/

--
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 post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

How to declare standard java libraries dependencies to the GWT compiler with the tbroyer maven plugin?

hi,

Having read the deprecation notice, I'm trying to move from the mojo plugin to the new recommended plugin, the one written by Thomas.

But I'm facing this problem: my GWT application uses some java libraries (standard jar packaging but with GWT compatible sources), however the GWT compiler can't find these sources although I have listed these libraries in the application pom:

        <dependency>
           
<groupId>lib1-groupId</groupId>
           
<artifactId>lib1-artifactId</artifactId>
           
<version>lib1-version</version>
       
</dependency>
       
<dependency>
           
<groupId>lib2-groupId</groupId>
           
<artifactId>lib2-artifactId</artifactId>
           
<version>lib2-version</version>
       
</dependency>
        ...

With the mojo plugin already it was not enough to just declare their dependencies in the pom, I had to declare them a second time in the compileSourceArtifacts section of the plugin configuration, like this:

        <configuration>
        ...
           
<compileSourcesArtifacts>
               
<compileSourcesArtifact>lib1-groupId:lib1-artifactId</compileSourcesArtifact>
               
<compileSourcesArtifact>lib2-groupId:lib2-artifactId</compileSourcesArtifact>
                ...
           
</compileSourcesArtifacts>
       
</configuration>

and then the GWT compiler could find the sources of these libraries and include them for the application compilation.

I haven't seen the equivalent with the tbroyer plugin.
Anybody knows how to do it?

--
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 post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Re: gwt-material 1.6.0 is now available

Thank you mark!
Great work.

On Fri, Aug 26, 2016 at 10:14 AM, Alain Ekambi <jazzmatadazz@gmail.com> wrote:
Love it.

On 26 August 2016 at 08:29, Francesco Izzi <francesco.izzi@geosdi.org> wrote:
Yep gwt-material !

+1 

Il giorno ven 26 ago 2016 alle ore 08:27 Frank <frank.wynants@gmail.com> ha scritto:
Nice work !

--
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 post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

--
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 post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.



--

Alain Ekambi

Co-Founder

Ahomé Innovation Technologies

http://www.ahome-it.com/

--
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 post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

--
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 post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Re: load js problem in IE11

We don`t have any difficulties with IE-11 and edge running SSO output from 2.8

--
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 post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Re: load js problem in IE11


On Friday, August 26, 2016 at 9:32:34 AM UTC+2, 129pierre wrote:
I have a module developped with gwt 2.7.

It worked both in chrome and IE11 from a static html page.

When wrapped in an jboss app, the IE11 is not loaded. 
Instead of the corresponding permutation (gecko I think), it is looking for undefined.cache.js

Could the page be in quirks mode? or with X-UA-Compatible telling IE to behave like IE5, IE6 or IE7?
Check the browser mode and document mode in the F12 Developer Tools.

--
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 post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.