Re: Release a snapshot version

2018-06-27 Thread Thomas Broyer
It looks like you just want to deploy your snapshot to a repository; in that case you'll want to simply "mvn deploy", without even using the maven-release-plugin (for the reasons Karl Heinz gave) Le mer. 27 juin 2018 18:30, Ravindranatha Panikar, Renjith < rr...@allstate.com> a écrit : > I am

GWT RPC file name in ClassNotFoundException

2018-06-26 Thread Thomas Broyer
What does com.ptc.mvc.gwt.GwtHandlerAdapter do? Could it be responsible for this behavior? -- 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

guide extra filter does not bind.

2018-06-22 Thread Thomas Broyer
If you explicitly call the JWTFilter() method, then don't annotate it with `@Provides`. The error is that you have more than one bindings for the Filter class with no qualifier annotation, and not providing into a set (multibinding); but you don't actually need those bindings. -- You

Re: Guice injection not working in web application

2018-06-19 Thread Thomas Broyer
On Tuesday, June 19, 2018 at 12:44:07 AM UTC+2, scl wrote: > > Unless you tell guice that a dependency is optional it will never inject > null. It would fail with an exception if it could not fullfil a dependency. > > So for me the most likely cause of you seeing null is that the instance >

Re: Using UIField HTML to create a dynamic table

2018-06-19 Thread Thomas Broyer
As can be seen in your screenshot, the request goes to /myaction/myActionService. The myActionService part comes from the @RemoteServiceRelativePath("myActionService"), and the /myaction part comes from the module name; or in this case most likely a rename-to="myaction" in your module (which

Re: mvn dependency:purge-local-repository

2018-06-15 Thread Thomas Broyer
On Fri, Jun 15, 2018 at 5:45 PM Karen Goh wrote: > Hi, > > I run into a problem in my Spring Boot Web project and then there's an > advice following this URL : > > https://github.com/spring-projects/spring-boot/issues/12398 > > But, when I run mvn dependency:purge-local-repository, I get another

Re: Serialization Exception while upgrading to GWT 2.8.2

2018-06-13 Thread Thomas Broyer
Dinesh, can we maybe avoid splitting discussions across many threads? Let's continue in https://groups.google.com/forum/#!topic/google-web-toolkit/KGhgfh4wcgM On Wednesday, June 13, 2018 at 8:34:24 AM UTC+2, dinesh kumar wrote: > > I am upgrading to GWT 2.8.2 from GWT 2.6.0 and getting the

Re: GWT Update to 2.8.2

2018-06-13 Thread Thomas Broyer
nseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js) >>> at Unknown.$fireOnResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js) >>> at Unknown.onReadyStateChange(com.ptc.windchill.wncgwt.WncGWT-0.js) >>> at Unknown.(com.ptc.windchill.wncgwt.WncGWT-0.js) >>> a

Re: Problems Remote Debugging with SourceMaps in SuperDevMode

2018-06-12 Thread Thomas Broyer
You could try https://github.com/tbroyer/gwt-devserver On Tuesday, June 12, 2018 at 10:26:13 AM UTC+2, Carlo wrote: > > Hello, > > sorry for resuming this old thread. > I have as well a code server running on remote and I would like to use SDM > via my local browser. SDM works fine but it seems

Re: GWT Update to 2.8.2

2018-06-12 Thread Thomas Broyer
IIUC, make sure all your classes implement EntryPoint. Before 2.7, entry points weren't cast to EntryPoint, so you only had to have a method with "void onModuleLoad()" signature; starting with GWT 2.7 (and specifically this commit:

Re: How is GWT Emulated compiled

2018-06-08 Thread Thomas Broyer
On Friday, June 8, 2018 at 11:19:54 AM UTC+2, Hrishikesh Joshi wrote: > > Hi Group, > > Does any one how is GWT emulated source gets compiled and used by GWT at > runtime? > In SuperDevMode, yes. In production mode, quite obviously yes. In legacy DevMode, it depends: java.* (and javax.* ?)

Re: GWT Emulated classes

2018-06-06 Thread Thomas Broyer
See also https://github.com/gwtproject/old_google_code_wiki/blob/master/ResourceOracle.wiki.md On Tuesday, June 5, 2018 at 12:23:45 PM UTC+2, Jens wrote: > > GWT has a feature called "super source" which allows you to override > existing source files with your own implementation. GWT itself

Re: GWT Update to 2.8.2

2018-06-05 Thread Thomas Broyer
On Tuesday, June 5, 2018 at 8:57:44 AM UTC+2, dinesh kumar wrote: > > I have updated to GWT 2.8.2 and getting a compilation error : > > Compilation unit > 'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/impl/cldr/DateTimeFormatInfoImpl_se.java' > > is removed due

