Re: Eclipse - Google Addons are gone after update

2010-07-20 Thread rudolf michael
I had the same problem on Windows 7 and after struggling for several hours i
had to restore Windows to a previous check point, it worked like a charm.
dunno if the problems is an eclipse updates, a plugin updates or a windows
update.

On Tue, Jul 20, 2010 at 1:58 AM, Rajeev Dayal rda...@google.com wrote:

 As an FYI, this issue is being tracked here:

 http://code.google.com/p/google-web-toolkit/issues/detail?id=5080


 On Mon, Jul 19, 2010 at 5:57 PM, Jeff Chimene jchim...@gmail.com wrote:

 On 07/19/2010 07:44 AM, Magnus wrote:
  Well, I just found that tar tvfz eclipse-archive shows tomcat/
  users as the owner of the files.
 
  I think that this UID corresponds to my Debian-exim id.
 
  However, I extract the tar files with tar xvfz.
 
  Magnus

 OK. I can reproduce what you're seeing.

 I cannot explain, even when you install the GPE into the archive, it
 doesn't work. When you install as root, it does (did I get that right?)

 One further question (I think the answer to this is yes) do you delete
 the eclipse directory before installing? That's one of the reasons I use
 update-alternatives. After extracting the archive, I move the directory
 to the specific version: mv eclipse eclipse-3.6 and use
 update-alternatives to point to that directory. In this way, I can be
 sure of a clean installation, and I also have a backup version in case
 things go sideways.

 Anyway, after extracting the archive as tar xvzf archive the
 directory is owned by root:root, but the ownership of files in that
 hasn't changed (still tomcat/users).

 So, I used the following tar command
 tar --owner=root --no-same-owner -vxzf
 /tmp/eclipse-jee-helios-linux-gtk.tar.gz

 
  On Jul 18, 7:12 am, Jeff Chimene jchim...@gmail.com wrote:
  On Sat, Jul 17, 2010 at 8:53 PM, Jeff Chimene jchim...@gmail.com
 wrote:
  On 07/17/2010 08:23 PM, Magnus wrote:
  Hi Rajeev!
 
  I always installed eclipse as root, i. e. extracting the tar
 archive
  as root into /usr/local/eclipse and changing the ownership of all
  files and folders to root.
 
  You shouldn't need to change the ownership. If you're really
 extracting
  the
  files as root, then they are already owned by root.
 
  No:
  drwxr-sr-x  3 rootroot  4096 2010-07-18 05:07 .
  drwxr-sr-x 12 rootroot  4096 2010-07-12 19:10 ..
  drwxrwsr-x  9 Debian-exim users 4096 2010-06-17 17:15 eclipse
 
  Do you remember the tar command you use to extract the files? I'm
 wondering
  if you're preserving the owner  specified in the ** archive.
 

 --
 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


  --
 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Eclipse - Google Addons are gone after update

2010-07-20 Thread Rajeev Dayal
See the bug details for a workaround.

On Tue, Jul 20, 2010 at 5:39 AM, rudolf michael roud...@gmail.com wrote:

 I had the same problem on Windows 7 and after struggling for several hours
 i had to restore Windows to a previous check point, it worked like a charm.
 dunno if the problems is an eclipse updates, a plugin updates or a windows
 update.

 On Tue, Jul 20, 2010 at 1:58 AM, Rajeev Dayal rda...@google.com wrote:

 As an FYI, this issue is being tracked here:

 http://code.google.com/p/google-web-toolkit/issues/detail?id=5080


 On Mon, Jul 19, 2010 at 5:57 PM, Jeff Chimene jchim...@gmail.com wrote:

 On 07/19/2010 07:44 AM, Magnus wrote:
  Well, I just found that tar tvfz eclipse-archive shows tomcat/
  users as the owner of the files.
 
  I think that this UID corresponds to my Debian-exim id.
 
  However, I extract the tar files with tar xvfz.
 
  Magnus

 OK. I can reproduce what you're seeing.

 I cannot explain, even when you install the GPE into the archive, it
 doesn't work. When you install as root, it does (did I get that right?)

 One further question (I think the answer to this is yes) do you delete
 the eclipse directory before installing? That's one of the reasons I use
 update-alternatives. After extracting the archive, I move the directory
 to the specific version: mv eclipse eclipse-3.6 and use
 update-alternatives to point to that directory. In this way, I can be
 sure of a clean installation, and I also have a backup version in case
 things go sideways.

 Anyway, after extracting the archive as tar xvzf archive the
 directory is owned by root:root, but the ownership of files in that
 hasn't changed (still tomcat/users).

 So, I used the following tar command
 tar --owner=root --no-same-owner -vxzf
 /tmp/eclipse-jee-helios-linux-gtk.tar.gz

 
  On Jul 18, 7:12 am, Jeff Chimene jchim...@gmail.com wrote:
  On Sat, Jul 17, 2010 at 8:53 PM, Jeff Chimene jchim...@gmail.com
 wrote:
  On 07/17/2010 08:23 PM, Magnus wrote:
  Hi Rajeev!
 
  I always installed eclipse as root, i. e. extracting the tar
 archive
  as root into /usr/local/eclipse and changing the ownership of all
  files and folders to root.
 
  You shouldn't need to change the ownership. If you're really
 extracting
  the
  files as root, then they are already owned by root.
 
  No:
  drwxr-sr-x  3 rootroot  4096 2010-07-18 05:07 .
  drwxr-sr-x 12 rootroot  4096 2010-07-12 19:10 ..
  drwxrwsr-x  9 Debian-exim users 4096 2010-06-17 17:15 eclipse
 
  Do you remember the tar command you use to extract the files? I'm
 wondering
  if you're preserving the owner  specified in the ** archive.
 

 --
 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
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


  --
 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


  --
 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Eclipse - Google Addons are gone after update

