Home » Eclipse Projects » Eclipse Platform » Starting Eclipse with an external workspace and external plugins
Starting Eclipse with an external workspace and external plugins [message #145799] |
Fri, 17 October 2003 10:34  |
Eclipse User |
|
|
|
Originally posted by: tomi.schuetz.swisslife.ch
Hello All
I would like to start eclipse in the way, that I can point to an
external workspace and external thirdparty plugins.
What I have now is the following:
Eclipse installation
.
|
`-Eclipse
|
+-2.1.1
| |
| `-eclipse
| |
| +-feautres
| |
| +-plugins
| |
| +-links
| | |
| | `plugins.link
| |
| .
|
+-3.0.0-M4
| |
| `-eclipse
| |
| +-feautres
| |
| +-plugins
| |
| +-links
| | |
| | `plugins.link
| |
. .
In the file 'plugins.link' I'm pointing to a directory, where I have
installed thirdparty plugins. The content is:
path=C:/Programme/Eclipse/Thirdparty-Plugins
The structure of the Thirdparty-Plugins directory looks like this:
.
|
`-Thirdparty-Plugins
|
`-eclipse
|
`-plugins
|
+-com.sysdeo.eclipse.tomcat_2.1.0
|
+-com.objfac.xmleditor_0.2.8
|
.
Finally I have a workspace, which looks like the following:
.
|
`-<VOB>
|
+-<departement>
| |
| `-<group>
| |
| `-<project>
| |
| +-build
| |
| +-src
| |
| +-lib
| |
| +-docs
| |
| +-classes
| |
| +-.classpath
| |
. `-.project
This workspace has been used whith prior eclipse installation, that's
why I have a .classpath and a .project file in it.
No I'm starting eclipse through a little batch file:
C:\Programme\Eclipse\2.1.1\eclipse\eclipse.exe
-data Z:\VOB\departement\group\project
Unfortunately this doesn't work. When I'm starting eclipse with this
batch file, I can't see the project in the ressource perspective neither
in the java perspective.
If I'm trying to import the project I get an error with a short message:
Invalid Project Description:
Z:\VOB\departement\group\project and
Z:\VOB\departement\group\project overlap.
If I'm not pointing to an existing project, I don't have any problems
and everything works fine.
My main question is, if I can point to an existing project and how to do
this.
Thanks a lot in advance.
Best regards,
Tomi
|
|
| | | |
Re: Starting Eclipse with an external workspace and external plugins [message #146448 is a reply to message #146429] |
Mon, 20 October 2003 04:57   |
Eclipse User |
|
|
|
Originally posted by: tomi.schuetz.swisslife.ch
Daniel Megert wrote:
> Tomi Schuetz wrote:
>
>> Hi again
>>
>> Firstly thanks a lot for the quick response.
>>
>> I have to try to point out my question again. It still doesn't work
>> and I have the feeling, that this might be a misunderstanding.
>>
>> I can reproduce my problem/question/misunderstanding, by going through
>> the following steps:
>>
>> 1)
>> I download the current eclipse version and install it somewhere. I
>> start eclipse
>
>
> How? Do you use -data Z:\VOB\departement\group here? You should if you
> use -data Z:\VOB\departement\group later.
I didn't use -data in the first place. I guess this is one of my
misunderstandings.
>
>> and create a java project under Z:\VOB\departement\group\project. In
>> this case 'group' is my workspace and 'project' is my project itself.
>>
>> 2)
>> If I start my eclipse with -data Z:\VOB\departement\group and I open
>> the java perspective, I don't see anything. I can import the project
>> and then it works fine.
>
>
> This should work assuming you used -data Z:\VOB\departement\group in
> step one. If you did not use -data in step one then don't use it here
> either.
>
>> If I start eclipse with -data Z:\VOB\departement\group\project, I also
>> don't see anything but then I even can't import the java project.
>
>
> This cannot work since -data has to point to the workspace
>
>>
>> So far, I understand, that I can start eclipse by using -data only to
>> point to the workspace but not to the project itself.
>
>
> Correct.
>
> If you start eclipse in step 1) with -data X and also in step 2) then
> this should work i.e. you should see the project. If this does not work
> then please file a bug report with containing the build Id, steps to
> reproduce and stack traces (see .log) if any.
After I understand the idea, I see, that it works fine. When I created
the first projects, I didn't use -data and therefor it didn't work after
I changed the startup procedure of eclipse. Now everything works fine! :-)
>
> Dani
>
Thanks a lot for the fast and clear reply.
Best regards,
Tomi
PS: Thanks a lot for all the work your doing within the eclipse project!
It's really a great tool!
|
|
|
Re: Starting Eclipse with an external workspace and external plugins [message #147049 is a reply to message #146429] |
Tue, 21 October 2003 04:50   |
Eclipse User |
|
|
|
HI,
Why should we use even in the first step with -data option?
Why can't it work as Tomi wrote??
I really don't understand.. I would be thankful if you are a little bit
clear of the eclipse startup functionalities.
one interesting thing is ,I did almost same as Tomi wrote,And
-it works fine if I checkout a new project from a repository..
-OR if there exists already some projects in the specified directory with
the option "-data".
-But if I tried to create new projects then it doesn't work..I get the same
error as Tomi wrote..
Thanks in advance,
Regards,
Jelda
"Daniel Megert" <daniel.megert@gmx.net> schrieb im Newsbeitrag
news:bn065o$hsu$1@eclipse.org...
> Tomi Schuetz wrote:
>
> > Hi again
> >
> > Firstly thanks a lot for the quick response.
> >
> > I have to try to point out my question again. It still doesn't work
> > and I have the feeling, that this might be a misunderstanding.
> >
> > I can reproduce my problem/question/misunderstanding, by going through
> > the following steps:
> >
> > 1)
> > I download the current eclipse version and install it somewhere. I
> > start eclipse
>
> How? Do you use -data Z:\VOB\departement\group here? You should if you
> use -data Z:\VOB\departement\group later.
>
> > and create a java project under Z:\VOB\departement\group\project. In
> > this case 'group' is my workspace and 'project' is my project itself.
> >
> > 2)
> > If I start my eclipse with -data Z:\VOB\departement\group and I open
> > the java perspective, I don't see anything. I can import the project
> > and then it works fine.
>
> This should work assuming you used -data Z:\VOB\departement\group in
> step one. If you did not use -data in step one then don't use it here
> either.
>
> > If I start eclipse with -data Z:\VOB\departement\group\project, I also
> > don't see anything but then I even can't import the java project.
>
> This cannot work since -data has to point to the workspace
>
> >
> > So far, I understand, that I can start eclipse by using -data only to
> > point to the workspace but not to the project itself.
>
> Correct.
>
> If you start eclipse in step 1) with -data X and also in step 2) then
> this should work i.e. you should see the project. If this does not work
> then please file a bug report with containing the build Id, steps to
> reproduce and stack traces (see .log) if any.
>
> Dani
>
|
|
|
Re: Starting Eclipse with an external workspace and external plugins [message #147172 is a reply to message #147049] |
Tue, 21 October 2003 06:38  |
Eclipse User |
|
|
|
Originally posted by: daniel.megert.gmx.net
jelda wrote:
>HI,
>Why should we use even in the first step with -data option?
>Why can't it work as Tomi wrote??
>I really don't understand.. I would be thankful if you are a little bit
>clear of the eclipse startup functionalities.
>
>
I think it is not rocket science ;-). You can start Eclipse without
-data in which case it places the workspace in some default location. Of
course, if you want that workspace to be used next time you start
Eclipse you have to either use no -data again or use -data <location>
where <location> is the correct location of the workspace that has been
created when launching without -data.
>one interesting thing is ,I did almost same as Tomi wrote,And
>-it works fine if I checkout a new project from a repository..
>-OR if there exists already some projects in the specified directory with
>the option "-data".
>-But if I tried to create new projects then it doesn't work..I get the same
>error as Tomi wrote..
>
>
Strange. File a bug report with steps to reproduce.
>Thanks in advance,
>Regards,
>Jelda
>
>"Daniel Megert" <daniel.megert@gmx.net> schrieb im Newsbeitrag
>news:bn065o$hsu$1@eclipse.org...
>
>
>>Tomi Schuetz wrote:
>>
>>
>>
>>>Hi again
>>>
>>>Firstly thanks a lot for the quick response.
>>>
>>>I have to try to point out my question again. It still doesn't work
>>>and I have the feeling, that this might be a misunderstanding.
>>>
>>>I can reproduce my problem/question/misunderstanding, by going through
>>>the following steps:
>>>
>>>1)
>>>I download the current eclipse version and install it somewhere. I
>>>start eclipse
>>>
>>>
>>How? Do you use -data Z:\VOB\departement\group here? You should if you
>>use -data Z:\VOB\departement\group later.
>>
>>
>>
>>>and create a java project under Z:\VOB\departement\group\project. In
>>>this case 'group' is my workspace and 'project' is my project itself.
>>>
>>>2)
>>>If I start my eclipse with -data Z:\VOB\departement\group and I open
>>>the java perspective, I don't see anything. I can import the project
>>>and then it works fine.
>>>
>>>
>>This should work assuming you used -data Z:\VOB\departement\group in
>>step one. If you did not use -data in step one then don't use it here
>>either.
>>
>>
>>
>>>If I start eclipse with -data Z:\VOB\departement\group\project, I also
>>>don't see anything but then I even can't import the java project.
>>>
>>>
>>This cannot work since -data has to point to the workspace
>>
>>
>>
>>>So far, I understand, that I can start eclipse by using -data only to
>>>point to the workspace but not to the project itself.
>>>
>>>
>>Correct.
>>
>>If you start eclipse in step 1) with -data X and also in step 2) then
>>this should work i.e. you should see the project. If this does not work
>>then please file a bug report with containing the build Id, steps to
>>reproduce and stack traces (see .log) if any.
>>
>>Dani
>>
>>
>>
>
>
>
>
|
|
|
Goto Forum:
Current Time: Tue Jul 08 20:35:31 EDT 2025
Powered by FUDForum. Page generated in 0.04809 seconds
|