Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] Issues with remote includes and remote indexing

Chris,

I'm happy to turn on extra logging on the server. How do I go about doing that? This is my current server launch command that shipped with the RDT tarball:


serverpath=.;
clientUserID=$USER;
java -Xms64m -Xmx128m -Xss2m -DA_PLUGIN_PATH=$serverpath -DDSTORE_TRACING_ON=false -Dclient.username=$clientUserID -DDSTORE_SPIRIT_ON=true org.eclipse.dstore.core.server.Server $port $timeout &

I also notice that the server creates the index file in my $HOME/.eclipse directory, but my source code is elsewhere. I wouldn't think that this makes a difference, but wanted to make sure that I'm not missing something obvious.



On Thu, Feb 13, 2014 at 2:49 PM, Chris Recoskie <recoskie@xxxxxxxxxx> wrote:

UNC paths are not meant to be used with remote projects.  They are meant to be used with synchronized projects.

The warnings are likely bogus and due to the fact that CDT looked for them on the local machine and of course they aren't there.  There is some code that is supposed to remove the bogus warnings.  Something likely happened to mess that up.

I would suggest turning the server logging up to the maximum and seeing what turns up in the log.


===========================
Chris Recoskie
Team Lead, IBM CDT and RDT
IBM Toronto


Inactive hide details for Eugene Smolenskiy ---02/13/2014 02:15:16 PM---Hi Beth, Indeed, the version of PTP on my Windows PC EcEugene Smolenskiy ---02/13/2014 02:15:16 PM---Hi Beth, Indeed, the version of PTP on my Windows PC Eclipse installation is

From: Eugene Smolenskiy <e.smolenskiy@xxxxxxxxx>
To: PTP User list <ptp-user@xxxxxxxxxxx>
Date: 02/13/2014 02:15 PM
Subject: Re: [ptp-user] Issues with remote includes and remote indexing
Sent by: ptp-user-bounces@xxxxxxxxxxx





Hi Beth,

Indeed, the version of PTP on my Windows PC Eclipse installation is 7.0.3.201308141907 and the remote Solaris host is running RDT server from the rdt-server-unix-7.0.3 tarball.

The server crashing issue, however, may just be a red herring. This happens when I use the UNC-style path in the Remote Paths and Symbols configuration, but is that even the right thing to do?

e


On Thu, Feb 13, 2014 at 2:06 PM, Beth Tibbitts <beth@xxxxxxxxxx> wrote:
    >java.lang.NoClassDefFoundError: org/eclipse/core/runtime/RegistryFactory
    Are you sure your server jars, and your client eclipse, are the same matching versions?
    Looks like something's calling a class that doesn't exist.
    7.0.3 is indeed the latest released version.  Is your eclipse client that, as well?

    Hopefully Chris R can answer further.

    ...Beth

    Beth Tibbitts
    beth@xxxxxxxxxx


    On Thu, Feb 13, 2014 at 1:49 PM, Eugene Smolenskiy <e.smolenskiy@xxxxxxxxx> wrote:
      Hi,

      I've been having a difficult time trying to get remote indexing working with my Remote C++ Project.

      I have the following installed:

      Eclipse Kepler with CDT
      Eclipse PTP 7.0.3

      On my remote Solaris host I have RDT Server 7.0.3.

      I have the RDT Remote Fast Indexer turned on and selected in my project properties.

      I am able to complete remote builds successfully by invoking the remote Makefile.

      I thought that the indexer would search all the sub-folders in my project to find the *.cc and *.h files for indexing, but that doesn't seem to be happening.

      I tried to manually add the folders that contain source files in the "Remote Paths and Symbols" preferences (using the Select Remote Directory dialog), but it doesn't seem to change anything, and I see the warning:

      "The selected folder does not exist or is not accessible"

      I saw somewhere on this list to try and specify UNC style paths (prepending the path with //<connection_name>, but this doesn't work and causes my server to crash (partial trace):

      java.lang.NoClassDefFoundError: org/eclipse/core/runtime/RegistryFactory
              at org.eclipse.core.runtime.Platform.getExtensionRegistry(Platform.java:882)
              at org.eclipse.cdt.internal.core.UNCPathConverterImpl.loadUNCPathConverters(UNCPathConverterImpl.java:49)
              at org.eclipse.cdt.internal.core.UNCPathConverterImpl.toURI(UNCPathConverterImpl.java:87)
              at org.eclipse.cdt.internal.core.pdom.indexer.FileExistsCache.isFile(FileExistsCache.java:62)

      Does the location of the index file relative to where the project files have anything to do with it?

      Any and all help would be massively appreciated.

      Thanks!





      _______________________________________________
      ptp-user mailing list

      ptp-user@xxxxxxxxxxx
      https://dev.eclipse.org/mailman/listinfo/ptp-user


    _______________________________________________
    ptp-user mailing list

    ptp-user@xxxxxxxxxxx
    https://dev.eclipse.org/mailman/listinfo/ptp-user
_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user


_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user


GIF image


Back to the top