Re: [gwt-contrib] Re: Migrating and update gwt-user.jar modules to github.com/gwtproject

2018-06-04 Thread Thomas Broyer
FYI, I just finished transferring ownership of all my modules to the gwtproject organization on GitHub; and published them all (HEAD-SNAPSHOT) to Sonatype OSSRH. On Thursday, April 12, 2018 at 6:58:12 PM UTC+2, Colin Alworth wrote: > > >

Re: Errors while updating to GWT2.8.2

2018-05-31 Thread Thomas Broyer
You may have to clean your .gwt-unitCache (it's a good idea anyway whenever your change GWT version) On Thursday, May 31, 2018 at 12:14:42 PM UTC+2, dinesh kumar wrote: > > I have updated the following jars : > > GWT2.8.2 > --- >gwt-dev >gwt-user >gwet-servlet > >

Re: JavascriptObject Not Instance of Object

2018-05-31 Thread Thomas Broyer
On Thursday, May 31, 2018 at 11:00:12 AM UTC+2, Vinod Kumar wrote: > > In native methods i have to use an instance of native javascript "Object". > But," GWT JavascriptObject" creates a object which is not an instance of > native javascript "Object". > Please help. > You might need to use

Re: Exposing my GWT API via web/RESTful service - can it be done (easilyish)?

2018-05-31 Thread Thomas Broyer
On Thursday, May 31, 2018 at 9:25:56 AM UTC+2, Konstantin Chvilyov wrote: > > Hi Richard, > Have you succeed? > Is it possible to add Swagger UI for existing GWT-RPC REST requests? > There's no such thing as "GWT-RPC REST", so no. -- You received this message because you are subscribed to the

Re: XML Enternal Entity (XXE) Vurnability

2018-05-28 Thread Thomas Broyer
On Monday, May 28, 2018 at 1:34:59 PM UTC+2, Deepak Antil wrote: > > Is GWT is prone to XXE Vulnerability by default or it require any specific > configuration for that? > TL;DR: No. > XML Prevention Sheet taking about settings for common XML parsers. > >

Re: First experience using GWT Boot in my Java Devs Training

2018-05-25 Thread Thomas Broyer
I know about two such plugins: https://github.com/Putnami/putnami-gradle-plugin and https://github.com/steffenschaefer/gwt-gradle-plugin, though the latter is unmaintained afaict. Fwiw, I'd start with simple JavaExec tasks and customized configs (to bring sources into the classpath), then only

Re: First experience using GWT Boot in my Java Devs Training

2018-05-24 Thread Thomas Broyer
I am :-) Though I have very limited experience with GWT and Gradle. -- 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

Re: maven-license plugin's license-list

2018-05-22 Thread Thomas Broyer
No, AFAICT, it's the list of all licences known to the plugin, irrespective of "applicability" and/or your dependencies. On Tue, May 22, 2018 at 5:20 PM Désilets, Alain < alain.desil...@nrc-cnrc.gc.ca> wrote: > This may sound a bit nit-picky, but I need to be 100% about this... > > > I am using

Re: [OAUTH-WG] Token Revocation error codes

2018-05-22 Thread Thomas Broyer
IFF the server processes it! RFC 7009 says “An authorization server MAY ignore this parameter, particularly if it is able to detect the token type automatically.” which BTW is exactly my case. For months, my AS received requests with token=Array, and now receives requests with token=null. Those

Re: Unable to download eclipse plugin

2018-05-21 Thread Thomas Broyer
See https://cloud.google.com/eclipse/docs/migrating-gpe On Sunday, May 20, 2018 at 10:58:27 PM UTC+2, J.J.Chao Tao wrote: > > Hi, > > I am trying to install GWT plugin for Eclipse (Oxygen or Neon), using > the Eclipse market place, but got "No repository found at >

Re: GWT JSON-B

2018-05-20 Thread Thomas Broyer
How about "just" using @JsType classes? -- 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+unsubscr...@googlegroups.com. To post to this group,

Re: Advice needed - compile error while moving back to GWT 2.7 from 2.8.2

2018-05-14 Thread Thomas Broyer
responding. I'm looking at the build path and both gwt-user > and gwt-dev jar files are from 2.7. Is there somewhere else I should look? > > On Monday, May 14, 2018 at 9:16:18 AM UTC-4, Thomas Broyer wrote: >> >> >> >> On Monday, May 14, 2018 at 3:06:09 PM UTC+2, Rache

Re: Advice needed - compile error while moving back to GWT 2.7 from 2.8.2

