Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » CDT and eclipse command line argument "-configuration"
CDT and eclipse command line argument "-configuration" [message #221388] Thu, 07 August 2008 01:51 Go to next message
Eclipse UserFriend
Hello All,

Could someone explain me one interesting case in Eclipse 3.4 (I think it
does not matter the Eclipse version) behaviour.

I have installed Eclipse 3.4 (Linux 32 bit) and unzipped to eclipse folder
CDT 5.0 (+ all prerequisites).
Now, in my case, there are two options to start Eclipse from command line:
1. Without any parameters, like this: > ./eclipse
2. With configuration parameter: > ./eclipse -configuration ~/.eclipse

As I correctly understood in the first case the "configuration" folder
(under eclipse installed directory) will be used to store all the
configuration.
In the second case ~/.eclipse directory will be used.
My next step to import project from cvs to my workspace.
In the first case of eclipse start I do not have any problems with
org.eclipse.cdt imports. But in second case (wich are very important for
me) all the org.eclipse.cdt.* imports cannot be resolved.
In the first case I can see the icon of CDT (in Help -> About Eclipse SDK)
which shows that it was configured correctly, but in secon case I do not
see such icon (in the same time all org.eclipse.cdt.* plug-ins are present
in Help -> Plug-in Details).

I have read manual about "-configuration" command line argument but still
it is not clear for me why I have difference during eclipse start up?
Why cdt does not configured in the same way as in case of "-configuration
~/.eclipse" parameter in command line?

Thanks in advance for the help!
Vasily Lukichev
Re: CDT and eclipse command line argument "-configuration" [message #221431 is a reply to message #221388] Thu, 07 August 2008 14:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse.kichwacoders.com

In the case which is not working, perhaps you can try checking Preferences >
Plug-in Development > Target Platform.
The Target Platform should contain the necessary *cdt* plugins so the
imports can be resolved.
If the plugins are there, then there is something wrong with your project
settings.
If the plugins are not there, there is something wrong with your
configuration.

--
Tracy Miranda
www.kichwacoders.com


"Vasily Lukichev" <luckich@inbox.ru> wrote in message
news:811a1fb11da797e78539660d2a8cd555$1@www.eclipse.org...
> Hello All,
>
> Could someone explain me one interesting case in Eclipse 3.4 (I think it
> does not matter the Eclipse version) behaviour.
>
> I have installed Eclipse 3.4 (Linux 32 bit) and unzipped to eclipse folder
> CDT 5.0 (+ all prerequisites).
> Now, in my case, there are two options to start Eclipse from command line:
> 1. Without any parameters, like this: > ./eclipse
> 2. With configuration parameter: > ./eclipse -configuration ~/.eclipse
>
> As I correctly understood in the first case the "configuration" folder
> (under eclipse installed directory) will be used to store all the
> configuration.
> In the second case ~/.eclipse directory will be used.
> My next step to import project from cvs to my workspace.
> In the first case of eclipse start I do not have any problems with
> org.eclipse.cdt imports. But in second case (wich are very important for
> me) all the org.eclipse.cdt.* imports cannot be resolved.
> In the first case I can see the icon of CDT (in Help -> About Eclipse SDK)
> which shows that it was configured correctly, but in secon case I do not
> see such icon (in the same time all org.eclipse.cdt.* plug-ins are present
> in Help -> Plug-in Details).
>
> I have read manual about "-configuration" command line argument but still
> it is not clear for me why I have difference during eclipse start up?
> Why cdt does not configured in the same way as in case of "-configuration
> ~/.eclipse" parameter in command line?
>
> Thanks in advance for the help!
> Vasily Lukichev
>
>
Re: CDT and eclipse command line argument "-configuration" [message #221502 is a reply to message #221431] Fri, 08 August 2008 03:54 Go to previous messageGo to next message
Eclipse UserFriend
Hi Tracy,

Thank you for the advice.

For the case which does not work:
The plug-ins do not present in Preferences > Plug-in Development > Target
Platform. Furthemore, I have also unpacked wtp-wst-sdk 3.0 archive and
imports for it were not resolved also. There was no info in Target
Platform. In menu Help -> About Eclipse SDK there was no icon which
corresponds to it. Actually, I did not find any info about my plug-ins
which I have unpacked after eclipse unzipping. Why? In the same time I see
them in Help -> About Eclipse SDK -> Plug-in details.

But It is possible to add plug-ins from file system manually at Target
Platfrorm > Plug-ins tab. I have specified directory with all my unpacked
plug-ins (../eclipse/plugins) and now it works. All org.eclipse.cdt* were
added correctly and as I can see from the plug-in list all of them were
added to the this list. But in that case I have duplication of plug-ins
since I have added them from "some another" folder/location.
Still the main question is why they were not added in the begining, during
first eclipse start up?

You wrote:
> If the plugins are not there, there is something wrong with your
> configuration.

What can be wrong with configuration? I did nothing except installation of
eclipse + plug-ins and run eclipse from command line ".eclipse/eclipse
-configuration ~/.eclipse"

It seems that the problem is not in plug-ins but in Eclipse itself. I am
not sure but it only one my guess...

Thanks for help.

Vasily.
Re: CDT and eclipse command line argument "-configuration" [message #221637 is a reply to message #221502] Sun, 10 August 2008 15:23 Go to previous message
Eclipse UserFriend
Hi All,

I will be very grateful if someone provide me with a link to explanation
for "configuration" argument in command line (except Workbench User Guide
-> Tasks -> Running Eclipse).

Thanks.
Previous Topic:!!!help!!! - how to disable auto-indent ???
Next Topic:Context View
Goto Forum:
  


Current Time: Mon Nov 03 16:03:16 EST 2025

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

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

Back to the top