Re: Multiple GWT modules in one Maven module

2017-05-09 Thread Thomas Broyer
On Tuesday, May 9, 2017 at 1:45:00 PM UTC+2, Frederik Van Hoyweghen wrote: > > I tried both the command line (mvn gwt:compile) and via the IntelliJ Maven > plugin. > Indeed, binding the execution to the prepare-package phase and running *mvn > gwt:compile@compile-common *works, and I'm glad it

Re: Multiple GWT modules in one Maven module

2017-05-09 Thread Frederik Van Hoyweghen
I tried both the command line (mvn gwt:compile) and via the IntelliJ Maven plugin. Indeed, binding the execution to the prepare-package phase and running *mvn gwt:compile@compile-common *works, and I'm glad it does. If I'm reading what you're saying correctly, this means that there is no way

Re: Multiple GWT modules in one Maven module

2017-05-09 Thread Thomas Broyer
On Tuesday, May 9, 2017 at 1:11:04 PM UTC+2, Frederik Van Hoyweghen wrote: > > > > On Tuesday, May 9, 2017 at 12:59:17 PM UTC+2, Thomas Broyer wrote: >> >> >> I wouldn't put any / into the plugin-level >> , and only put them into the . >> > > That's what I figured, but it seems to be a

Re: Multiple GWT modules in one Maven module