2010-07-19 Thread Magnus
Hi Jec!

On Jul 18, 5:53 am, Jeff Chimene jchim...@gmail.com wrote:
  drwxr-sr-x  3 rootroot  4096 2010-07-18 05:07 .
  drwxr-sr-x 12 rootroot  4096 2010-07-12 19:10 ..
  drwxrwsr-x  9 Debian-exim users 4096 2010-06-17 17:15 eclipse

 Well, it's pretty clear that you're not root when the files were
 extracted.

I told that I extracted the files as root.

 Somehow your UID is Debian-exim:users. That's not good.

Maybe, but the explanation cannot be that the file was not extracted
as root.

  Do you mean that during the upgrade files are downloaded and stored
  under the eclipse directory folder, which is owned by root and that
  the files cannot be written?

 Running as a regular user, I *think* eclipse writes plugins into your
 local directory.

Do you mean in my home directory, ~? Instead of a subdirectory of /usr/
local/eclipse? That does not sound good...

 What other plugins do you use? Are there issues w/ those?

I never had such issues, and I installed a lot of plugins (web tools
and so on).

Magnus

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Eclipse - Google Addons are gone after update

2010-07-19 Thread Magnus
Well, I just found that tar tvfz eclipse-archive shows tomcat/
users as the owner of the files.

I think that this UID corresponds to my Debian-exim id.

However, I extract the tar files with tar xvfz.

Magnus

On Jul 18, 7:12 am, Jeff Chimene jchim...@gmail.com wrote:
 On Sat, Jul 17, 2010 at 8:53 PM, Jeff Chimene jchim...@gmail.com wrote:
  On 07/17/2010 08:23 PM, Magnus wrote:
   Hi Rajeev!

   I always installed eclipse as root, i. e. extracting the tar archive
   as root into /usr/local/eclipse and changing the ownership of all
   files and folders to root.

   You shouldn't need to change the ownership. If you're really extracting
  the
   files as root, then they are already owned by root.

   No:
   drwxr-sr-x  3 rootroot  4096 2010-07-18 05:07 .
   drwxr-sr-x 12 rootroot  4096 2010-07-12 19:10 ..
   drwxrwsr-x  9 Debian-exim users 4096 2010-06-17 17:15 eclipse

 Do you remember the tar command you use to extract the files? I'm wondering
 if you're preserving the owner  specified in the ** archive.

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Eclipse - Google Addons are gone after update

2010-07-19 Thread Jeff Chimene
On 07/19/2010 07:44 AM, Magnus wrote:
 Well, I just found that tar tvfz eclipse-archive shows tomcat/
 users as the owner of the files.
 
 I think that this UID corresponds to my Debian-exim id.
 
 However, I extract the tar files with tar xvfz.
 
 Magnus

OK. I can reproduce what you're seeing.

I cannot explain, even when you install the GPE into the archive, it
doesn't work. When you install as root, it does (did I get that right?)

