Automatically add project to workspace [message #52768] |
Sat, 16 April 2005 11:16  |
Eclipse User |
|
|
|
Originally posted by: Andreas.Fester.agile.com
Hi,
I am trying to migrate our proprietary build system to Eclipse.
We have a structure where one source tree contains many packages which
result in different jar files.
Creating appropriate sub directories within the workspace directory
for each project with the proper .classpath and .project files seems
easy, because they are XML and can easily be created from our proprietary
build description.
But: How can the projects then be added to the workspace? The only way
I found was to import each of the different projects manually. Because
our source is divided into many small sub projects (about 70), this
does not really make sense :-( It seems that Eclipse stores information
about the projects which are part of a workspace in some binary files.
So, is there any way to automatically import a large number of projects
into a workspace?
Thanks & best Regards,
Andreas
|
|
|
|
|
Re: Automatically add project to workspace [message #60311 is a reply to message #53078] |
Sun, 01 May 2005 18:13  |
Eclipse User |
|
|
|
If you use maven, you can create an eclipse project for the files in a
maven project by using the eclipse plugin, and simply typing:
maven eclipse
benedict
Andreas Fester wrote:
> Hi Marie,
>
> thanks for your input; I tried it, but unfortunately the KDE Filemanager
> on Linux does not seem to cooperate with the Eclipse file tree :-(
>
> But: I just tried Eclipse 3.1M6, and found that it has a much better
> Projects Import user interface which allows to select more than one
> project to import at the same time! So this seems to be a reasonable
> solution.
>
> Of course the best solution would be if the workspace could be
> created automatically, and the projects be added automatically;
> so if anyone still has other ideas of how to achieve this I am
> still interested ...
>
> Best Regards,
>
> Andreas
>
>
>>Play around with drag & drop. Dragging files from the gui file manager
>>of your choice into the graphical file tree in Eclipse does a
>>surprisingly good job of automating many tasks. Try it with one of the
>>files/folders involved just to test, then if it works you can select all
>>of the projects involved and drag and drop in one motion. I'm not
>>positive this will work, but you can give it a try.
>
> [...]
>
|
|
|
Powered by
FUDForum. Page generated in 0.08300 seconds