2018-05-14 Thread Thomas Broyer
On Monday, May 14, 2018 at 3:06:09 PM UTC+2, Rachel wrote: > > We have to move our project back to GWT 2.7 due to some java 1.8 issues. > I've checked all my jar files to make sure they are 2.7 and no duplicate > jars in the build path but am getting errors when I try to compile with Ant. >

Moving from gwt 2.7 to gwt 2.8.2: error while compiling

2018-05-10 Thread Thomas Broyer
You may have to update Sencha GXT to a newer version compatible with GWT 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

Re: MANIFEST missing from 2.8.0

2018-05-02 Thread Thomas Broyer
On Wednesday, May 2, 2018 at 12:28:13 PM UTC+2, Marcin G. wrote: > > Hi, > > I am using Vaadin which uses GWT. After upgrading from 7 to 8 I realized > that my OSGI based app is not starting - reason: gwt-user and dependent > jars are missing META-INF/MANIFEST.MF - why? > For not specific

Advice needed - url request

2018-05-01 Thread Thomas Broyer
Hi, Have a look at http://www.gwtproject.org/doc/latest/DevGuideServerCommunication.html#DevGuideHttpRequests -- 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

Re: Discussion: gwt-user.jar-like uber jar for T.Broyer's multi-module project.

2018-04-28 Thread Thomas Broyer
On Friday, April 27, 2018 at 9:36:04 PM UTC+2, vitrums wrote: > > > If your lib does not have one single main gwt.xml entry point but really >> is more like a gwt-user.jar "set of libraries", then you'd probably better >> skip the gwt:generate-module and gwt:generate-module-metadata and *put

Re: Discussion: gwt-user.jar-like uber jar for T.Broyer's multi-module project.

2018-04-27 Thread Thomas Broyer
On Friday, April 27, 2018 at 4:34:25 PM UTC+2, vitrums wrote: > > Any experienced developer tends to reuse existing components and organize > his own code to allow reusability in future whenever it is possible. > Division of labor further encourages a group of developers to physically > split

[gwt-contrib] IntelliJ IDEA project config

2018-04-25 Thread Thomas Broyer
Have you tried importing the Eclipse projects? This is what I did I believe, and didn't remember changing many things afterwards. -- You received this message because you are subscribed to the Google Groups "GWT Contributors" group. To unsubscribe from this group and stop receiving emails from

Re: DeckLayoutPanel not displaying below banner

2018-04-21 Thread Thomas Broyer
See http://www.gwtproject.org/doc/latest/DevGuideUiPanels.html#Resize Layout panels are sized from the outside-in; your DeckLayoutPanel needs to be given explicit dimensions. Alternatively, replace your HTMLPanel and FlowPanel with layout panels (e.g. a HeaderPanel) and add it to the

Re: GWT 3.0 Release and Java 10 + Support

2018-04-21 Thread Thomas Broyer
There should be a 2.9 release in the following weeks with Java 10 language support (someone is currently contributing a patch). Depending on what people can contribute in that timeframe, it may also include emulation for some Java 9 (and possibly 10) APIs. On Saturday, April 21, 2018 at

Elemental2 - How to set WidthUnionType CSSProperties.width

2018-04-18 Thread Thomas Broyer
That would be element.style.width = WidthUnionType.of("20px") -- 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+unsubscr...@googlegroups.com. To

Re: [gwt-contrib] Re: Porting gwt-i18n module to gwt3

2018-04-08 Thread Thomas Broyer
on and get more involved. > I agree that we should aim for maximum backwards compatibility, but there *will* be breaking changes anyway (if only to replace GWT.create() with calls to a –generated– static factory). I'll try to setup a document today with what I have in mind so we can discuss. > > Tha

Re: [gwt-contrib] Re: Porting gwt-i18n module to gwt3

2018-04-07 Thread Thomas Broyer
On Saturday, April 7, 2018 at 3:03:39 PM UTC+2, Learner Evermore wrote: > > I think I18N is important. However, we never liked or used the GWT 2.x > style of it because it requires dev time knowledge of locales and > multiplies permutations (compile time). It was also inflexible another way >

[gwt-contrib] Re: Naming convention for ported GWT modules

2018-04-07 Thread Thomas Broyer
On Saturday, April 7, 2018 at 6:48:53 PM UTC+2, Jens wrote: > > > Fwiw, I can see zero reason why examples would be published to a Maven >> repo. > > > Well right, although quite a lot projects do so. But maybe just because > examples are part of a multi module project and they just deploy

[gwt-contrib] Re: Naming convention for ported GWT modules

