6 Replies Last post: Jan 13, 2009 7:14 PM by Erik Molekamp  
Michael Parmeley Novice 439 posts since
Jul 29, 2004
Currently Being Moderated

Feb 12, 2008 1:23 AM

Does the "Share Configuration" checkbox do anything?

I have setup a couple of web application projects for local  development with IntelliJ's Weblogic integration.

 

I would like to share this setup with some teammates, I see the Share Configuration checkbox in the Run configuration setup. However, when checking it nothing really happens. What is supposed to happen? Does it work? Is the configuration exported somewhere in XML or something?

 

The help just says checking that box enables sharing of the configuration. Doesn't really give much more details than that.

 

Anyone used this option before?

Anonymous OmniaMea User Apprentice 1,041 posts since
Aug 2, 2004
Currently Being Moderated
Feb 12, 2008 1:35 AM in response to: Michael Parmeley
Re: Does the "Share Configuration" checkbox do anything?

It stores your "Run" configuration in the project file (.ipr) instead of

  the workspace file (.iws).

When you share the project (for example through version control system),

you should not exchange .iws files.

 

TomP

 

Simon Knott Novice 456 posts since
Sep 9, 2002
Currently Being Moderated
Feb 14, 2008 7:26 PM in response to: Michael Parmeley
Re: Does the "Share Configuration" checkbox do anything?

We used to have the same problems with the IPR file pre-IDEA 6, but we've been successfully sharing them ever since then.  We've found that the benefits of sharing the IPR via VCS far outweigh the problems with the odd (and I mean odd) conflict.

 

What elements are getting updated so often that they are causing you problems?

Anonymous OmniaMea User Apprentice 1,041 posts since
Aug 2, 2004
Currently Being Moderated
Feb 20, 2008 1:47 AM in response to: Michael Parmeley
Re: Does the "Share Configuration" checkbox do anything?

Of course you need .iml in VC.

Never store .iws files in VC: these are personal workspaces.

 

Erik Molekamp Newbie 1 posts since
Jan 13, 2009
Currently Being Moderated
Jan 13, 2009 7:14 PM in response to: Anonymous OmniaMea User
Re: Does the "Share Configuration" checkbox do anything?

Hi,

om_anonymous wrote:

 

It stores your "Run" configuration in the project file (.ipr) instead of

  the workspace file (.iws).

 

I'm using IntelliJ version 7.0.4. I've experimented a bit with the "Share configuration" checkbox. It appears to work as indicated for individual configurations, but what I really wanted to do was share my default JUnit configuration with my team. I checked "Share configuration" on the default JUnit configuration, but still it remains in the .iws file. Is this a bug, or am I doing something wrong? As far as I can tell, this feature doesn't work for default configurations.

 

Regards,

Erik

More Like This

  • Retrieving data ...