How to count total lines of code of a GWT project?

2014-05-13 Thread Tom
Does GWT 2.5 provide a tool to count total lines of code of a GWT project? I installed GWT2.5 in eClipse Juno, in Client package I have about 191 java files, in Server package I have about 41 java files. Some java files have 12000 lines of code some only have 1 or 2000 lines. But there are

Re: How to count total lines of code of a GWT project?

2014-05-13 Thread Drew Spencer
Get the metrics 2 plugin: http://metrics.sourceforge.net/ I think this will do exactly what you want. On Tuesday, 13 May 2014 08:37:33 UTC+1, Tom wrote: Does GWT 2.5 provide a tool to count total lines of code of a GWT project? I installed GWT2.5 in eClipse Juno, in Client package I have

Re: where to find the generated javascript after compile gwt project

2014-05-13 Thread meir shmaiovitch
did you find a solution? i am currently expiriancing the same issue. On Friday, January 20, 2012 11:18:19 AM UTC+2, tong123123 wrote: Thanks for the reply. I try to use pretty compile option but still cannot search button class=gwt-Button tabindex=0 type=buttonAdd/button , there is error

Fetching images from Server casting them in GWT Image widgets

2014-05-13 Thread Anwesha Roy
Hi, I am new to GWT development and need some help. I have some images on the server. I want to fetch them to client side by passing the filename as parameter and cast them in Image widgets. I do not want the images to be downloaded via browser. I just want to display them. What is the right

Maintain the current view After refreshing the page

2014-05-13 Thread oussama . bessrour
Hi, I'm developing my first app with GWT, I've created an authentication view and it works fine. the problem that every time i refrech the page, i found my self in the authentication form. How can I maintaine the current view ? thanks, -- You received this message because you are

Re: GWT 2.6.1 is now available