One further question (I think the answer to this is yes) do you delete
the eclipse directory before installing? That's one of the reasons I use
update-alternatives. After extracting the archive, I move the directory
to the specific version: mv eclipse eclipse-3.6 and use
update-alternatives to point to that directory. In this way, I can be
sure of a clean installation, and I also have a backup version in case
things go sideways.

Anyway, after extracting the archive as tar xvzf archive the
directory is owned by root:root, but the ownership of files in that
hasn't changed (still tomcat/users).

So, I used the following tar command
tar --owner=root --no-same-owner -vxzf
/tmp/eclipse-jee-helios-linux-gtk.tar.gz

 
 On Jul 18, 7:12 am, Jeff Chimene jchim...@gmail.com wrote:
 On Sat, Jul 17, 2010 at 8:53 PM, Jeff Chimene jchim...@gmail.com wrote:
 On 07/17/2010 08:23 PM, Magnus wrote:
 Hi Rajeev!

 I always installed eclipse as root, i. e. extracting the tar archive
 as root into /usr/local/eclipse and changing the ownership of all
 files and folders to root.

 You shouldn't need to change the ownership. If you're really extracting
 the
 files as root, then they are already owned by root.

 No:
 drwxr-sr-x  3 rootroot  4096 2010-07-18 05:07 .
 drwxr-sr-x 12 rootroot  4096 2010-07-12 19:10 ..
 drwxrwsr-x  9 Debian-exim users 4096 2010-06-17 17:15 eclipse

 Do you remember the tar command you use to extract the files? I'm wondering
 if you're preserving the owner  specified in the ** archive.
 

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Eclipse - Google Addons are gone after update

2010-07-19 Thread Rajeev Dayal
As an FYI, this issue is being tracked here:

http://code.google.com/p/google-web-toolkit/issues/detail?id=5080

On Mon, Jul 19, 2010 at 5:57 PM, Jeff Chimene jchim...@gmail.com wrote:

 On 07/19/2010 07:44 AM, Magnus wrote:
  Well, I just found that tar tvfz eclipse-archive shows tomcat/
  users as the owner of the files.
 
  I think that this UID corresponds to my Debian-exim id.
 
  However, I extract the tar files with tar xvfz.
 
  Magnus

 OK. I can reproduce what you're seeing.

 I cannot explain, even when you install the GPE into the archive, it
 doesn't work. When you install as root, it does (did I get that right?)

 One further question (I think the answer to this is yes) do you delete
 the eclipse directory before installing? That's one of the reasons I use
 update-alternatives. After extracting the archive, I move the directory
 to the specific version: mv eclipse eclipse-3.6 and use
 update-alternatives to point to that directory. In this way, I can be
 sure of a clean installation, and I also have a backup version in case
 things go sideways.

 Anyway, after extracting the archive as tar xvzf archive the
 directory is owned by root:root, but the ownership of files in that
 hasn't changed (still tomcat/users).

 So, I used the following tar command
 tar --owner=root --no-same-owner -vxzf
 /tmp/eclipse-jee-helios-linux-gtk.tar.gz

 
  On Jul 18, 7:12 am, Jeff Chimene jchim...@gmail.com wrote:
  On Sat, Jul 17, 2010 at 8:53 PM, Jeff Chimene jchim...@gmail.com
 wrote:
  On 07/17/2010 08:23 PM, Magnus wrote:
  Hi Rajeev!
 
  I always installed eclipse as root, i. e. extracting the tar archive
  as root into /usr/local/eclipse and changing the ownership of all
  files and folders to root.
 
  You shouldn't need to change the ownership. If you're really
 extracting
  the
  files as root, then they are already owned by root.
 
  No:
  drwxr-sr-x  3 rootroot  4096 2010-07-18 05:07 .
  drwxr-sr-x 12 rootroot  4096 2010-07-12 19:10 ..
  drwxrwsr-x  9 Debian-exim users 4096 2010-06-17 17:15 eclipse
 
  Do you remember the tar command you use to extract the files? I'm
 wondering
  if you're preserving the owner  specified in the ** archive.
 

 --
 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Eclipse - Google Addons are gone after update

2010-07-17 Thread Magnus
Hi Rajeev!

  I always installed eclipse as root, i. e. extracting the tar archive
  as root into /usr/local/eclipse and changing the ownership of all
  files and folders to root.

 You shouldn't need to change the ownership. If you're really extracting the
 files as root, then they are already owned by root.

