[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-cvs-dev] Specifying Default Options For New Project Wizard

Hi,

I'm working on an Eclipse plugin for a build system that I am working
with and I currently have several packages in a CVS repository. I
would like to checkout a package from the CVS repository and have it
automatically associated with my project type. This works very well
when I use "Check out as.." and select "New Project Wizard", but there
are still a few caveats. So I'm wondering if you have any suggestions
on how to fix them.

1) The project name in eclipse must be the same as the folder name in
CVS. I can get around this by manually typing in the name, but that is
a bit tedious. Is there a way to pragmatically pass the folder name to
the new project wizard? I tried using the "Check out as.." and
selecting only "New Project" (without the wizard), but then I cannot
associate it with my project type.

2) I also need the entire folder structure to be remembered. For
example, if I want to check out package Foo located in
CVS:/Packages/Tools/Foo I want it to be saved to
EclipseWorkspace:/Packages/Tools/Foo and not EclipseWorksapce:/Foo. I
can again do this manually by changing the default save path, but it
is bit of an annoyance. Is it possible to do this pragmatically?

Thank you very much in advance!

--
Cheers,
Karol Krizka
http://www.krizka.net