Eclipse user need some help ;-)

Hi, maybe You can help me with a few questions (I am Eclipse user..., I'm trying to use IDEA 8 ;), Mac OS X):
1) I can diff incoming changes,but I cannot update these files there. Where can I update only these files which I wont? Why I always must update whole project? Not only selected modules and files? I found some help topics but their aren't consistent with this IDEA version.....
2) In my project I have 2 modules from HEAD and 1 module from branch. In Eclipse I see next to project name from which VC is it. I cannot find any information about it in IDEA. Moreover, when I get CVS->Update directory... on the project from branch, I see window where I can update from "Default version". Which version is it? It looks like it show me changes from HEAD for whole project, not only for this 2 modules.
3) What synchronization do? In Eclipse it is used to compare files with VC. And here? Is in IDEA some kind of this view?
4) In Eclipse is the Navigator view where can I see i.e.: Maven target directory. Can I here too? Because in Project not.
5) Can I change sides in diff view?
6) I remove module from project, but when I try to commit, it shows me changes from this module. Any idea?
7) Can I see file version next to this file name?
8) When I wont to "Compare with...", I browse for revision which I am interested, check it, click OK and I've got this error: "Invalid cvs root: ". Then OK, and "Error: Revision ]]> does not exist in repository". Why not exist? After all it shows me this revision... And that's all... :/

For now this is all :)
Great thanks for any help!
Leszek

7 comments
Comment actions Permalink

Okay, a couple of answers:

2) In IntelliJ, you usually don't see SVN/CVS information. Also, usually people are either working on the head, or on a branch, and not on both, so an acceptable workaround is to create a checkout matching the SCM structure, ie a directory for each branch. I can imagine that this wouldn't work in your situation, and I haven't got a solution for it. This question does pop up a lot on the forum, so maybe you can make a feature request for it here: http://www.jetbrains.net/jira

3) Synchronization syncs IntelliJ's project structure with the files on disk, much like Eclipse F5 does. (I think it's exactly the same)

4) Are you looking for 'maven target directory' or the ']]>/target/classes' directory? If it's the latter, it's probably excluded from the project, which you can see in the project settings (it's marked with a red directory icon)

5) I don't think so.

7) No. I know you can see it in Eclipse, but I don't know why you want to see it. However, since I generally don't like :"You don't need it answers", I'd suggest doing the same as for point 2: Make a request for it!


I hope this has given you some answers, maybe others can help you with the rest...

Erik

0
Comment actions Permalink

Thank You for reply!


Okay, a couple of answers:

My AD.1) I've made jira issue. http://www.jetbrains.net/jira/browse/IDEA-20657

2) In IntelliJ, you usually don't see SVN/CVS information. Also, usually people are either working on the head, or on a branch, and not on both, so an acceptable workaround is to create a checkout matching the SCM structure, ie a directory for each branch. I can imagine that this wouldn't work in your situation, and I haven't got a solution for it. This question does pop up a lot on the forum, so maybe you can make a feature request for it here: http://www.jetbrains.net/jira

http://www.jetbrains.net/jira/browse/IDEA-20658

3) Synchronization syncs IntelliJ's project structure with the files on disk, much like Eclipse F5 does. (I think it's exactly the same)


Thanks!


4) Are you looking for 'maven target directory' or the '<project>/target/classes' directory? If it's the latter, it's probably excluded from the project, which you can see in the project settings (it's marked with a red directory icon)


Thanks!


5) I don't think so.

http://www.jetbrains.net/jira/browse/IDEA-20659

My AD.6) I need to set to "None" in this module in Setting->Version Control.

7) No. I know you can see it in Eclipse, but I don't know why you want to see it. However, since I generally don't like :"You don't need it answers", I'd suggest doing the same as for point 2: Make a request for it!


http://www.jetbrains.net/jira/browse/IDEA-20658


I hope this has given you some answers, maybe others can help you with the rest...

Erik


Thank You again.

Feel free to vote on these new features!

So, still question number 8...

0
Comment actions Permalink

For your item 2 in my experience IntelliJ wasn't really intended to keep all your files in one project. Usually you would have one project for each branch/tag/trunk.

I know Eclipse has that crazy single workspace that keeps all your projects in the same window but IntelliJ doesn't work best like that (as far as I can tell anyway. I guess since I hate the Eclipse way I have never really attempted to setup modules like that)

I prefer the way IntelliJ does it, I can't stand that Eclipse single workspace thing.

Personal preference I suppose.

0
Comment actions Permalink

For your item 2 in my experience IntelliJ wasn't really intended to keep all your files in one project. Usually you would have one project for each branch/tag/trunk.

I know Eclipse has that crazy single workspace that keeps all your projects in the same window but IntelliJ doesn't work best like that (as far as I can tell anyway. I guess since I hate the Eclipse way I have never really attempted to setup modules like that)

I prefer the way IntelliJ does it, I can't stand that Eclipse single workspace thing.

Personal preference I suppose.


Ok, maybe I should break my habits. But what, if I wont to work in the same time with 3 modules from HEAD and 1 module from branch? I don't wont to use 2 frames with 2 projects. It is unnecessary because they will have the same project settings. In your approach, how my branch module will see other modules?

0
Comment actions Permalink

I use a separate IntelliJ window for each branch and then another for trunk.

I commit my ".ipr" and ".iml" file (but not ".iws") so I don't have to recreate the project when I checkout a branch.

I have never ran across many situations where I need more than one branch of a project open. I can see needing to if you have several supported versions of your application and need to backport bug fixes but that is not the case for me.

I am not telling you to not do it like that just mentioning that doing it like you are may not be the intended use case of modules.

Do whatever works for you:-)

Eclipse users seem to have the most trouble with missing the single workspace if they switch to IntelliJ.

0
Comment actions Permalink

I use a separate IntelliJ window for each branch and then another for trunk.

I commit my ".ipr" and ".iml" file (but not ".iws") so I don't have to recreate the project when I checkout a branch.

I have never ran across many situations where I need more than one branch of a project open. I can see needing to if you have several supported versions of your application and need to backport bug fixes but that is not the case for me.

I am not telling you to not do it like that just mentioning that doing it like you are may not be the intended use case of modules.

Do whatever works for you:-)

Eclipse users seem to have the most trouble with missing the single workspace if they switch to IntelliJ.


So, if I have two frames. One with module with specified branch which depends on modules in second frame. Will my modules see modules from second frame? Do compile in first frame run correctly?

Thanks

0
Comment actions Permalink

Different frames goes for different projects.
Compile time dependencies are defined in File | Project Structure, please have a look there.

In general, branches concept is separate and not related to modules concept and not related to how it is compiled=).
You can have any of your directories (inside project) switched to any branch.

I think you should have a single project for all your modules and checkout modules or switch them to corresponding branches.

You can either

a) specify that the whole project is under Subversion/CVS:
     <Project Root> - Subversion (CVS)
     in Settings | Version Control

then in Changes | Local you will see modules from other (then checkout root) branches "switched"

b) specify several mappings, for each module

In either case, modules would be updated/can be used to commit to
correct branches.

0

Please sign in to leave a comment.