2018-04-07 Thread Thomas Broyer
On Friday, April 6, 2018 at 6:16:50 PM UTC+2, Ahmad Bawaneh wrote: > > Hi > i am working on date pickers for domino-ui, mean while i found that in > order to support different locales in the date picker i need the > DateTimeFormat information for each locale, gwt in the other hand has a >

Re: Form Panel SubmitCompleteEvent not triggered

2018-04-05 Thread Thomas Broyer
Best alternative is to use XMLHttpRequest for file uploads (through JSNI or JsInterop/Elemental2): https://caniuse.com/#feat=xhr2 See https://developer.mozilla.org/en-US/docs/Web/API/FormData/Using_FormData_Objects#Sending_files_using_a_FormData_object On Thursday, April 5, 2018 at 12:01:09 PM

[gwt-contrib] Java 9+ modules for GWT

2018-04-03 Thread Thomas Broyer
J2CL has no notion of modules (no "source path" or other "classpath subsetting", no "public path", no defined properties and no predefined values, no "entry point", no deferred binding). GWT 3 might still have some of them (entry point, matrix of properties, some kind of "public path" or custom

[gwt-contrib] Re: Java10 support

2018-04-03 Thread Thomas Broyer
On Tuesday, April 3, 2018 at 9:00:32 AM UTC+2, Alexander Leshkin wrote: > > Is there anyone who works on Java10 support? I mean dependencies update > (ASM, JDT) and new language feature - Local-Variable Type Inference > . > If not, I can try to create PR. >

Re: Elemento, maven config to force template implementation class regen

2018-03-27 Thread Thomas Broyer
On Monday, March 26, 2018 at 10:19:26 AM UTC+2, Rob Newton wrote: > > Hi, > > When I edit an Elemento template HTML file and do a mvn compile it won't > regenerate the template implementation class source file. Is there some > maven pom config and/or command I can use to say rerun the

[gwt-contrib] Re: Naming convention for ported GWT modules

2018-03-25 Thread Thomas Broyer
Fwiw, I can see zero reason why examples would be published to a Maven repo. Wrt events, each corresponds to a different GWT module: c.g.g.event+c.g.w.b.event, c.g.g.event.logical, and some adapters for when you need to mix org.gwtproject.event with c.g.g.event or c.g.w.b.event. We could also

[gwt-contrib] Re: Naming convention for ported GWT modules

2018-03-24 Thread Thomas Broyer
On Saturday, March 24, 2018 at 10:30:10 AM UTC+1, Mincong Huang wrote: > > Hi, > > I'd like to have a clarification about the naming convention for ported > GWT modules. Because I'm porting the module `gwt-safecss` and > `gwt-animation`. When I go to Vertispan repository [1], the available >

Re: GWT with App Engine (standard) and maven?

2018-03-19 Thread Thomas Broyer
On Monday, March 19, 2018 at 4:03:50 PM UTC+1, dflorey wrote: > > Thanks, that was the missing info I was looking for (just checked the > maven-plugin help etc.)!! > What is the recommended setup nowadays when using Eclipse? > Is it recommended to use the Eclipse plugin(s) for GWT/GAE or is it

Re: GWT with App Engine (standard) and maven?

2018-03-19 Thread Thomas Broyer
On Monday, March 19, 2018 at 2:31:34 PM UTC+1, dflorey wrote: > > As I test I just created a blank test project from the archetype. > I did not manage to run it either using "maven gwt:devmode". > Is there some additional configuration required to tell the plugin where > to find the webapp? >

Re: javadoc:jar and generated sources

2018-03-15 Thread Thomas Broyer
Be careful in your testing: javadoc:javadoc forks a lifecycle at 'generate-sources' phase (and javadoc:aggregate at 'compile' phase), whereas javadoc:jar does not! So running 'mvn javadoc:jar' alone indeed won't run your protoc plugin, which won't add the generated sources as a compile source

How to pass a build number to a gwt app?

2018-03-12 Thread Thomas Broyer
Easiest with recent GWT version would be to declare a , get it using System.getProperty(), and set it with --property. With older versions, use Maven filtering on a properties file you use with a com.google.gwt.i18n.client.Constants; or have a look at Mojo's Java template plugin. -- You

Re: GWT with App Engine (standard) and maven?

2018-03-12 Thread Thomas Broyer
On Monday, March 12, 2018 at 2:10:46 PM UTC+1, dflorey wrote: > > I tried to leverage your archetypes to get the gwt part (without > appengine) running as a starting point. > What I did: > I created a maven project from the archetype (using the eclipse maven > wizard). > I can see a nice

Re: GWT with App Engine (standard) and maven?

2018-03-12 Thread Thomas Broyer
On Monday, March 12, 2018 at 12:55:22 PM UTC+1, dflorey wrote: > > Hi folks, > after all those years I've decided to start migrating our GWT / App Engine > (standard) projects from Ant to Maven. > The main app consists of several GWT libraries and multiple modules. > I'd also like to split the

Re: Testing native @JsType in GWT tests

2018-03-12 Thread Thomas Broyer
On Monday, March 12, 2018 at 9:17:58 AM UTC+1, Mincong Huang wrote: > > Thanks, Thomas. Changing to production mode fixed the problem. > > However, I noticed that when using production mode in tests, I cannot test > the type-matching for JSNI anymore. Previously, the GWT generated interface >

Re: Testing native @JsType in GWT tests

2018-03-11 Thread Thomas Broyer
JsInterop doesn't work in legacy DevMode; you have to run the tests in production mode: https://gwt-maven-plugin.github.io/gwt-maven-plugin/test-mojo.html#productionMode (this is the default in GWT 2.8, but Mojo's Maven plugin for GWT forces legacy DevMode by default; may I suggest that you

Re: Any recommended free server hosts for GWT apps?

2018-03-04 Thread Thomas Broyer
On Saturday, March 3, 2018 at 11:13:48 PM UTC+1, subroutines wrote: > > Hi, > > I would like to know if anyone knows of any free host servers that can > support GWT applications that they recommend? I am not intending to have > massive amounts of traffic since it is only a web application for

Re: Google maps and GWT 2.8

2018-03-02 Thread Thomas Broyer
On Friday, March 2, 2018 at 6:27:39 AM UTC+1, Lars wrote: > > What is the issue with branflake2267 GWT-Maps-V3-Api regarding 2.8? > Because we are using it with 2.8.2 without problems (but only for some > basic map features)... > For sure in general an automatic jsinterop wrapper (using the

Re: GWT 2.8.2 and Jetty Embedded - com.google.gwt.dev.jjs.InternalCompilerException: Error constructing Java AST

2018-02-27 Thread Thomas Broyer
; On Monday, February 26, 2018 at 2:03:29 PM UTC-5, Thomas Broyer wrote: >> >> apache-jsp brings Eclipse JDT, which causes the conflict. >> >> As you're using Mojo's plugin for GWT,you can configure it to put GWT >> dependencies first in the classpath; that should fix

GWT 2.8.2 and Jetty Embedded - com.google.gwt.dev.jjs.InternalCompilerException: Error constructing Java AST

2018-02-26 Thread Thomas Broyer
apache-jsp brings Eclipse JDT, which causes the conflict. As you're using Mojo's plugin for GWT,you can configure it to put GWT dependencies first in the classpath; that should fix the conflict. But you really should split this project into two or three modules, with separate dependency trees

Re: Superdev doesn't work with GWT 2.8.2 & IntelliJ 14

2018-02-17 Thread Thomas Broyer
Is IntelliJ 14 (from subject line) supposed to work with GWT 2.8? AFAICT that's a very old version of IntelliJ, so I would doubt 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,

Re: [gwt-contrib] Super slow compilation in projects with many wildcard generics

2018-02-16 Thread Thomas Broyer
On Friday, February 16, 2018 at 11:42:14 AM UTC+1, Nándor Előd Fekete wrote: > > The fix for this bug got backported to the 4.7 line of Eclipse. Will there > be a 2.8.3 GWT release and do you guys plan to upgrade to this version of > JDT if so? > I don't know when (or whether, but that's

Re: Understanding JsInterop

2018-02-15 Thread Thomas Broyer
On Thursday, February 15, 2018 at 11:01:41 AM UTC+1, Vassilis Virvilis wrote: > > Amazing trick! > > Obvious if you think about it - but very difficult to think it initially > (for us mere mortals). > Well, when you write "element.getBoundingClientRect" in JS (without the parenthesis), this

Re: Understanding JsInterop

2018-02-15 Thread Thomas Broyer
On Thursday, February 15, 2018 at 10:21:59 AM UTC+1, Scott Shumway wrote: > > Greetings > > I am trying to get a DOMRect from an Element. I can do this with JSNI, but > have been unable to make a JsInterop version. Here's what I have: > > public final class DOMRect extends JavaScriptObject > {

Re: Elemental2 and constants

2018-02-12 Thread Thomas Broyer
On Monday, February 12, 2018 at 9:03:50 AM UTC+1, David Nouls wrote: > > Is there a plan to also generate constants needed in the Elemental2 > classes ? > I am thinking about for example event-types or KeyboardEvent key values. > Or is it not possible to auto generate these ? > There aren't

Is Document.get().createKeyPressEvent() not available in IE11?

2018-02-08 Thread Thomas Broyer
Apparently, on IE one could use initKeyboardEvent (https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent), and on "modern browsers" one should rather use the constructor. Key/keyboard event handling is such a mess… and synthesizing those events is almost useless anyway… There's an

Re: Elemental2 RC1: RegExp disappeared?

2018-02-06 Thread Thomas Broyer
directly js code to java without the >> need to put (mentally) everywhere Js is a good thing. >> >> >> On Tue, Feb 6, 2018 at 12:31 AM, Thomas Broyer <t.bro...@gmail.com> >> wrote: >> >>> Native types have been renamed with a Js prefix: >>> htt

Elemental2 RC1: RegExp disappeared?

2018-02-05 Thread Thomas Broyer
Native types have been renamed with a Js prefix: https://static.javadoc.io/com.google.elemental2/elemental2-core/1.0.0-RC1/elemental2/core/JsRegExp.html -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop

Re: Migrating from GWT 2.5.1 to 2.8.2 - Problem with Super dev mode

2018-02-05 Thread Thomas Broyer
ou forgot to include a classpath > entry for source? > > > Ludovit > > Le dimanche 4 février 2018 22:43:57 UTC+1, Thomas Broyer a écrit : >> >> Try package instead of prepare-package then (my bad, you should never use >> a phase earlier than package in a multi

Re: Migrating from GWT 2.5.1 to 2.8.2 - Problem with Super dev mode

2018-02-04 Thread Thomas Broyer
Try package instead of prepare-package then (my bad, you should never use a phase earlier than package in a multi-module Maven project, as a rule if thumb --there are few exceptions, as always, depends on the project though) -- You received this message because you are subscribed to the Google

Re: Migrating from GWT 2.5.1 to 2.8.2 - Problem with Super dev mode

2018-02-03 Thread Thomas Broyer
mvn prepare-package -pl web-client -am -DskipTests ? (you don't just want to gwt:compile, you want to compile the shared module, process ressources, compile the web-client module, and gwt:compile it) -- You received this message because you are subscribed to the Google Groups "GWT Users"

Re: Migrating from GWT 2.5.1 to 2.8.2 - Problem with Super dev mode

2018-02-03 Thread Thomas Broyer
You can also use Super Dev Mode with bookmarklets (without -launcherDir), or setup a reverse proxy. -- 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

Re: Preventing others from using 'new' when object is created by Guice?

2018-02-02 Thread Thomas Broyer
FYI https://github.com/google/guice/wiki/KeepConstructorsHidden -- You received this message because you are subscribed to the Google Groups "google-guice" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-guice+unsubscr...@googlegroups.com. To

Re: Migrating from GWT 2.5.1 to 2.8.2 - Problem with Super dev mode

2018-02-01 Thread Thomas Broyer
On Thursday, February 1, 2018 at 6:11:51 PM UTC+1, Martones wrote: > > Hi everyone, and Thomas especially :p > > I'm migrating a larger legacy project to the actual GWT standards. I'm > running into many problems but I'm sure they are all due to my > misunderstanding of how to wire modules

Re: [gwt-contrib] JUnit tests without Generators

2018-01-26 Thread Thomas Broyer
Correct me if I'm wrong, this is relying on JUnit 4 suited to generate appropriate goog.testing code, JUnit 3 test cases (GWTTestCase basically, possibly simply TestCase), with a "new" emulation of those classes based on JsInterop to goog.testing, right? (goog.testing behaving similar to JUnit

Re: What is Wrong With GWT Widgets

2018-01-23 Thread Thomas Broyer
On Monday, January 22, 2018 at 11:09:27 PM UTC+1, Mutaz Alghafary wrote: > > What is exactly the problem with GWT Widgets, I am new to GWT and I have > been watching some sessions about the future of GWT , it seems everyone > agrees that you should not be using GWT Widgets, and use things like

Re: JUnit changes from 2.7 to 2.8

2018-01-17 Thread Thomas Broyer
On Wednesday, January 17, 2018 at 5:07:46 PM UTC+1, Byron Ludwig wrote: > > Hi, > > Could someone please explain how GWT now compiles and runs JUnit test > cases as I have just upgraded my code base from 2.7 to 2.8.2 and now none > of my GWT test cases work. > What has changed between

Re: Chrome debug crash with super devmode

2018-01-16 Thread Thomas Broyer
IIRC, some (many?) people aren't using source maps at all, using -style PRETTY to get readable JS code. That might be an acceptable workaround in your case. On Tuesday, January 16, 2018 at 10:49:16 AM UTC+1, Joffrey Diebold wrote: > > Hi, > I can't use super devmode with Chrome for debugging

Re: GWT 2.8.2 release

2018-01-16 Thread Thomas Broyer
On Tuesday, January 16, 2018 at 10:47:51 AM UTC+1, Jörg Pfründer wrote: > > Dear GWT-Team, > > thank you that you have done a great job in the past. We have a large > codebase strongly relying on GWT. However the last release has caused big > pain to me: > > I have tried to update from version

Re: @FunctionalInterface VS @JsFunction

2018-01-15 Thread Thomas Broyer
Which is not possible due to the many contraints of JsFunction, that would break a whole lot of apps. -- 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

Re: @FunctionalInterface VS @JsFunction

2018-01-15 Thread Thomas Broyer
On Monday, January 15, 2018 at 4:03:11 PM UTC+1, Jan Blok wrote: > > Hi, > > Would it be possible for GWTc to handle java.lang.FunctionalInterface as > if it was jsinterop.annotations.JsFunction ? > No, if only because JsFunction has many constraints:

Re: Which GWT plugin for Eclipse?

2018-01-15 Thread Thomas Broyer
There's no "official" plugin. All I can say (not being an Eclipse user) is that https://gwt-plugins.github.io/documentation/gwt-eclipse-plugin/Download.html is the only one receiving updates, so this is the recommended one (and likely the only one that actually supports recent versions of

Re: Running tomcat maven plugin in a multi modules project

2018-01-14 Thread Thomas Broyer
uary 2018 at 03:25, Thomas Broyer <t.bro...@gmail.com> wrote: > > > On Sat, Jan 13, 2018 at 3:20 PM Thomas Broyer <t.bro...@gmail.com> > wrote: > > > > > Tomcat Maven plugin has built-in support for reactors, so run it at > root > >

Re: Running tomcat maven plugin in a multi modules project

2018-01-13 Thread Thomas Broyer
On Sat, Jan 13, 2018 at 3:20 PM Thomas Broyer <t.bro...@gmail.com> wrote: > Tomcat Maven plugin has built-in support for reactors, so run it at root > rather than within the web submodule (possibly with "-pl web -am"). It will > automatically compile all (needed) sub

Re: Running tomcat maven plugin in a multi modules project

2018-01-13 Thread Thomas Broyer
Tomcat Maven plugin has built-in support for reactors, so run it at root rather than within the web submodule (possibly with "-pl web -am"). It will automatically compile all (needed) submodules and launch Tomcat, and with auto-deploy will automatically reload the webapp to pickup changes in any

Re: Debugging GWT Client side code

2018-01-09 Thread Thomas Broyer
On Tuesday, January 9, 2018 at 8:06:26 AM UTC+1, Monika Yadav wrote: > > Hi All, > > I am trying to debug the GWT client code while redirecting from a > FreeMarker screen to a GWT screen. I am not able to do this using eclipse > due to missing gwt.codesvr agrument while launching the GWT

[gwt-contrib] Re: Porting gwt-i18n module to gwt3

2018-01-07 Thread Thomas Broyer
On Sunday, January 7, 2018 at 7:00:45 PM UTC+1, Thomas Broyer wrote: > > > On Friday, January 5, 2018 at 6:33:48 PM UTC+1, Ahmad Bawaneh wrote: >> >> Dears >> I am working on porting the *i18n* module, so far all i did is extract >> the module and the tests into

[gwt-contrib] Re: Porting gwt-i18n module to gwt3

2018-01-07 Thread Thomas Broyer
On Friday, January 5, 2018 at 6:33:48 PM UTC+1, Ahmad Bawaneh wrote: > > Dears > I am working on porting the *i18n* module, so far all i did is extract > the module and the tests into and external repository and make the tests > pass, not real change to the code have been yet. but the *i18n*

Re: JsInterop Array

2017-12-19 Thread Thomas Broyer
This is not "garbage", they are "expando properties". It shouldn't be a problem in practice for any well-coded JS lib. If your JS lib fails here, it probably means it iterates over the array using a for…in loop:

[gwt-contrib] Re: Which API for a future, modern JSON library?

2017-12-16 Thread Thomas Broyer
On Monday, December 11, 2017 at 10:44:07 PM UTC+1, Slava Pankov wrote: > > I think it's better to replicate GSON like API on client side. Another > option is doing better version of RestyGWT without GWT.create() > Do you mean GSON's JsonElement API, or mapping to POJOs? If the latter, then

Re: [gwt-contrib] Which API for a future, modern JSON library?

2017-12-16 Thread Thomas Broyer
On Monday, December 11, 2017 at 9:39:52 PM UTC+1, Peter Donald wrote: > > Hi, > > Have you considered the javax.json API? No, just like I didn't consider org.json. > There are some parts that may > not be able to be directly translated but from memory it should mostly > work. The

[gwt-contrib] Which API for a future, modern JSON library?

2017-12-11 Thread Thomas Broyer
Hi all, Following up on https://github.com/gwtproject/gwt/issues/9484#issuecomment-277216304, I've been toying around to build a new JSON library for GWT. Note that my goal is to have a lightweight library that could be used both on the client-side with GWT (and then j2cl), and on the

Re: [gwt-contrib] Re: Deploying to org.gwtproject.* groupId

2017-12-05 Thread Thomas Broyer
On Friday, November 17, 2017 at 5:37:59 PM UTC+1, Thomas Broyer wrote: > > > > On Friday, November 17, 2017 at 4:11:18 PM UTC+1, Colin Alworth wrote: >> >> Sounds like there is enough diversity of opinion that this discussion >> should go on - first step seems to b

Veracode Reporting Vulnerabilities on GWT-generated nocache.js

2017-12-04 Thread Thomas Broyer
See https://groups.google.com/forum/#!topic/google-web-toolkit/Tx29wSZ8SZQ for the first one. Second snippet looks like the code to install GWT *.cache.js into the hidden iframe. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe

Re: [gwt-contrib] Re: Elemental2:1.0.0-beta-2 released

2017-12-04 Thread Thomas Broyer
There must be some cases where it requires the current head, but so far I haven't had any issue with 2.8.2. -- You received this message because you are subscribed to the Google Groups "GWT Contributors" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: How to slide out a panel (similar to gwtproject.org front page)

2017-12-03 Thread Thomas Broyer
On Friday, December 1, 2017 at 5:10:29 PM UTC+1, Ahmad Bawaneh wrote: > > Why not to checkout the gwt project site and see how it is done there? Fwiw: https://gwt.googlesource.com/gwt-site-webapp/ -- You received this message because you are subscribed to the Google Groups "GWT Users"

Re: JsInterop: annotations not found

2017-12-03 Thread Thomas Broyer
On Sunday, December 3, 2017 at 8:00:29 AM UTC+1, Bob Woodbury wrote: > > I am learning to use jsinterop, and I am stuck at square one -- javac > won't recognize the @JsType annotation. > > I'm using the jdk1.8.0_102 and apache-ant-1.10.1 and gwt-2.8.2 on Linux > (Fedora). > > My project

Re: JsInterop - How to access window object

2017-11-29 Thread Thomas Broyer
On Wednesday, November 29, 2017 at 4:44:22 PM UTC+1, grebesche wrote: > > Hi, > I want to use JsInterop to interact with a library that define a global > object in the window (`window.gantt`). > I have defined the @JsType interface for this object `gantt`. > > But now, how can I access this

Re: compilerArgs setProperty multi values - [ERROR] Unable to parse JavaScript

2017-11-29 Thread Thomas Broyer
om.gargoylesoftware.htmlunit.WebClient > printContentIfNecessary > INFO: > > > Error 404 Not Found > > HTTP ERROR 404 > Problem accessing /com.learnkeeper.App.JUnit/undefined.cache.js. Reason: > Not FoundPowered by > Jetty:// > > > > > > > > > > O

Re: compilerArgs setProperty multi values - [ERROR] Unable to parse JavaScript

2017-11-29 Thread Thomas Broyer
I would say that you're not supposed to set compiler.stackMode to anything but a single value, because it doesn't have a property-provider; and that's exactly the problem with the generated JS: the snippet where the error occurs is a property provider, but because there's no for that

Re: [gwt-contrib] Re: Elemental2:1.0.0-beta-2 released

2017-11-27 Thread Thomas Broyer
Well, it is already. -- You received this message because you are subscribed to the Google Groups "GWT Contributors" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. To view this discussion

Re: Code Scanner Reporting Vulnerabilities on GWT-generated code

2017-11-24 Thread Thomas Broyer
On Friday, November 24, 2017 at 3:13:08 AM UTC+1, Aleks wrote: > > Hi, > > we are currently going through a security audit and as part of that doing > static code scans. The scanner has returned two issues with the > GWT-generated .nocache.js files. > > We can't really fix these as they are

Re: JsInterop Shared Model + REST API

2017-11-18 Thread Thomas Broyer
On Saturday, November 18, 2017 at 9:52:09 AM UTC+1, Chris L wrote: > > I'm trying to create a shared model in my GWT 2.8.2 application that I can > use both at the server and in GWT client code. > > My research/Google Fu tells me that this might be possible with JsInterop > but since I'm new

<    1   2   3   4   5   6   7   8   9   10   >