File|Check Out Project From CVS issues

If I understand correctly, the File|Check Out Project From CVS action creates a new project based on repository content.

Why only CVS? Wouldn't it make sense to change File|New Project... to become a sub-menu (File|New Project) with some entries:


Tom

11 comments
Comment actions Permalink

Why not modify New Project Wizard to support the checkout from external
repository? This is going to save many buttons in File menu eventually...

"Thomas Singer" <idea@regnis.de> wrote in message
news:18279154.1058773655690.JavaMail.itn@is.intellij.net...

If I understand correctly, the File|Check Out Project From CVS action

creates a new project based on repository content.
>

Why only CVS? Wouldn't it make sense to change File|New Project... to

become a sub-menu (File|New Project) with some entries:

--------------------- > Check Out From CVS... > Check Out From VSS...]]>

>

Tom



0
Comment actions Permalink


"Evgueny Vigdorchik" <ven@intellij.com> a écrit dans le message de
news:bfg8co$j7f$1@is.intellij.net...

Why not modify New Project Wizard to support the checkout from external
repository? This is going to save many buttons in File menu eventually...


Good idea !

Guillaume


0
Comment actions Permalink

>Why not modify New Project Wizard to support the checkout from external
>repository? This is going to save many buttons in File menu eventually...

Yes, this is also a good idea. But static wizards are easier to
develop than dynamic ones (I speak from experience) :)

Tom

0
Comment actions Permalink

well... make N static wizards and then add one step to the front of it: "Select Source Control System (CVS/VSS/.../N)"?

0
Comment actions Permalink

+1 This is very cool. I keep thinking the project wizard is just not
complete, I think it should have everything including setting either EJB
or Web Apps. Since we're setting up a project and we might want to use
CVS, we should be able to pick a repository for the project, then pick
an existing file structure from the repository to use or create a new
one, therefore also checking in the project at the same time that we're
creating it.

R

Evgueny Vigdorchik wrote:

Why not modify New Project Wizard to support the checkout from external
repository? This is going to save many buttons in File menu eventually...

"Thomas Singer" <idea@regnis.de> wrote in message
news:18279154.1058773655690.JavaMail.itn@is.intellij.net...

>>If I understand correctly, the File|Check Out Project From CVS action


creates a new project based on repository content.

>>Why only CVS? Wouldn't it make sense to change File|New Project... to


become a sub-menu (File|New Project) with some entries:

>>>--------------------- >>Check Out From CVS... >>Check Out From VSS...]]>
>>
>>Tom



0
Comment actions Permalink

I think it should have everything including setting either EJB
or Web Apps.


I don't think, this would be a good solution. The wizard should only
show the basic things, so you can get the application to compile. If
more fine-tuning is necessary, you can use the File|Project Properties
dialog. Otherwise a novice would be easily drowned by the options.

Tom

0
Comment actions Permalink

Where would the functionality of checking out a new module and adding it to
the current project go, in that case? I use the check-out new project for
that (since it's been moved to the file menu), although I find the name a
bit misleading. I'd hate to have to create a dummy project and then discard
it only to be able to add an existing cvs module to the current project.

A way to handle both the check-out and the registering of the new module as
content for the current project would be welcome (probably a new option,
"add content from VCS" in the project modules section), right now one has to
do this steps independently (it's a bit unintuitive).

My 2c,
Andrei

"Evgueny Vigdorchik" <ven@intellij.com> wrote in message
news:bfg8co$j7f$1@is.intellij.net...

Why not modify New Project Wizard to support the checkout from external
repository? This is going to save many buttons in File menu eventually...

>

"Thomas Singer" <idea@regnis.de> wrote in message
news:18279154.1058773655690.JavaMail.itn@is.intellij.net...

If I understand correctly, the File|Check Out Project From CVS action

creates a new project based on repository content.
>

Why only CVS? Wouldn't it make sense to change File|New Project... to

become a sub-menu (File|New Project) with some entries:

> --------------------- > > Check Out From CVS... > > Check Out From VSS...]]>

>

Tom

>
>


0
Comment actions Permalink

Actually Andrei, you don't have to create a dummy project... unless I
misunderstood your question...

If you start IDEA, the Check Out Project is there for you to use. If
you do that and the CVS module you're checking out already has project
files, it asks you if you want to open it. So that solves the dummy
thing. If there is no project, it seems to check everything out, then
you have to add a new project in the directory of the module you just
checked out, which in turn you add to the CVS module.

It seems intuitive, though a bit hidden since there is no documentation
on that.

R

Andrei Oprea wrote:

