Home » Language IDEs » C / C++ IDE (CDT) » Help: CDT Java build Path issue
Help: CDT Java build Path issue [message #140283] |
Mon, 07 March 2005 18:11  |
Eclipse User |
|
|
|
Hi,
I'm using eclipse 3.0.1 SDK. (I've tried 3.1a5, and get the same results.)
I've downloaded and checked out via CVS all the files with
"org.eclipse.cdt-*" from the repository HEAD. NOTE: I tried looking for
CDT2.1 under the CVS "Versions" tree, but I didn't see them.
For example, if I open java source
org.eclipse.cdt-core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ internal/ui/editor/CMarkerAnnotation.java,
and then select MarkerUtilities, try to "Open Declaration" or "Open call
Hierarchy", I get the following "Cannot Perform Operation" diaog: "The
resource is not on the build path of a java project.". I tried to search
this news group and google, but can't understand what exactly am I missing.
When I check these files out, aren't these already project files?
Strange... I looked at each project "properties", and I don't see any
"Java Build Path", "Java Compiler", "Javadoc Location", or "Java Task
Tags" properties in the cdt projects listed in the PDE Navigator.
What I'm trying to do is debug some part of the CDT editor, to learn
about how the code works. Specifically, in the right hand side of the C
Editor's margin, there are some rectangular markers for warnings and
errors, that takes you to the line of code, when you click on them. I'm
trying to find the code that handles these markers.
I'm running and using Eclipse/CDT under linux.
Anyone have instructions for running cdt in the runtime workbench?
In the CDT FAQ, under "Working ON the CDT", I've tried SDK and CVS
methods, but get the same error dialog...
Any help is greatly appreciated.
Frank
|
|
|
Re: Help: CDT Java build Path issue [message #140289 is a reply to message #140283] |
Mon, 07 March 2005 19:10   |
Eclipse User |
|
|
|
Don't checkout org.eclipse.cdt-core, open it and checkout the folders in it as projects.
Same goes for org.eclipse.cdt-build and org.eclipse.cdt-debug
Frank Parrott wrote:
> Hi,
> I'm using eclipse 3.0.1 SDK. (I've tried 3.1a5, and get the same results.)
>
> I've downloaded and checked out via CVS all the files with
> "org.eclipse.cdt-*" from the repository HEAD. NOTE: I tried looking for
> CDT2.1 under the CVS "Versions" tree, but I didn't see them.
>
> For example, if I open java source
> org.eclipse.cdt-core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ internal/ui/editor/CMarkerAnnotation.java,
>
> and then select MarkerUtilities, try to "Open Declaration" or "Open call
> Hierarchy", I get the following "Cannot Perform Operation" diaog: "The
> resource is not on the build path of a java project.". I tried to search
> this news group and google, but can't understand what exactly am I missing.
>
> When I check these files out, aren't these already project files?
>
> Strange... I looked at each project "properties", and I don't see any
> "Java Build Path", "Java Compiler", "Javadoc Location", or "Java Task
> Tags" properties in the cdt projects listed in the PDE Navigator.
>
> What I'm trying to do is debug some part of the CDT editor, to learn
> about how the code works. Specifically, in the right hand side of the C
> Editor's margin, there are some rectangular markers for warnings and
> errors, that takes you to the line of code, when you click on them. I'm
> trying to find the code that handles these markers.
>
> I'm running and using Eclipse/CDT under linux.
>
> Anyone have instructions for running cdt in the runtime workbench?
>
> In the CDT FAQ, under "Working ON the CDT", I've tried SDK and CVS
> methods, but get the same error dialog...
>
> Any help is greatly appreciated.
> Frank
|
|
|
Re: Help: CDT Java build Path issue [message #140319 is a reply to message #140289] |
Tue, 08 March 2005 10:34   |
Eclipse User |
|
|
|
Hi Dave,
Thanks... I grabbed the source from HEAD, and running into "undefined"
errors with PlatformUI.getWorkbench()."getHelpSystem()". Currently I
can't use Eclipse3.1a5, since I'm running a very old linux (RH7.3
Enterprize, per our IT dept. for stability reasons. Eclipse 3.1m5a
requires a libc.so.6 library for launching, that I don't have.) Since
I'm using Eclipse 3.0.1, I would like to checkout the source for CDT
version 2.1. Generally I look in the CVS Versions repository, but I'm
not seeing any source projects folders for the different verions of CDT.
I'm using::pserver:anonymous@dev.eclipse.org:/home/tools.
Where is the source for build 2.1 located?
Thanks for your help.
Frank
Dave Inglis wrote:
> Don't checkout org.eclipse.cdt-core, open it and checkout the folders in
> it as projects.
> Same goes for org.eclipse.cdt-build and org.eclipse.cdt-debug
>
> Frank Parrott wrote:
>
>> Hi,
>> I'm using eclipse 3.0.1 SDK. (I've tried 3.1a5, and get the same
>> results.)
>>
>> I've downloaded and checked out via CVS all the files with
>> "org.eclipse.cdt-*" from the repository HEAD. NOTE: I tried looking
>> for CDT2.1 under the CVS "Versions" tree, but I didn't see them.
>>
>> For example, if I open java source
>> org.eclipse.cdt-core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ internal/ui/editor/CMarkerAnnotation.java,
>>
>> and then select MarkerUtilities, try to "Open Declaration" or "Open
>> call Hierarchy", I get the following "Cannot Perform Operation" diaog:
>> "The resource is not on the build path of a java project.". I tried to
>> search this news group and google, but can't understand what exactly
>> am I missing.
>>
>> When I check these files out, aren't these already project files?
>>
>> Strange... I looked at each project "properties", and I don't see any
>> "Java Build Path", "Java Compiler", "Javadoc Location", or "Java Task
>> Tags" properties in the cdt projects listed in the PDE Navigator.
>>
>> What I'm trying to do is debug some part of the CDT editor, to learn
>> about how the code works. Specifically, in the right hand side of the
>> C Editor's margin, there are some rectangular markers for warnings and
>> errors, that takes you to the line of code, when you click on them.
>> I'm trying to find the code that handles these markers.
>>
>> I'm running and using Eclipse/CDT under linux.
>>
>> Anyone have instructions for running cdt in the runtime workbench?
>>
>> In the CDT FAQ, under "Working ON the CDT", I've tried SDK and CVS
>> methods, but get the same error dialog...
>>
>> Any help is greatly appreciated.
>> Frank
|
|
|
Re: Help: CDT Java build Path issue [message #140327 is a reply to message #140319] |
Tue, 08 March 2005 11:24   |
Eclipse User |
|
|
|
Originally posted by: mark_melvin.amis.com
Right-click your projects, and go Team > Replace With > Another Branch
or Version...
Then refresh from the repository and you should get a list of branches
and versions. Select CDT_2_1 from Versions and you should be good to go.
Mark.
Frank Parrott wrote:
> Hi Dave,
>
> Thanks... I grabbed the source from HEAD, and running into "undefined"
> errors with PlatformUI.getWorkbench()."getHelpSystem()". Currently I
> can't use Eclipse3.1a5, since I'm running a very old linux (RH7.3
> Enterprize, per our IT dept. for stability reasons. Eclipse 3.1m5a
> requires a libc.so.6 library for launching, that I don't have.) Since
> I'm using Eclipse 3.0.1, I would like to checkout the source for CDT
> version 2.1. Generally I look in the CVS Versions repository, but I'm
> not seeing any source projects folders for the different verions of CDT.
> I'm using::pserver:anonymous@dev.eclipse.org:/home/tools.
>
> Where is the source for build 2.1 located?
>
> Thanks for your help.
> Frank
>
> Dave Inglis wrote:
>
>> Don't checkout org.eclipse.cdt-core, open it and checkout the folders
>> in it as projects.
>> Same goes for org.eclipse.cdt-build and org.eclipse.cdt-debug
>>
>> Frank Parrott wrote:
>>
>>> Hi,
>>> I'm using eclipse 3.0.1 SDK. (I've tried 3.1a5, and get the same
>>> results.)
>>>
>>> I've downloaded and checked out via CVS all the files with
>>> "org.eclipse.cdt-*" from the repository HEAD. NOTE: I tried looking
>>> for CDT2.1 under the CVS "Versions" tree, but I didn't see them.
>>>
>>> For example, if I open java source
>>> org.eclipse.cdt-core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ internal/ui/editor/CMarkerAnnotation.java,
>>>
>>> and then select MarkerUtilities, try to "Open Declaration" or "Open
>>> call Hierarchy", I get the following "Cannot Perform Operation"
>>> diaog: "The resource is not on the build path of a java project.". I
>>> tried to search this news group and google, but can't understand what
>>> exactly am I missing.
>>>
>>> When I check these files out, aren't these already project files?
>>>
>>> Strange... I looked at each project "properties", and I don't see any
>>> "Java Build Path", "Java Compiler", "Javadoc Location", or "Java Task
>>> Tags" properties in the cdt projects listed in the PDE Navigator.
>>>
>>> What I'm trying to do is debug some part of the CDT editor, to learn
>>> about how the code works. Specifically, in the right hand side of the
>>> C Editor's margin, there are some rectangular markers for warnings
>>> and errors, that takes you to the line of code, when you click on
>>> them. I'm trying to find the code that handles these markers.
>>>
>>> I'm running and using Eclipse/CDT under linux.
>>>
>>> Anyone have instructions for running cdt in the runtime workbench?
>>>
>>> In the CDT FAQ, under "Working ON the CDT", I've tried SDK and CVS
>>> methods, but get the same error dialog...
>>>
>>> Any help is greatly appreciated.
>>> Frank
|
|
|
Re: Help: CDT Java build Path issue [message #140352 is a reply to message #140327] |
Tue, 08 March 2005 16:24  |
Eclipse User |
|
|
|
Thanks Mark, that did it!
Regards,
Frank
Mark Melvin wrote:
> Right-click your projects, and go Team > Replace With > Another Branch
> or Version...
>
> Then refresh from the repository and you should get a list of branches
> and versions. Select CDT_2_1 from Versions and you should be good to go.
>
> Mark.
>
> Frank Parrott wrote:
>
>> Hi Dave,
>>
>> Thanks... I grabbed the source from HEAD, and running into "undefined"
>> errors with PlatformUI.getWorkbench()."getHelpSystem()". Currently I
>> can't use Eclipse3.1a5, since I'm running a very old linux (RH7.3
>> Enterprize, per our IT dept. for stability reasons. Eclipse 3.1m5a
>> requires a libc.so.6 library for launching, that I don't have.) Since
>> I'm using Eclipse 3.0.1, I would like to checkout the source for CDT
>> version 2.1. Generally I look in the CVS Versions repository, but I'm
>> not seeing any source projects folders for the different verions of
>> CDT. I'm using::pserver:anonymous@dev.eclipse.org:/home/tools.
>>
>> Where is the source for build 2.1 located?
>>
>> Thanks for your help.
>> Frank
>>
>> Dave Inglis wrote:
>>
>>> Don't checkout org.eclipse.cdt-core, open it and checkout the folders
>>> in it as projects.
>>> Same goes for org.eclipse.cdt-build and org.eclipse.cdt-debug
>>>
>>> Frank Parrott wrote:
>>>
>>>> Hi,
>>>> I'm using eclipse 3.0.1 SDK. (I've tried 3.1a5, and get the same
>>>> results.)
>>>>
>>>> I've downloaded and checked out via CVS all the files with
>>>> "org.eclipse.cdt-*" from the repository HEAD. NOTE: I tried looking
>>>> for CDT2.1 under the CVS "Versions" tree, but I didn't see them.
>>>>
>>>> For example, if I open java source
>>>> org.eclipse.cdt-core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ internal/ui/editor/CMarkerAnnotation.java,
>>>>
>>>> and then select MarkerUtilities, try to "Open Declaration" or "Open
>>>> call Hierarchy", I get the following "Cannot Perform Operation"
>>>> diaog: "The resource is not on the build path of a java project.". I
>>>> tried to search this news group and google, but can't understand
>>>> what exactly am I missing.
>>>>
>>>> When I check these files out, aren't these already project files?
>>>>
>>>> Strange... I looked at each project "properties", and I don't see
>>>> any "Java Build Path", "Java Compiler", "Javadoc Location", or "Java
>>>> Task Tags" properties in the cdt projects listed in the PDE Navigator.
>>>>
>>>> What I'm trying to do is debug some part of the CDT editor, to learn
>>>> about how the code works. Specifically, in the right hand side of
>>>> the C Editor's margin, there are some rectangular markers for
>>>> warnings and errors, that takes you to the line of code, when you
>>>> click on them. I'm trying to find the code that handles these markers.
>>>>
>>>> I'm running and using Eclipse/CDT under linux.
>>>>
>>>> Anyone have instructions for running cdt in the runtime workbench?
>>>>
>>>> In the CDT FAQ, under "Working ON the CDT", I've tried SDK and CVS
>>>> methods, but get the same error dialog...
>>>>
>>>> Any help is greatly appreciated.
>>>> Frank
|
|
|
Goto Forum:
Current Time: Mon Jun 09 08:15:13 EDT 2025
Powered by FUDForum. Page generated in 0.04510 seconds
|