Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Problems with cdt-eclipse-R1.0
Problems with cdt-eclipse-R1.0 [message #23794] Tue, 09 April 2002 10:32 Go to next message
Eclipse UserFriend
Originally posted by: masen.de.ibm.com

I installed the IBM Websphere Studio Application Developer Version 4.0.3
(WSAD) on my Intel Linux environment. Therefore the according rpm-package
was
installed by the root user.
Now, I get the cdt-eclipse-R1.0.zip file and install the plugins to the
plugins directory of the WSAD. Therefore I used the script file
install-cdt.
The installation works. But now, If I want to work with the plugins, I get
serveral problems.
1. If I call the WSAD, I don't see any C++ plugins. I changed the
permission
bits of two directories (chmod 755 org.eclipse.cdt.cpp.docs.user
org.eclipse.cdt.dstore.core) and now the plugins are active for my user.
Do
the two packages have false permission bits ?
2. I create a C++ project and import the payroll example to this project.
Parsing works but If I try to edit some files, I get following message: An
error has occured, when creating this editor ?
3. I try the C++ search, I get following error:
java.lang.NullPointerException at
org.eclipse.cdt.cpp.ui.api.ModelInterface.search ...

What I'm doing wrong ?

Regards,
Volker
Re: Problems with cdt-eclipse-R1.0 [message #23837 is a reply to message #23794] Tue, 09 April 2002 13:03 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

The CDT is an open-source project that is designed to work with the
open-source Eclipse drivers, found on http://download.eclipse.org. WSAD is a
commercial product based on a "cut" of Eclipse R1.0. There is no guarantee
(that we've seen) that says that the Eclipse R1.0 base provided in WSAD has
not been altered. In fact I've seen that the install process for WSAD 4.0.3
gives the user the option to install ClearCase which prevents the
org.eclipse.vcm.core plugin from getting installed. This alone is enough to
"break" the CDT since we have a dependency on that plugin in R1 (actually
the dependency is bogus, but there nonetheless). Even if the CDT can
successfully run on top of the Eclipse Base provided by WSAD, there is no
guarantee that there won't be integration problems between the CDT and other
WSAD function.

The "right" way for the CDT to work with commercial products would be for
the commercial product team to include a version of the CDT in their
product. This would only be done after they have spent the effort to
verify\test that the CDT works on the Eclipse base they are working with and
integrates conceptually with their function. I have not seen a WSAD support
contract, but I would suspect that installing open-source plugins such as
the CDT on top of WSAD would void it.

All that said, here are my initial thoughts in regards to your problems:

> 1. If I call the WSAD, I don't see any C++ plugins. I changed the
> permission bits of two directories (chmod 755
org.eclipse.cdt.cpp.docs.user
> org.eclipse.cdt.dstore.core) and now the plugins are active for my user.
> Do the two packages have false permission bits ?


It does appear that the 2 plugins you mention have different permissions
than the rest of the plugins, but the permissions I'm seeing are 775 which
are more liberal than 755 so I doubt your problems were due to permissions.
The first thing to check whenever there is a problem with new plugins is the
..log file which is located in the workspace\.metadata directory (usually
appears in the directory from which you invoked Eclipse or wsad in this
case). This .log file should contain stack traces from any plugins that
cause uncaught exceptions.

> 2. I create a C++ project and import the payroll example to this project.
> Parsing works but If I try to edit some files, I get following message: An
> error has occured, when creating this editor ?


Again can you check the .log file...I suspect you will find a Stack Trace in
there related to com.ibm.lpex (our integrated editor) or some editor action.

> 3. I try the C++ search, I get following error:
> java.lang.NullPointerException at
> org.eclipse.cdt.cpp.ui.api.ModelInterface.search ...


The .log file should contain the full stack trace (with line numbers
hopefully)...If you post the .log file I'll take a quick look to see if the
problem is something simple.

Hope that helps...

Jeff Turnham

"Volker Masen" <masen@de.ibm.com> wrote in message
news:a8uu21$3m1$1@rogue.oti.com...
> I installed the IBM Websphere Studio Application Developer Version 4.0.3
> (WSAD) on my Intel Linux environment. Therefore the according rpm-package
> was
> installed by the root user.
> Now, I get the cdt-eclipse-R1.0.zip file and install the plugins to the
> plugins directory of the WSAD. Therefore I used the script file
> install-cdt.
> The installation works. But now, If I want to work with the plugins, I get
> serveral problems.
> 1. If I call the WSAD, I don't see any C++ plugins. I changed the
> permission
> bits of two directories (chmod 755 org.eclipse.cdt.cpp.docs.user
> org.eclipse.cdt.dstore.core) and now the plugins are active for my user.
> Do
> the two packages have false permission bits ?
> 2. I create a C++ project and import the payroll example to this project.
> Parsing works but If I try to edit some files, I get following message: An
> error has occured, when creating this editor ?
> 3. I try the C++ search, I get following error:
> java.lang.NullPointerException at
> org.eclipse.cdt.cpp.ui.api.ModelInterface.search ...
>
> What I'm doing wrong ?
>
> Regards,
> Volker
>
>
Re: Problems with cdt-eclipse-R1.0 [message #24002 is a reply to message #23837] Wed, 10 April 2002 11:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: masen.de.ibm.com

Jeff,
thanks for your information. Here some remarks to my described problems.

> > 1. If I call the WSAD, I don't see any C++ plugins. I changed the
> > permission bits of two directories (chmod 755
> org.eclipse.cdt.cpp.docs.user
> > org.eclipse.cdt.dstore.core) and now the plugins are active for my user.
> > Do the two packages have false permission bits ?

> It does appear that the 2 plugins you mention have different permissions
> than the rest of the plugins, but the permissions I'm seeing are 775 which
> are more liberal than 755 so I doubt your problems were due to permissions.
> The first thing to check whenever there is a problem with new plugins is the
> ..log file which is located in the workspace\.metadata directory (usually
> appears in the directory from which you invoked Eclipse or wsad in this
> case). This .log file should contain stack traces from any plugins that
> cause uncaught exceptions.

The two described plugins have the permissions 700 after the intallation
with
install_cdt. And I changed the permissions to 755.

> The .log file should contain the full stack trace (with line numbers
> hopefully)...If you post the .log file I'll take a quick look to see if the
> problem is something simple.

I will send you the stack trace offline.

Thanks,
Volker
Re: Problems with cdt-eclipse-R1.0 [message #24127 is a reply to message #24002] Wed, 10 April 2002 12:52 Go to previous messageGo to next message
Eclipse UserFriend
Thanks Volker,

I'll take a look at the .log and get back to you soon.

Jeff Turnham

"Volker Masen" <masen@de.ibm.com> wrote in message
news:a91msd$4oc$1@rogue.oti.com...
> Jeff,
> thanks for your information. Here some remarks to my described problems.
>
> > > 1. If I call the WSAD, I don't see any C++ plugins. I changed the
> > > permission bits of two directories (chmod 755
> > org.eclipse.cdt.cpp.docs.user
> > > org.eclipse.cdt.dstore.core) and now the plugins are active for my
user.
> > > Do the two packages have false permission bits ?
>
> > It does appear that the 2 plugins you mention have different permissions
> > than the rest of the plugins, but the permissions I'm seeing are 775
which
> > are more liberal than 755 so I doubt your problems were due to
permissions.
> > The first thing to check whenever there is a problem with new plugins is
the
> > ..log file which is located in the workspace\.metadata directory
(usually
> > appears in the directory from which you invoked Eclipse or wsad in this
> > case). This .log file should contain stack traces from any plugins that
> > cause uncaught exceptions.
>
> The two described plugins have the permissions 700 after the intallation
> with
> install_cdt. And I changed the permissions to 755.
>
> > The .log file should contain the full stack trace (with line numbers
> > hopefully)...If you post the .log file I'll take a quick look to see if
the
> > problem is something simple.
>
> I will send you the stack trace offline.
>
> Thanks,
> Volker
>
>
Re: Problems with cdt-eclipse-R1.0 [message #24143 is a reply to message #23837] Wed, 10 April 2002 16:27 Go to previous messageGo to next message
Eclipse UserFriend
Jeff has given some good pointers here but there is
one part of his answer that I would rephrase.
Shipping plugins like CDT with products is a very
effective way to ensure they work there, and
we certainly want that to happen, but we also think
it is important to allow users to "add on"
plugins that didn't originally come with a product.

Eclipse gives us a solid base to build this
capability. Its use of separate class loaders per plugin
gives a degree of isolation between unrelated plugins
that other techniques don't have.

Obviously, though, it isn't foolproof. We appreciate your
help figuring this out so we can do a better job,
and share that experience with other 3rd party plugin
builders so they can do a better job too.


Brian.
Re: Problems with cdt-eclipse-R1.0 [message #24169 is a reply to message #23794] Thu, 11 April 2002 12:55 Go to previous message
Eclipse UserFriend
Hi All,

Offline Volker and I discovered that Volker was actually using a driver of
WSAD that is based on Eclipse R2. Once we realized this, it was not
surprising that our release of CDT based on Eclipse R1.0 did not work
properly. The R1.0 release of CDT should work on the GA version of WSAD
(based on Eclipse R1.0) with the following caveat:

If you choose to install ClearCase during the install of WSAD, the CDT will
not work. This is because choosing this installation option prevents the
org.eclipse.vcm.core plugin from being installed, and the CDT has a
dependency on this plugin.

Thanks...(and thanks again Volker for bringing this to our attention).

Jeff.

"Volker Masen" <masen@de.ibm.com> wrote in message
news:a8uu21$3m1$1@rogue.oti.com...
> I installed the IBM Websphere Studio Application Developer Version 4.0.3
> (WSAD) on my Intel Linux environment. Therefore the according rpm-package
> was
> installed by the root user.
> Now, I get the cdt-eclipse-R1.0.zip file and install the plugins to the
> plugins directory of the WSAD. Therefore I used the script file
> install-cdt.
> The installation works. But now, If I want to work with the plugins, I get
> serveral problems.
> 1. If I call the WSAD, I don't see any C++ plugins. I changed the
> permission
> bits of two directories (chmod 755 org.eclipse.cdt.cpp.docs.user
> org.eclipse.cdt.dstore.core) and now the plugins are active for my user.
> Do
> the two packages have false permission bits ?
> 2. I create a C++ project and import the payroll example to this project.
> Parsing works but If I try to edit some files, I get following message: An
> error has occured, when creating this editor ?
> 3. I try the C++ search, I get following error:
> java.lang.NullPointerException at
> org.eclipse.cdt.cpp.ui.api.ModelInterface.search ...
>
> What I'm doing wrong ?
>
> Regards,
> Volker
>
>
Previous Topic:Feedback sought for default build invocation
Next Topic:WSAD debugger problem
Goto Forum:
  


Current Time: Thu May 08 05:13:34 EDT 2025

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

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

Back to the top