No:
drwxr-sr-x  3 rootroot  4096 2010-07-18 05:07 .
drwxr-sr-x 12 rootroot  4096 2010-07-12 19:10 ..
drwxrwsr-x  9 Debian-exim users 4096 2010-06-17 17:15 eclipse

I would not have changed the ownership if it were root already.
However, changing the ownership to root should not make a difference
if it were root already.

  I always used eclipse as a normal user by calling /usr/local/eclipse/
  eclipse.

 May I recommend using update-alternatives? You can keep several Eclipse
 versions side-by-side

Thank you for this recommendation, but I don't see a relation to the
upgrade problem?

  I always install new eclipse plugin within eclipse running as a normal
  user.

 That's probably the source of the problem, Install the plugin as root.
 Always update Eclipse as root.

Ok, this sounds comprehensible.

Do you mean that during the upgrade files are downloaded and stored
under the eclipse directory folder, which is owned by root and that
the files cannot be written?

Then, how do you explain that:
- the initial installation of the plugin always works
- I never received an error message caused by file permission problems
- the upgrade only failed with GWT?

 This means starting Eclipse as root, and running add new software

Is this documented somewhere? It seems strange to me that Eclipse
should not be able to check if it's running as root or check the file
permissions when the user initiates an upgrade and present an error
message to the user.

  This always worked, except with the GWT plugin. I would be glad if I
  knew why...

 I think that 3.6 tightened up on some permissions. I'm not really sure.

Ok.

Thank you!

Magnus

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Eclipse - Google Addons are gone after update

2010-07-17 Thread Jeff Chimene
On 07/17/2010 08:23 PM, Magnus wrote:
 Hi Rajeev!
 
 I always installed eclipse as root, i. e. extracting the tar archive
 as root into /usr/local/eclipse and changing the ownership of all
 files and folders to root.

 You shouldn't need to change the ownership. If you're really extracting the
 files as root, then they are already owned by root.
 
 No:
 drwxr-sr-x  3 rootroot  4096 2010-07-18 05:07 .
 drwxr-sr-x 12 rootroot  4096 2010-07-12 19:10 ..
 drwxrwsr-x  9 Debian-exim users 4096 2010-06-17 17:15 eclipse

Well, it's pretty clear that you're not root when the files were
extracted. Somehow your UID is Debian-exim:users. That's not good.

 I would not have changed the ownership if it were root already.
 However, changing the ownership to root should not make a difference
 if it were root already.

Agreed.

 I always used eclipse as a normal user by calling /usr/local/eclipse/
 eclipse.

 May I recommend using update-alternatives? You can keep several Eclipse
 versions side-by-side
 
 Thank you for this recommendation, but I don't see a relation to the
 upgrade problem?

It's an installation recommendation that affects subsequent upgrades.

It also provides a consistent view of your operating environment in that
programs always start from /usr/bin, as opposed to /usr/local

 I always install new eclipse plugin within eclipse running as a normal
 user.

 That's probably the source of the problem, Install the plugin as root.
 Always update Eclipse as root.
 
 Ok, this sounds comprehensible.
 
 Do you mean that during the upgrade files are downloaded and stored
 under the eclipse directory folder, which is owned by root and that
 the files cannot be written?

Running as a regular user, I *think* eclipse writes plugins into your
local directory.

 Then, how do you explain that:
 - the initial installation of the plugin always works
 - I never received an error message caused by file permission problems
 - the upgrade only failed with GWT?

After seeing a directory in /usr/local owned by Debian-exim, I hesitate
to explain anything.

 This means starting Eclipse as root, and running add new software
 
 Is this documented somewhere? It seems strange to me that Eclipse
 should not be able to check if it's running as root or check the file
 permissions when the user initiates an upgrade and present an error
 message to the user.

It's not documented in the sense that it's an elaboration on workstation
management. I don't know Eclipse well enough to comment on the ...
running as root... check. For myself, that's how I manage software
installation on this box. Unless software is installed using apt, I
install it as root and upgrade it as root. This includes Eclipse,
FireFox, Thunderbird and some Perl packages.

 This always worked, except with the GWT plugin. I would be glad if I
 knew why...

 I think that 3.6 tightened up on some permissions. I'm not really sure.
 
 Ok.

What other plugins do you use? Are there issues w/ those?

 
 Thank you!
 
 Magnus
 

Cheers,
jec

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Eclipse - Google Addons are gone after update

