On 07/16/2013 10:04 AM, Greg Watson
wrote:
It's not doing remote indexing. The RDT feature adds a remote
indexer which is why you see it.
I see the error message also, and I've opened bug 413021 to
track the problem.
I think this is causing problems with the indexer. If I
open the Indexer preferences and get the error, then open
main.c (from shallow), I see errors on every line that
refers to something from *any* include file (e.g. line 39
in main.c). The indexer seems to be completely broken at
this point. The only thing that seems to clear the problem
is to start with a completely new workspace. Just removing
and recreating the project does not seem to restore the
indexer operation.
However, starting with a new workspace, I can reliably
set the remote include path using the 'Preprocessor Include
Paths' property page and it resolves the references
correctly.
Note that when you add the remote path, in addition to
selecting "File System Path", you also need to check
"Contains system headers" or it will not work.
Can you try this?
No joy.
I have a procedure down now wherein I delete everything and
re-install:
rm -fr .eclipsesettings/ /home/sbrandt/workspace2/
/home/sbrandt/Apps/kepler/
mkdir -p ~/Apps/kepler
cd ~/Apps/kepler
tar xzf
/home/sbrandt/Download/eclipse-parallel-kepler-R-linux-gtk-x86_64.tar.gz
I then launch eclipse as follows:
nohup ~/Apps/kepler/eclipse/eclipse \
-clean \
-Xms512m -Xmx1536m -XX:PermSize=128m -XX:MaxPermSize=256m \
-data $HOME/workspace2 \
-consoleLog > /tmp/eclipsej.log 2>&1 &
Creating a small project and immediately setting the path, followed
by a request to rebuild the index, makes no difference.
Cheers,
Steve
Greg
An excellent question...
um. That's probably the problem.
On 07/15/2013 06:13 PM, Beth Tibbitts wrote:
Why is it doing remote indexer if it's
a sync project? It should be doing local indexer,
shouldn't it?
... Beth
Beth Tibbitts
Sent from my Samsung Galaxy S3 Android phone
On Jul 15, 2013 6:24 PM,
"Steven R. Brandt" < sbrandt@xxxxxxxxxxx>
wrote:
On 07/15/2013 05:22 PM,
Greg Watson wrote:
Did you try
rebuilding the index?
Yes, repeatedly.
Greg
On Jul 15, 2013, at 6:19 PM, "Steven R.
Brandt" <sbrandt@xxxxxxxxxxx>
wrote:
This is
interesting. I can browse through the remote
include file in the Project explorer, even
though the editor and outline view claim it
doesn't exist.
Cheers,
Steve
On 07/15/2013 04:52 PM, Greg Watson wrote:
Also, when
you added the path in Preprocessor Include
Paths, did you have "GNU C" selected in
the languages tab, or was "Assembly"
selected. This has caught me out a few
times.
Greg
On Jul 15, 2013, at 5:46 PM, Greg Watson
<g.watson@xxxxxxxxxxxx>
wrote:
More
information:
- By "latest updated Kepler", do you
mean updated with the latest kepler
nightly build?
- Type of sync project (C, Fortran,
etc)?
- Toolchains you selected?
- Do you get the invalid values message
before you set the path?
- Do you get the invalid values message
for a local C project?
The error message is coming from CDT,
not PTP, so it looks like something is
wrong with your installation.
Try setting the path in the Paths and
Symbols page instead.
Greg
On Jul 15, 2013, at 5:42 PM, "Steven R.
Brandt" <sbrandt@xxxxxxxxxxx>
wrote:
On 07/15/2013
04:29 PM, Steven R. Brandt wrote:
I can't get
the remote indexer to work. In my
example, I set the include path to
the include path in
Project Properties > C/C++
General > Paths and Symbols >
GNU C
Sorry, that's in Preprocessor Paths
and Symbols, and "Filesystem" is
selected.
is set to
//queenbee/usr/include/mpich2-x86_64
Where queenbee is the name of my
connection. I verified the
connection by modifying files in the
synchronized project and observing
the changes on the remote machine. I
rebuild the index, etc. but all I
see is errors and typing F3 on the
mpi.h include line fails.
Windows > Preferences > C/C++
> Indexer
Always shows the message "The
currently displayed page contains
invalid values." If I click on
something else, say File Types, then
click on Indexer again I see a
checkbox ("Enable Indexer") , a
chooser with "C/C++ Indexer" and
"RDT Remote Fast Indexer".
Regardless of what I pick, on this
page, none of the values will show
up again when I return.
I'm running on Fedora17 with the
Oracle JDK, version 1.6.0_30. I am
using the latest updated Kepler.
The log contains this, possibly
relevant, message:
!ENTRY org.eclipse.jface 4 2
2013-07-15 16:24:09.786
!MESSAGE Problems occurred when
invoking code from plug-in:
"org.eclipse.jface".
!STACK 0
java.lang.IllegalArgumentException
at
org.eclipse.core.resources.ProjectScope.<init>(ProjectScope.java:57)
at
org.eclipse.cdt.internal.core.pdom.indexer.IndexerPreferences.getProjectPreferences(IndexerPreferences.java:296)
at
org.eclipse.cdt.internal.core.pdom.indexer.IndexerPreferences.getReindexOnIndexerChange(IndexerPreferences.java:457)
at
org.eclipse.cdt.ui.dialogs.IndexerBlock.initializeIndexerCombo(IndexerBlock.java:365)
at
org.eclipse.cdt.ui.dialogs.IndexerBlock.createControl(IndexerBlock.java:241)
Any idea what I'm doing wrong?
Cheers,
Steve
_______________________________________________
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
_______________________________________________
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
_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user
|