2017-05-09 Thread Frederik Van Hoyweghen
On Tuesday, May 9, 2017 at 12:59:17 PM UTC+2, Thomas Broyer wrote: > > > I wouldn't put any / into the plugin-level > , and only put them into the . > That's what I figured, but it seems to be a required property (The parameters 'moduleName' for goal

Re: Multiple GWT modules in one Maven module

2017-05-09 Thread Thomas Broyer
On Tuesday, May 9, 2017 at 12:33:57 PM UTC+2, Frederik Van Hoyweghen wrote: > > This indeed seems to be what I was looking for, thank you. > Are there any obvious downsides to doing it like this, with multiple > executions? > Each module compilation will fork a new GWT compiler process, rather

Re: Multiple GWT modules in one Maven module

2017-05-09 Thread Frederik Van Hoyweghen
This indeed seems to be what I was looking for, thank you. Are there any obvious downsides to doing it like this, with multiple executions? Does it matter which specific moduleName I specify within the tag, or should I just pick 1 arbitrary one there and put the others within the tag? I

Re: Multiple GWT modules in one Maven module

2017-05-09 Thread Thomas Broyer
On Tuesday, May 9, 2017 at 11:27:25 AM UTC+2, Frederik Van Hoyweghen wrote: > > Thanks for the replies. > > I already took a look at the issue on the plugin's github: > https://github.com/tbroyer/gwt-maven-plugin/issues/57 >

Re: Multiple GWT modules in one Maven module

2017-05-09 Thread Frederik Van Hoyweghen
Thanks for the replies. I already took a look at the issue on the plugin's github: https://github.com/tbroyer/gwt-maven-plugin/issues/57 Sadly, this was

Re: Multiple GWT modules in one Maven module

2017-05-09 Thread David
aven. > > Along with this migration, we also tried to follow some of the project > structuring that is recommended for a maven project. > > Our *Maven* GWT module contains multiple GWT modules, but I'm struggling > with making this work using Thomas Broyer's GWT plugin: > https://github.com/tb

Re: Multiple GWT modules in one Maven module

2017-05-08 Thread Thomas Broyer
d for a maven project. > > Our *Maven* GWT module contains multiple GWT modules, but I'm struggling > with making this work using Thomas Broyer's GWT plugin: > https://github.com/tbroyer/gwt-maven-plugin > I feel like this was designed specifically with the idea of having only 1

Multiple GWT modules in one Maven module

2017-05-08 Thread Frederik Van Hoyweghen
Hey everyone, We are currently migrating our project away from using Ant, to Maven. Along with this migration, we also tried to follow some of the project structuring that is recommended for a maven project. Our *Maven* GWT module contains multiple GWT modules, but I'm struggling with making

Re: GWT 2.7.0 DevMode not allowing multiple GWT Modules

2015-05-03 Thread tbb
SDM is in the pipeline Thomas. For now, I've gone down the path of adding a 2nd Maven module which uses the buildhelper plugin to get the resources. Not nice, but does the job until we move over to SDM. By the way, is there any timeframe for GWT 3 yet? ;) Having a stable JsInterop API would

Re: GWT 2.7.0 DevMode not allowing multiple GWT Modules

2015-05-03 Thread Thomas Broyer
On Sunday, May 3, 2015 at 3:57:13 AM UTC+2, tbb wrote: Thanks Thomas. I might give that a try, but even if it worked, it would still be a pretty clunky. Anyway chance that could be easily fixed? Classic DevMode is very unlikely to receive any fix. Patches would probably be accepted

Re: GWT 2.7.0 DevMode not allowing multiple GWT Modules

2015-05-02 Thread Thomas Broyer
IIRC this could be due to a cache expiration in the mapping from module short names (e.g. portal) to their fully-qualified name (e.g. com.xyz.ModuleB). One workaround *could* be to load both modules fast enough after DevMode startup that the mapping is not reclaimed. On Saturday, May 2, 2015

GWT 2.7.0 DevMode not allowing multiple GWT Modules

2015-05-02 Thread tbb
I've migrated a Maven based GWT project from GWT 2.5 to 2.7. The project has 2 GWT Modules (.gwt.xml) within one Maven project. In GWT 2.5 I was able to start DevMode and point the browser to the host page of either module and all worked fine. My POM looked like this:

Re: GWT 2.7.0 DevMode not allowing multiple GWT Modules

2015-05-02 Thread tbb
Thanks Thomas. I might give that a try, but even if it worked, it would still be a pretty clunky. Anyway chance that could be easily fixed? Right now, I'm leaning towards a second Maven module - using the buildhelper plugin to mirror the source paths of the other module in... On Saturday, May

Multiple gwt modules using script not inherit how to's?

2012-12-20 Thread Ahmad Igbaria
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.

Re: Use of multiple GWT modules in an application

2012-12-20 Thread Ahmad Igbaria
Hi All, I'm facing a similar problem. I have compiled gwt module in my app, i copied the generated js files to my web app. when i'm trying to run dev mode i get the same error message you get. the given solution didn't work either. thanks On Thursday, October 11, 2012 9:48:30 PM UTC+2,

Re: Multiple gwt modules using script not inherit how to's?

2012-12-20 Thread Thomas Broyer
Answered on SO: http://stackoverflow.com/q/13972343/116472 On Thursday, December 20, 2012 2:16:10 PM UTC+1, Ahmad Igbaria wrote: 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

Use of multiple GWT modules in an application

2012-10-11 Thread Denero
Hi, I have a GWT application which uses a JavaScript library published on a remote server and that also was developed under GWT and the APIs exposed over JSNI. I do not have access to the source ocde of that. That library uses cross-site scripting and uses xsiframe linker option. My application

Re: Use of multiple GWT modules in an application

2012-10-11 Thread Thomas Broyer
It's actually (and fortunately) easy: change gwt.codesvr in your URL with gwt.codesvr.moduleName, where moduleName is your module name (the one in your gwt.xml's rename-to=) That way, the third-party module won't try to run in DevMode, only your module that matches moduleName. On Thursday,

Re: Use of multiple GWT modules in an application

2012-10-11 Thread Thad
Thomas, indulge my curiosity. I've not the situation that Denero describes, but I tried this anyway. 1) When I do this, my app loads *much faster*. Why? 2) Also, I don't see my app's client tab open in the DevMode window. Again, why? Thanks. On Thursday, October 11, 2012 10:18:30 AM UTC-4,

Re: Use of multiple GWT modules in an application

2012-10-11 Thread Thomas Broyer
On Thursday, October 11, 2012 4:32:53 PM UTC+2, Thad wrote: Thomas, indulge my curiosity. I've not the situation that Denero describes, but I tried this anyway. 1) When I do this, my app loads *much faster*. Why? 2) Also, I don't see my app's client tab open in the DevMode window.

Re: Use of multiple GWT modules in an application

2012-10-11 Thread Denero
That works perfectly fine. Thanks Thomas. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to

Re: Use of multiple GWT modules in an application

2012-10-11 Thread Denero
Sorry, send it too fast.. The application works fine but I realize now that my gwt module is now not running in devmode. It is not stopping at breakpoints. Also, I do not see the message [INFO] [clientsample] - Module clientsample has been loaded in the Development mode tab. Just remove

