Use case: working on more than 1 project in the same time

Hello again,
I am wondering if you can help me with the use case of working in the same time on more than 1 project.

In our company we're using in most cases Eclipse. As probably you know, there is a workspace where you can have many separated projects. We are using Maven. We have i.e. main project for the client and a few internal libraries we are developed constantly.

The problem for me is that I need to have opened IntelliJ with each project/library I want to develop and use in main project. If I make a change in a library, I have to 'mvn source:jar install' it and than use it in main project. In Eclipse I can have this library opened in a workspace, make change and just run main project and use it.

Do you have any solutions for easy to use case I described?

Thanks,
Leszek

7 comments
Comment actions Permalink

Hello Leszek,

In IntelliJ IDEA, you can configure this as a multi-module project and have
all the library modules as the dependencies of the main project.

Hello again,
I am wondering if you can help me with the use case of working in the
same time on more than 1 project.
In our company we're using in most cases Eclipse. As probably you
know, there is a workspace where you can have many separated projects.
We are using Maven. We have i.e. main project for the client and a few
internal libraries we are developed constantly.

The problem for me is that I need to have opened IntelliJ with each
project/library I want to develop and use in main project. If I make a
change in a library, I have to 'mvn source:jar install' it and than
use it in main project. In Eclipse I can have this library opened in a
workspace, make change and just run main project and use it.

Do you have any solutions for easy to use case I described?

Thanks,
Leszek
---
Original message URL:
http://devnet.jetbrains.net/message/5265901#5265901

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Yes, but this has huge disadvantage for me.

Assume you have 5 modules (logically separated projects). When you update VCS, you have to update everything. It's really hard to know and take control what is changed on every module.
So this is not a good solution.

0
Comment actions Permalink

Hello Leszek,

I don't quite understand your argument. If you are working on multiple modules
which depend on each other, you have to keep all of them up to date anyway.
I'm not sure how a specific way of arranging the modules in an IDE can make
it easier or harder to keep track of what's going on.

In IDEA, you can either update each module individually (and see the files
that have changed in only the module you've updated), or use the Update Project
action to update all projects at once and use "Group by Packages" button
to separate the changes in different parts of the project.

Yes, but this has huge disadvantage for me.

Assume you have 5 modules (logically separated projects). When you
update VCS, you have to update everything. It's really hard to know
and take control what is changed on every module.

So this is not a good solution.


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

You are right I need to be always up to date.
But I see only option for updating entire project, so in this case I don't feel comfortable with all changes, because I can see too many of them.

I am glad to hear I can update only 1 module. Could you write me how to achieve it? Unfortunately, I never found this option.

If I can also ask. Is there any possibility to i.e. update only some part of files? Or for some part of them set them to be merged without applying any change?

0
Comment actions Permalink

Hello Leszek,

You are right I need to be always up to date.
But I see only option for updating entire project, so in this case I
don't feel to be informed about all changes.
I am glad to hear I can update only 1 module. Could you write me how
to achieve it? Unfortunately, I never found this option.


Right click any directory and select Version Control | Update Directory action.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Ok, I saw this feature ;-), but this is not I would like to have.

The great thing is Incoming view in Changes panel. It gives really good information what was changed and by who. Updating directory will just... update directory without such benefits. I can see what was changed in Version Control panel, but I loose information who makes this change and nice easy-to-run diff as I have in Incoming view.

I see it is possible to have Incoming panel separated by modules using Filter by Structure option. Is it somehow possible to update each module on this panel separately instead of "Update project" button?

And again:
"If I can also ask. Is there any possibility to i.e. update only some part of files? Or for some part of them set them to be merged without applying any change?"

0
Comment actions Permalink

> Is there any possibility to i.e. update only some part of files?

this is not supported by svn
so how can IDEA do this?

you can manually update some part of file: invoke diff with latest version, apply changes you need
or the same in slightly different way: select part of file, invoke diff with svn -> apply all changes


> for some part of them set them to be merged without applying any change?
IDEA merge sucks
use tortoise merge instead: there you have options like "use my block" "use my block after/before repository block"
again, it's manual process

0

Please sign in to leave a comment.