2014-05-13 Thread Thomas Broyer
The GPE is a Google product maintained by a different team (even within Google). The packaging of the GWT SDK as an Eclipse Plugin is done by that team, not by the GWT-Project team (just like the Ubuntu packages are maintained by other teams: http://packages.ubuntu.com/source/gwt) So you'd have

Re: No startup URLs supplied and no plausible ones found -- use -startupUrl -- not true but why does development mode think it is

2014-05-13 Thread Thomas Broyer
No. The welcome-file in your web.xml just tells the servlet container what to serve when the URL matches a directory. It does not specifically tell the GPE that this is where you want to start debugging your app (does that page even loads your GWT app? who knows…) I don't know the heuristics of

Re: How to count total lines of code of a GWT project?

2014-05-13 Thread Tom
Can we have other solution? Last time I did update something for eClipse after that couldn't run my app properly. So my eClipse is stable now I am very scary of updating it. On Tuesday, May 13, 2014 7:27:38 PM UTC+10, Drew Spencer wrote: Get the metrics 2 plugin:

Re: How to count total lines of code of a GWT project?

2014-05-13 Thread Tom
My Godness, I put *http://metrics.sourceforge.net/update now G symbol disapppeared?? * *Why, it's terrible now Why all the Gui structure gone???* On Tuesday, May 13, 2014 7:27:38 PM UTC+10, Drew Spencer wrote: Get the metrics 2 plugin: http://metrics.sourceforge.net/ I think this will do

Re: How to count total lines of code of a GWT project?

2014-05-13 Thread Tom
My Godness, I put *http://metrics.sourceforge.net/update now G symbol disapppeared?? * *Why, it's terrible now Why all the Gui structure gone???* *Why Could not create the view: com.android.ide.eclipse.ddms.views.LogCatView?* On Tuesday, May 13, 2014 8:42:44 PM UTC+10, Tom wrote: Can we

Re: How to count total lines of code of a GWT project?

2014-05-13 Thread Drew Spencer
That doesn't sound like expected behaviour. I would guess there is something else wrong with your installation of eclipse if the GUI is getting all messed up like that after a very simple plugin is installed. I've never had any such problems. Maybe if you post more information about what is

Re: How to count total lines of code of a GWT project?

2014-05-13 Thread Tom
Ok, I installed again Google Plugin but this time after relaunched Eclipse I saw a red ! in my project name. Also I saw message J*RE version is 1.6.0; version 1.7.0 or later is needed to run Google Plugin for Eclipse*. However, I went to Window-- Preferences -- Java -- Installed JREs I saw

Re: How to count total lines of code of a GWT project?

2014-05-13 Thread Thomas Broyer
Yes, 1.6, that's what it tells you. And you need 1.7. Also, this is the version of Java used to run Eclipse, not necessarily the one selected for your Eclipse project. On Tuesday, May 13, 2014 1:25:41 PM UTC+2, Tom wrote: Ok, I installed again Google Plugin but this time after relaunched

Re: How to count total lines of code of a GWT project?

2014-05-13 Thread Tom
tNo, the message saying that JRE 6 or 7 I got JRE 6 so it will be fine. I just fixed not sure it's ok. I right-click myProject-- Google--Web ToolKit Setting--Java Build Path -- GWT SDK -- click Edit-- select GWT 2.6.0 ANd now the error gone. Only saw these warning: *[WARN] Server class

Re: How to count total lines of code of a GWT project?

2014-05-13 Thread Drew Spencer
No dude, it doesn't say 6 or 7, it says version *1.7.0 or later* is needed to run Google Plugin for Eclipse. I think you need the v7 JDK on your system path. On 13 May 2014 12:55, Tom henry...@gmail.com wrote: tNo, the message saying that JRE 6 or 7 I got JRE 6 so it will be fine. I just

Re: How to count total lines of code of a GWT project?

2014-05-13 Thread Tom
That' right, I installed JRE 7 now no error. On Tuesday, May 13, 2014 10:09:58 PM UTC+10, Drew Spencer wrote: No dude, it doesn't say 6 or 7, it says version *1.7.0 or later* is needed to run Google Plugin for Eclipse. I think you need the v7 JDK on your system path. On 13 May 2014

Re: How to count total lines of code of a GWT project?

2014-05-13 Thread Thomas Broyer
On Tuesday, May 13, 2014 1:55:31 PM UTC+2, Tom wrote: tNo, the message saying that JRE 6 or 7 I got JRE 6 so it will be fine. I just fixed not sure it's ok. I right-click myProject-- Google--Web ToolKit Setting--Java Build Path -- GWT SDK -- click Edit-- select GWT 2.6.0 ANd now the

Re: How to count total lines of code of a GWT project?

2014-05-13 Thread Tom
Thank you Thomas, I am using Java 7 now, I just afraid the incompatible problem, ie I afraid my GWT app (previously built using JDK6 ) could have problem when running in JDK7. On Tuesday, May 13, 2014 10:42:56 PM UTC+10, Thomas Broyer wrote: On Tuesday, May 13, 2014 1:55:31 PM UTC+2, Tom

Re: How to count total lines of code of a GWT project?

2014-05-13 Thread Tom
i got gwt-dev.jar (the 2.5 version) in lib folder, now I just copy gwt-dev.jar of 2.6 version I got no error. Thank you very much for your info. On Tuesday, May 13, 2014 10:42:56 PM UTC+10, Thomas Broyer wrote: On Tuesday, May 13, 2014 1:55:31 PM UTC+2, Tom wrote: tNo, the message

E-signature functionality in GWT client.

2014-05-13 Thread Rachel
Here is an application developed in GWT (only client) where users are going to upload excel documents. As per a requirement, users have to insert an e-signature. Can anyone please help or redirect me to appropriate GWT compatible plugin or api or library that can solve the purpose? Thanks!

How to redirect and then reload the page in GWTP?

2014-05-13 Thread Tom
Ok, I am using GWTP to build my app. I have a signUp page ( mydomain.com#signUp) a profile page (mydomain.com#profile). I want that after user signed up successfully, the app will redirect to profile page then reload() the profile page. So here is what I did: if(signedUpSuccessfully){

Re: [gwt-contrib] Re: GWTproject site menu

2014-05-13 Thread Julien Dramaix
Others: - Clicking images shows blank page - perhaps just a deployment issue Don't see this issue, what images do you mean? Click devmode screenshot in http://gwtproject.gquery.org/gettingstarted.html This issue already exists in the production website. I created a bug to track it and

[gwt-contrib] Re: Officially deprecating Opera permutation

2014-05-13 Thread Mihai Stanciu
Google uses a server-side selection script based on the User-Agent request header, rather than the *.nocache.js using navigator.userAgent on the client-side) This sounds like a very nice optimisation. Do you know if there is any plugin for doing this in a servlet container /jsp? How could

[gwt-contrib] Re: Officially deprecating Opera permutation

2014-05-13 Thread Jens
Google uses a server-side selection script based on the User-Agent request header, rather than the *.nocache.js using navigator.userAgent on the client-side) This sounds like a very nice optimisation. Do you know if there is any plugin for doing this in a servlet container /jsp? How

Re: [gwt-contrib] Re: GWTproject site menu

2014-05-13 Thread 'Goktug Gokdogan' via GWT Contributors
SGTM On Tue, May 13, 2014 at 4:26 AM, Julien Dramaix julien.dram...@gmail.comwrote: Others: - Clicking images shows blank page - perhaps just a deployment issue Don't see this issue, what images do you mean? Click devmode screenshot in

[gwt-contrib] GWT Contributor Meet-up 2014

2014-05-13 Thread 'Bhaskar Janakiraman' via GWT Contributors
Hi Contributors, We (Google) plan to host a 2-day event at Google, Mountain View, for GWT contributors, on June 23 and 24, 2014. We hosted a similar event last year at Google, with many interesting talks, see: https://www.youtube.com/watch?v=9yAtQQgzROQlist=PL1yReUCGwGvrq1bwn8all71WcvkLQm7ty. We