2010-07-17 Thread Jeff Chimene
On Sat, Jul 17, 2010 at 8:53 PM, Jeff Chimene jchim...@gmail.com wrote:

 On 07/17/2010 08:23 PM, Magnus wrote:
  Hi Rajeev!
 
  I always installed eclipse as root, i. e. extracting the tar archive
  as root into /usr/local/eclipse and changing the ownership of all
  files and folders to root.
 
  You shouldn't need to change the ownership. If you're really extracting
 the
  files as root, then they are already owned by root.
 
  No:
  drwxr-sr-x  3 rootroot  4096 2010-07-18 05:07 .
  drwxr-sr-x 12 rootroot  4096 2010-07-12 19:10 ..
  drwxrwsr-x  9 Debian-exim users 4096 2010-06-17 17:15 eclipse



Do you remember the tar command you use to extract the files? I'm wondering
if you're preserving the owner  specified in the ** archive.

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Eclipse - Google Addons are gone after update

2010-07-12 Thread Rajeev Dayal
HI,

Sorry you're running into trouble with upgrading the plugin. How exactly did
you try and upgrade the plugin? Also, what distribution and version of
Eclipse are you using, and what OS are you running on?

If you navigate to your Error Log (Window - Show View - Error Log), do you
see any errors listed on Eclipse's startup?


Rajeev

On Mon, Jul 12, 2010 at 1:43 AM, Magnus alpineblas...@googlemail.comwrote:

 Hi,

 I just upgraded my GWT plugin in Eclipse 3.5 and I encounter the
 following:

 The upgrade succeeds, but after restarting Eclipse all the GWT menu
 items are gone, e. g. Run As... does not offer Google Web
 Application anymore.

 I already saw this earlier and I always had to completely reinstall
 eclipse in order to get the GWT specific menu items again.

 Can you help?

 Thank you
 Magnus

 --
 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Eclipse - Google Addons are gone after update

2010-07-12 Thread Magnus
Hi,

I spent the last hours with reinstalling eclipse and the GWT plugin
all the time, and I do not manage to get the GWT functionality back
into eclipse. My GWT projects are shown with a red exclamation mark
and there are not GWT menu items.

I am running Debian 5.0.4 with the newest eclipse 3.6 (Helios), which
I downloaded from www.eclipse.org.

For the upgrade I did exactly what is documented on code.google.com:
Help - Install new software: http://dl.google.com/eclipse/plugin/3.6

Thanks for the hint with the error log: It says that the plugin is
already installed. However, when I reinstalled eclipse, I deleted the
eclipse directory (/usr/local/eclipse) as well as the local
configuration (.~/.eclipse). I do not know why the message appears
that the plugin is already installed...

Please help! I want to continue with my GWT projects! .-)

Magnus


- error.log -
eclipse.buildId=I20100608-0911
java.version=1.6.0_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os linux -ws gtk -arch x86 -product
org.eclipse.epp.package.jee.product


Warning
Mon Jul 12 18:17:47 CEST 2010
Google Web Toolkit SDK 2.0.4 will be ignored because it is already
installed.













On Jul 12, 6:02 pm, Rajeev Dayal rda...@google.com wrote:
 HI,

 Sorry you're running into trouble with upgrading the plugin. How exactly did
 you try and upgrade the plugin? Also, what distribution and version of
 Eclipse are you using, and what OS are you running on?

 If you navigate to your Error Log (Window - Show View - Error Log), do you
 see any errors listed on Eclipse's startup?

 Rajeev

 On Mon, Jul 12, 2010 at 1:43 AM, Magnus alpineblas...@googlemail.comwrote:

  Hi,

  I just upgraded my GWT plugin in Eclipse 3.5 and I encounter the
  following:

  The upgrade succeeds, but after restarting Eclipse all the GWT menu
  items are gone, e. g. Run As... does not offer Google Web
  Application anymore.

  I already saw this earlier and I always had to completely reinstall
  eclipse in order to get the GWT specific menu items again.

  Can you help?

  Thank you
  Magnus

  --
  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-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Eclipse - Google Addons are gone after update

2010-07-12 Thread Magnus
Hi Jeff,

I installed eclipse by unpacking the tar archive in /usr/local/eclpse
as root.

I started eclipse as an unpriviledged user and also installed the GWT
plugin in this context.

