Problems with cdt-eclipse-R1.0 [message #23794] |
Tue, 09 April 2002 10:32  |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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 #24169 is a reply to message #23794] |
Thu, 11 April 2002 12:55  |
Eclipse User |
|
|
|
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
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.26780 seconds