Re: Use of multiple GWT modules in an application

2012-10-11 Thread Thad
On Thursday, October 11, 2012 10:36:32 AM UTC-4, Thomas Broyer wrote: On Thursday, October 11, 2012 4:32:53 PM UTC+2, Thad wrote: Thomas, indulge my curiosity. I've not the situation that Denero describes, but I tried this anyway. 1) When I do this, my app loads *much faster*. Why? 2)

Re: multiple gwt modules

2011-08-13 Thread Ali Jalal
Hi 1. You can use Cookie in client-side to save/load information in same domain. So if your modules are in same domain there shouldn't be any problem. 2. You can also load/save informations from/to server if serialization of information in cookies is cumbersome. On Thu, Aug 11, 2011 at 9:52 PM,

Re: multiple gwt modules

2011-08-13 Thread Ed
I would also use cookies, but be careful as the cookie info is send back and forward to the server, so don't put too much info in it. I do the same. Start another gwt app with info in the cookie. I do this because with code-splitting the left over is getting too big such that I have to split my

multiple gwt modules

2011-08-11 Thread Daemon Zak
I want to able to load a gwt module from another gwt module for eg: if i click a button ,the new module should be loaded in a new browser ,with the same session attributes. how do we communicate between modules i.e . if i want to pass some information from one module to another and vice versa .

Re: multiple gwt modules

2011-08-11 Thread Juan Pablo Gardella
You sure use the module: inherits name='com.google.gwt.user.User' / This module is define in gwt-user.jar. Check how is it do. Is this do you need? 2011/8/11 Daemon Zak saje...@gmail.com I want to able to load a gwt module from another gwt module for eg: if i click a button ,the new module

Re: multiple gwt modules

2011-08-11 Thread Daemon Zak
hi juan! I'm aware of that ! I want to be able to load a module in a new browser window from another module by some action ...say by clicking a button On Aug 11, 10:14 pm, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: You sure use the module: inherits name='com.google.gwt.user.User' /

Re: multiple gwt modules

2011-08-11 Thread dreamer
GWT module is a simply a javascript bundle. I guess you are looking to open a component in another window. you can use Window.Open(..). This gives better info regarding modules http://code.google.com/webtoolkit/doc/1.6/DevGuideOrganizingProjects.html#DevGuideModules On Aug 11, 7:38 pm,

Re: One Session(HTTP) for multiple GWT-Modules?

2011-03-22 Thread Johannes Stein
And how can i track the session id? I can store the sessionId at the client-side (for users which have cookies disabled), but if they reload the client-side the sessionId will be lost. So, what do you think: Will it be a good solution to add the sessionId into the URL to enable session tracking

Re: One Session(HTTP) for multiple GWT-Modules?

2011-03-22 Thread Johannes Stein
Any ideas? Or would you recommend to use Cookies only? On 22 Mrz., 16:12, Johannes Stein johannes.st...@googlemail.com wrote: And how can i track the session id? I can store the sessionId at the client-side (for users which have cookies disabled), but if they reload the client-side the

Re: One Session(HTTP) for multiple GWT-Modules?

2011-03-22 Thread Juan Pablo Gardella
Read this http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ 2011/3/22 Johannes Stein johannes.st...@googlemail.com And how can i track the session id? I can store the sessionId at the

Re: One Session(HTTP) for multiple GWT-Modules?

2011-03-17 Thread Johannes Stein
But if i have two seperate modules each client will get a different sessionId from the server (rpc-call), because the servers interprets each module as a single client!? On 16 Mrz., 20:00, Johannes Stein johannes.st...@googlemail.com wrote: No ideas? On 16 Mrz., 18:58, Johannes Stein

Re: One Session(HTTP) for multiple GWT-Modules?

2011-03-17 Thread Uemit
It depends how session management is done on the client. If you use cookies to store the session id it should make no difference as long as you communicate with the same domain (Cookies are domain specific). If you open gmail in two tabs in your browser you won't have to authenticate twice

Re: One Session(HTTP) for multiple GWT-Modules?

2011-03-17 Thread Johannes Stein
Cookies are fine, but what happens if cookies are disabled? Then two sessions will be created by the server, or not? On 17 Mrz., 12:40, Uemit uemit.se...@gmail.com wrote: It depends how session management is done on the client.  If you use cookies to store the session id it should make no