When restarting eclipse (during installation process) the following
message appears on the shell:
Job found still running after platform shutdown.  Jobs should be
canceled by the plugin that scheduled them during shutdown:
org.eclipse.epp.usagedata.internal.gathering.services.UsageDataService
$1

Starting eclipse as root (after installing GWT as an unpriviledged
user) does not change anything.
Starting eclipse as root (after installing GWT as root) results in GWT
is present!
Starting eclipse as normal user (after the steps above) results in GWT
is present!

But:

The GWT projects are still shown with a red exclamation mark and
starting them with Run As Web Application results in:
Exception in thread main java.lang.NoClassDefFoundError: com/google/
gwt/dev/GWTShell

This does not make fun. :-/

Magnus


On Jul 12, 6:54 pm, Jeff Chimene jchim...@gmail.com wrote:
 On 07/12/2010 09:34 AM, Magnus wrote:



  Hi,

  I spent the last hours with reinstalling eclipse and the GWT plugin
  all the time, and I do not manage to get the GWT functionality back
  into eclipse. My GWT projects are shown with a red exclamation mark
  and there are not GWT menu items.

  I am running Debian 5.0.4 with the newest eclipse 3.6 (Helios), which
  I downloaded fromwww.eclipse.org.

  For the upgrade I did exactly what is documented on code.google.com:
  Help - Install new software:http://dl.google.com/eclipse/plugin/3.6

  Thanks for the hint with the error log: It says that the plugin is
  already installed. However, when I reinstalled eclipse, I deleted the
  eclipse directory (/usr/local/eclipse) as well as the local
  configuration (.~/.eclipse). I do not know why the message appears
  that the plugin is already installed...

  Please help! I want to continue with my GWT projects! .-)

  Magnus

 Magnus:

 Did you install Eclipse as root?

 Did you install the plugin as root?

 If you start Eclipse as root does the problem still appear?

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Eclipse - Google Addons are gone after update

2010-07-12 Thread Magnus
Hi,

I found that the red exclamation marks resulted from wrong/old
versions of appengine/gwt sdk. I deleted the old ones and all projects
are ok.

However, I cannot really tell why everything works again. I am afraid
of the next upgrade.

Magnus

On Jul 12, 7:22 pm, Magnus alpineblas...@googlemail.com wrote:
 Hi Jeff,

 I installed eclipse by unpacking the tar archive in /usr/local/eclpse
 as root.

 I started eclipse as an unpriviledged user and also installed the GWT
 plugin in this context.

 When restarting eclipse (during installation process) the following
 message appears on the shell:
 Job found still running after platform shutdown.  Jobs should be
 canceled by the plugin that scheduled them during shutdown:
 org.eclipse.epp.usagedata.internal.gathering.services.UsageDataService
 $1

 Starting eclipse as root (after installing GWT as an unpriviledged
 user) does not change anything.
 Starting eclipse as root (after installing GWT as root) results in GWT
 is present!
 Starting eclipse as normal user (after the steps above) results in GWT
 is present!

 But:

 The GWT projects are still shown with a red exclamation mark and
 starting them with Run As Web Application results in:
 Exception in thread main java.lang.NoClassDefFoundError: com/google/
 gwt/dev/GWTShell

 This does not make fun. :-/

 Magnus

 On Jul 12, 6:54 pm, Jeff Chimene jchim...@gmail.com wrote:

  On 07/12/2010 09:34 AM, Magnus wrote:

   Hi,

   I spent the last hours with reinstalling eclipse and the GWT plugin
   all the time, and I do not manage to get the GWT functionality back
   into eclipse. My GWT projects are shown with a red exclamation mark
   and there are not GWT menu items.

   I am running Debian 5.0.4 with the newest eclipse 3.6 (Helios), which
   I downloaded fromwww.eclipse.org.

   For the upgrade I did exactly what is documented on code.google.com:
   Help - Install new software:http://dl.google.com/eclipse/plugin/3.6

   Thanks for the hint with the error log: It says that the plugin is
   already installed. However, when I reinstalled eclipse, I deleted the
   eclipse directory (/usr/local/eclipse) as well as the local
   configuration (.~/.eclipse). I do not know why the message appears
   that the plugin is already installed...

   Please help! I want to continue with my GWT projects! .-)

   Magnus

  Magnus:

  Did you install Eclipse as root?

  Did you install the plugin as root?

  If you start Eclipse as root does the problem still appear?

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Eclipse - Google Addons are gone after update

2010-07-12 Thread Magnus
Hi Rajeev,