Where would the functionality of checking out a new module and adding it to
the current project go, in that case? I use the check-out new project for
that (since it's been moved to the file menu), although I find the name a
bit misleading. I'd hate to have to create a dummy project and then discard
it only to be able to add an existing cvs module to the current project.

A way to handle both the check-out and the registering of the new module as
content for the current project would be welcome (probably a new option,
"add content from VCS" in the project modules section), right now one has to
do this steps independently (it's a bit unintuitive).

My 2c,
Andrei

"Evgueny Vigdorchik" <ven@intellij.com> wrote in message
news:bfg8co$j7f$1@is.intellij.net...

>>Why not modify New Project Wizard to support the checkout from external
>>repository? This is going to save many buttons in File menu eventually...
>>
>>"Thomas Singer" <idea@regnis.de> wrote in message
>>news:18279154.1058773655690.JavaMail.itn@is.intellij.net...
>>
>>>If I understand correctly, the File|Check Out Project From CVS action
>>
>>creates a new project based on repository content.
>>
>>>Why only CVS? Wouldn't it make sense to change File|New Project... to
>>
>>become a sub-menu (File|New Project) with some entries:
>>
>>>>>--------------------- >>>Check Out From CVS... >>>Check Out From VSS...]]>
>>>
>>>Tom
>>
>>



0
Comment actions Permalink

Actually Andrei, you don't have to create a dummy project... unless I
misunderstood your question...


It seems you start with the assumption that the project file is in cvs and
that all I want is to get it, and the files, on my local drive. My
configuration is a bit different, though: our project files are not stored
in cvs (and they're not in the project path). Instead, the project is built
locally from separate modules (each one a separate cvs module) that the
developer is working with at a certain time.

What I was talking about was an option to update the project at a later time
and have a new module added to it. For that, I need to be able to check out
the new module (that someone else added) and then enroll that as content in
the project.

For a while I've been using the CVS/check-out command. It was later moved to
the file menu and it seemed to make sense for some use cases, so I didn't
complain about it. But if the ability to check out cvs modules is tied to
the project creation I'm afraid I will have to use the command line cvs
again for checking out individual modules.

My argument is that there has to be a cvs check-out command outside project
creation, as the two might not be used together all the time. It used to be,
but then the cvs check-out moved to the file menu, and now people talk about
moving it to the new project wizard. Somehow, through this migration, some
of the usages have been lost and might end up not being supported by IDEA
anymore (which would be lame, IMO).

Andrei


0
Comment actions Permalink

Andrei,
As I see it, the situation you are describing deals more with how we will
organize the UI for registering modules in the project and not with project
creation itself. Indeed we have to think about registering separate modules
stored in CVS. However I think you will agree that the situation where the
whole project is stored in one CVS repository is more common and IMHO
deserves its place in project creation wizard.
Eugene

"Andrei Oprea" <aoprea@creditwave.com> wrote in message
news:bfh161$tue$1@is.intellij.net...

Actually Andrei, you don't have to create a dummy project... unless I
misunderstood your question...

>

It seems you start with the assumption that the project file is in cvs and
that all I want is to get it, and the files, on my local drive. My
configuration is a bit different, though: our project files are not stored
in cvs (and they're not in the project path). Instead, the project is

built

locally from separate modules (each one a separate cvs module) that the
developer is working with at a certain time.

>

What I was talking about was an option to update the project at a later

time

and have a new module added to it. For that, I need to be able to check

out

the new module (that someone else added) and then enroll that as content

in

the project.

>

For a while I've been using the CVS/check-out command. It was later moved

to

the file menu and it seemed to make sense for some use cases, so I didn't
complain about it. But if the ability to check out cvs modules is tied to
the project creation I'm afraid I will have to use the command line cvs
again for checking out individual modules.

>

My argument is that there has to be a cvs check-out command outside

project

creation, as the two might not be used together all the time. It used to

be,

but then the cvs check-out moved to the file menu, and now people talk

about

moving it to the new project wizard. Somehow, through this migration, some
of the usages have been lost and might end up not being supported by IDEA
anymore (which would be lame, IMO).

>

Andrei

>
>


0
Comment actions Permalink

"Evgueny Vigdorchik" <ven@intellij.com> wrote in message
news:bfh2q0$1km$1@is.intellij.net...

Andrei,
As I see it, the situation you are describing deals more with how we will
organize the UI for registering modules in the project and not with

project

creation itself. Indeed we have to think about registering separate

modules

stored in CVS. However I think you will agree that the situation where the
whole project is stored in one CVS repository is more common and IMHO
deserves its place in project creation wizard.
Eugene


I do agree with that, I just wanted to make sure you don't forget us poor
souls that use a different approach and ditch the check-out from all the
other places forcing us back to the command line. :)

Thx,
Andrei


0

Please sign in to leave a comment.