Re: One Session(HTTP) for multiple GWT-Modules?

2011-03-17 Thread Juan Pablo Gardella
No. SessionId is create. 2011/3/17 Johannes Stein johannes.st...@googlemail.com Cookies are fine, but what happens if cookies are disabled? Then two sessions will be created by the server, or not? On 17 Mrz., 12:40, Uemit uemit.se...@gmail.com wrote: It depends how session management is

Re: One Session(HTTP) for multiple GWT-Modules?

2011-03-16 Thread Juan Pablo Gardella
The modules is in client side. Session is in the server side. Juan 2011/3/16 Johannes Stein johannes.st...@googlemail.com hello, im implementing a little online-game with gwt. this game contains two modules - one ui for the game itself and a seperate user-area. if a user is logged-in into

Re: One Session(HTTP) for multiple GWT-Modules?

2011-03-16 Thread Johannes Stein
Yes, thats right. But will it then be possible to make in each module a gwt-rpc-call which checks, if the user is logged-in? Will the Session be the same, or will each call (from different modules) deliver a different session-id? And what happens, if the users browser has cookies disabled? Is

Re: One Session(HTTP) for multiple GWT-Modules?

2011-03-16 Thread Johannes Stein
No ideas? On 16 Mrz., 18:58, Johannes Stein johannes.st...@googlemail.com wrote: Yes, thats right. But will it then be possible to make in each module a gwt-rpc-call which checks, if the user is logged-in? Will the Session be the same, or will each call (from different modules) deliver a

Re: One Session(HTTP) for multiple GWT-Modules?

2011-03-16 Thread Juan Pablo Gardella
But will it then be possible to make in each module a gwt-rpc-call which checks, if the user is logged-in? Yes, is possible. Will the Session be the same, or will each call (from different modules) deliver a different session-id? I handle this with Spring security, is transparent. If you don't

Re: Multiple GWT modules are compiling really slow!!

2009-12-11 Thread rjcarr
If I understand what you are saying correctly, then what you describe is expected. I think this *might* have changed in GWT 1.7, but I'm not entirely sure. If you have one large module then at most all of your code will be compiled (i.e., translated) once. However, let's say you have 10 modules

Multiple GWT modules are compiling really slow!!

2009-12-10 Thread soc
Hi, I'm currently spliting up my code base (since it has gotten qute large) and i have found something odd, that i was wondering if someone could clarify? I have multiple java projects with GWT modules in each. I then build these into a jar (around 8-9 seperate jars) that can be added to my

Multiple GWT modules and dependencies

2009-07-15 Thread Jan Ehrhardt
Hi, I'd like to create a page, which requires different GWT applications, but which is dependent to the logged in user. So it doesn't make any sence to load one GWT module, which containes hundreds of GWT applications, even when only two are required. I know, that I can compile each application

Re: Multiple GWT modules and dependencies

2009-07-15 Thread Paul Robinson
If you can use GWT trunk or wait for GWT 2.0, then what you're describing sounds very much like code splitting and the associated story of your compile: http://code.google.com/p/google-web-toolkit/wiki/CodeSplitting Paul Jan Ehrhardt wrote: Hi, I'd like to create a page, which requires

Re: How to decouple the application into multiple GWT modules?

2009-07-13 Thread Fred Sauer
this single module. Fred On Wed, Jul 8, 2009 at 5:56 AM, Khoa Ngo ngovank...@gmail.com wrote: Hi all, I would like to decouple my application into multiple GWT modules. I use a main module to layout the UI structure: module rename-to='main' inherits name='com.google.gwt.user.User

Re: How to decouple the application into multiple GWT modules?

2009-07-13 Thread Jason Essington
. You can have a single module which inherits all the modules you wish to include on your page. You then compile this single module. Fred On Wed, Jul 8, 2009 at 5:56 AM, Khoa Ngo ngovank...@gmail.com wrote: Hi all, I would like to decouple my application into multiple GWT

How to decouple the application into multiple GWT modules?

2009-07-08 Thread Khoa Ngo
Hi all, I would like to decouple my application into multiple GWT modules. I use a main module to layout the UI structure: module rename-to='main' inherits name='com.google.gwt.user.User' / entry-point class='com.mycompany.MainWindow' / /module The MainWindow contains a MenuBar