I always installed eclipse as root, i. e. extracting the tar archive
as root into /usr/local/eclipse and changing the ownership of all
files and folders to root.

I always used eclipse as a normal user by calling /usr/local/eclipse/
eclipse.

I always install new eclipse plugin within eclipse running as a normal
user.

This always worked, except with the GWT plugin. I would be glad if I
knew why...

Magnus

On Jul 12, 7:36 pm, Rajeev Dayal rda...@google.com wrote:
 When you originally installed Eclipse and GPE (before Installing Eclipse
 3.5), what was the permissions setup? Did you install Eclipse as root, and
 GPE as non-root? Did you perform the upgrade as root or non-root?

 On Mon, Jul 12, 2010 at 1:30 PM, Magnus alpineblas...@googlemail.comwrote:

  Hi,

  I found that the red exclamation marks resulted from wrong/old
  versions of appengine/gwt sdk. I deleted the old ones and all projects
  are ok.

  However, I cannot really tell why everything works again. I am afraid
  of the next upgrade.

  Magnus

  On Jul 12, 7:22 pm, Magnus alpineblas...@googlemail.com wrote:
   Hi Jeff,

   I installed eclipse by unpacking the tar archive in /usr/local/eclpse
   as root.

   I started eclipse as an unpriviledged user and also installed the GWT
   plugin in this context.

   When restarting eclipse (during installation process) the following
   message appears on the shell:
   Job found still running after platform shutdown.  Jobs should be
   canceled by the plugin that scheduled them during shutdown:
   org.eclipse.epp.usagedata.internal.gathering.services.UsageDataService
   $1

   Starting eclipse as root (after installing GWT as an unpriviledged
   user) does not change anything.
   Starting eclipse as root (after installing GWT as root) results in GWT
   is present!
   Starting eclipse as normal user (after the steps above) results in GWT
   is present!

   But:

   The GWT projects are still shown with a red exclamation mark and
   starting them with Run As Web Application results in:
   Exception in thread main java.lang.NoClassDefFoundError: com/google/
   gwt/dev/GWTShell

   This does not make fun. :-/

   Magnus

   On Jul 12, 6:54 pm, Jeff Chimene jchim...@gmail.com wrote:

On 07/12/2010 09:34 AM, Magnus wrote:

 Hi,

 I spent the last hours with reinstalling eclipse and the GWT plugin
 all the time, and I do not manage to get the GWT functionality back
 into eclipse. My GWT projects are shown with a red exclamation mark
 and there are not GWT menu items.

 I am running Debian 5.0.4 with the newest eclipse 3.6 (Helios), which
 I downloaded fromwww.eclipse.org.

 For the upgrade I did exactly what is documented on code.google.com:
 Help - Install new software:http://dl.google.com/eclipse/plugin/3.6

 Thanks for the hint with the error log: It says that the plugin is
 already installed. However, when I reinstalled eclipse, I deleted the
 eclipse directory (/usr/local/eclipse) as well as the local
 configuration (.~/.eclipse). I do not know why the message appears
 that the plugin is already installed...

 Please help! I want to continue with my GWT projects! .-)

 Magnus

Magnus:

Did you install Eclipse as root?

Did you install the plugin as root?

If you start Eclipse as root does the problem still appear?

  --
  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-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Eclipse - Google Addons are gone after update

2010-07-12 Thread Jeff Chimene
On Mon, Jul 12, 2010 at 7:37 PM, Magnus alpineblas...@googlemail.comwrote:

 Hi Rajeev,

 Hi Magnus:

I've been using Eclipse on Debian for several years now.


 I always installed eclipse as root, i. e. extracting the tar archive
 as root into /usr/local/eclipse and changing the ownership of all
 files and folders to root.


You shouldn't need to change the ownership. If you're really extracting the
files as root, then they are already owned by root.



 I always used eclipse as a normal user by calling /usr/local/eclipse/
 eclipse.


May I recommend using update-alternatives? You can keep several Eclipse
versions side-by-side

For example:
sudo mv /usr/local/eclipse /usr/local/eclipse-3.6
sudo update-alternatives --install /usr/bin/eclipse eclipse
/usr/local/eclipse-3.6/eclipse 100
.
.
.
sudo mv /usr/local/eclipse /usr/local/eclipse-3.7
sudo update-alternatives --install /usr/bin/eclipse eclipse
/usr/local/eclipse-3.7/eclipse 150

then

