Skip to main content



      Home
Home » Eclipse Projects » Target Management » Projects loaded at startup - build problem
Projects loaded at startup - build problem [message #658206] Mon, 07 March 2011 07:16 Go to next message
Eclipse UserFriend
Hello,

I'm developing a plugin for eclipse, using the RSE. We need to be able to edit files remotely but also build and debug.
Everything works fine, except for one thing. When eclipse starts, the remote projects which were open when eclipse quit don't open. That is not really a problem. However, the problem is that for these projects, eclipse recompiles *everything* every time when doing the first build after opening the project for the first time, instead of doing an incremental build.
The problem doesn't happen when the projects are manually closed before quitting eclipse.
It seems that eclipse loses the build tree when failing to load a remote project at startup.

What am I supposed to do to fix this ?

Additional info:
Eclipse 3.6.1 helios
RSE 3.2.1
Windows XP/7 (the remote machines are running various unixes).

Thanks in advance.
Re: Projects loaded at startup - build problem [message #658235 is a reply to message #658206] Mon, 07 March 2011 09:20 Go to previous messageGo to next message
Eclipse UserFriend
PTP / RDT has a remote builder which might help:
http://wiki.eclipse.org/PTP/rdt-setup

For the original problem of "remote project closed on restart" see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=181460

The related bugs might give you a hint where to look. I assume that when Eclipse tries to re-open the project on startup, it runs into the exception described in that bug and due to that exception the workspace state is invalidated.

Note that Aptana (http://www.aptana.com) uses a different EFS provider for remote access without RSE, which might not have this "reopen on startup" problem.

HTH
Martin
Re: Projects loaded at startup - build problem [message #658392 is a reply to message #658235] Tue, 08 March 2011 05:27 Go to previous message
Eclipse UserFriend
Thanks. As I said, the fact that the project doesn't reopen at startup isn't really a problem for our users (none of the testers noticed it). However, eclipse losing the build tree after opening a project is a big problem. Apparently, after a little debugging, it seems eclipse, after failing to find the ".project", saves the build tree to a .tree file. However, when the project is manually opened, eclipse tries to read the build tree from another .tree file.

Anyway, the problem is "solved" for us: we decided to use make, instead of eclipse's build system. It is also more convenient since some users may want to edit & build without eclipse.

Thanks for your help.
Previous Topic:RSE services API concurrency ...
Next Topic:How to link source in Eclipse to a RSE created remote system
Goto Forum:
  


Current Time: Thu Jul 10 02:30:24 EDT 2025

Powered by FUDForum. Page generated in 0.06021 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top