On Mon, Jul 12, 2010 at 7:37 PM, Magnus <[email protected]>wrote:
> 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 <[email protected]> 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 <[email protected] > >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 <[email protected]> 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 <[email protected]> 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 > [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<google-web-toolkit%[email protected]> > <google-web-toolkit%[email protected]<google-web-toolkit%[email protected]> > > > > > . > > > 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-web-toolkit%[email protected]> > . > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