sudo update-alternatives --config eclipse

to switch among the alternatives


 I always install new eclipse plugin within eclipse running as a normal
 user.


That's probably the source of the problem, Install the plugin as root.
Always update Eclipse as root.

This means starting Eclipse as root, and running add new software

When working w/ Eclipse day-to-day, run Eclipse as magnus:magnus or
magnus:users

I generally turn off check for updates when running as a normal user.
Every few weeks, I'll check for eclipse updates, although there are usually
posts on relevant lists (subversion, gpe, epic...)


 This always worked, except with the GWT plugin. I would be glad if I
 knew why...


I think that 3.6 tightened up on some permissions. I'm not really sure.

However, I'm now running eclipse using a local initialization file to get
around a new osgi-related locking issue.

eclipse --launcher.ini /home/jchimene/.eclipse/eclipse.ini 

Frankly, I like this better, as I leave /usr/local pristine.



 Magnus

 On Jul 12, 7:36 pm, Rajeev Dayal rda...@google.com wrote:
  When you originally installed Eclipse and GPE (before Installing Eclipse
  3.5), what was the permissions setup? Did you install Eclipse as root,
 and
  GPE as non-root? Did you perform the upgrade as root or non-root?
 
  On Mon, Jul 12, 2010 at 1:30 PM, Magnus alpineblas...@googlemail.com
 wrote:
 
   Hi,
 
   I found that the red exclamation marks resulted from wrong/old
   versions of appengine/gwt sdk. I deleted the old ones and all projects
   are ok.
 
   However, I cannot really tell why everything works again. I am afraid
   of the next upgrade.
 
   Magnus
 
   On Jul 12, 7:22 pm, Magnus alpineblas...@googlemail.com wrote:
Hi Jeff,
 
I installed eclipse by unpacking the tar archive in /usr/local/eclpse
as root.
 
I started eclipse as an unpriviledged user and also installed the GWT
plugin in this context.
 
When restarting eclipse (during installation process) the following
message appears on the shell:
Job found still running after platform shutdown.  Jobs should be
canceled by the plugin that scheduled them during shutdown:
   
 org.eclipse.epp.usagedata.internal.gathering.services.UsageDataService
$1
 
Starting eclipse as root (after installing GWT as an unpriviledged
user) does not change anything.
Starting eclipse as root (after installing GWT as root) results in
 GWT
is present!
Starting eclipse as normal user (after the steps above) results in
 GWT
is present!
 
But:
 
The GWT projects are still shown with a red exclamation mark and
starting them with Run As Web Application results in:
Exception in thread main java.lang.NoClassDefFoundError:
 com/google/
gwt/dev/GWTShell
 
This does not make fun. :-/
 
Magnus
 
On Jul 12, 6:54 pm, Jeff Chimene jchim...@gmail.com wrote:
 
 On 07/12/2010 09:34 AM, Magnus wrote:
 
  Hi,
 
  I spent the last hours with reinstalling eclipse and the GWT
 plugin
  all the time, and I do not manage to get the GWT functionality
 back
  into eclipse. My GWT projects are shown with a red exclamation
 mark
  and there are not GWT menu items.
 
  I am running Debian 5.0.4 with the newest eclipse 3.6 (Helios),
 which
  I downloaded fromwww.eclipse.org.
 
  For the upgrade I did exactly what is documented on
 code.google.com:
  Help - Install new software:
 http://dl.google.com/eclipse/plugin/3.6
 
  Thanks for the hint with the error log: It says that the plugin
 is
  already installed. However, when I reinstalled eclipse, I deleted
 the
  eclipse directory (/usr/local/eclipse) as well as the local
  configuration (.~/.eclipse). I do not know why the message
 appears
  that the plugin is already installed...
 
  Please help! I want to continue with my GWT projects! .-)
 
  Magnus
 
 Magnus:
 
 Did you install Eclipse as root?
 
 Did you install the plugin as root?
 
 If you start Eclipse as root does 

Eclipse - Google Addons are gone after update

2010-07-11 Thread Magnus
Hi,

I just upgraded my GWT plugin in Eclipse 3.5 and I encounter the
following:

The upgrade succeeds, but after restarting Eclipse all the GWT menu
items are gone, e. g. Run As... does not offer Google Web
Application anymore.

I already saw this earlier and I always had to completely reinstall
eclipse in order to get the GWT specific menu items again.

Can you help?

Thank you
Magnus

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.