Sharing Projects 922

Hi,

As I understand it..
the 3.x manual states that if I want to share project setting with others I
should enable this by adding the project .iws .ipr files to CVS.
Furthermore I should select the "Store all paths relative to the project
file" checkbox in Project Properties.

See: http://www.intellij.com/docs/help/project/propSharingProjects.html

I cannot find this "Store all paths relative to the project file" checkbox
any more. and the new .iml file contain

]]>

So how do I have to edit the .iml file to set the relativePath ?

Now in the 922 there is an .iml .ipr .iws file. I have had a look at them,
is it correct that I should only add the .iml file to CVS to enable
sharing?


Peter Lerche
http://easyspeedy.com

1 comment
Comment actions Permalink

I cannot find this "Store all paths relative to the project file" checkbox
any more. and the new .iml file contain


It's temporarily disappeared from the UI but we will restore it.

<module version="4" relativePaths="false">

>

So how do I have to edit the .iml file to set the relativePath ?


Just change "false" to "true" in the .iml file.
BTW even if this option is set to false, most of the paths are stored
relative. Actually all paths which are under the project's directory are
always stored relative. If you enable "Store all paths relative to the
project file" option IDEA will store all paths on the same drive as relative
(so they can be of form "../../someDir/anotherDir").

>

Now in the 922 there is an .iml .ipr .iws file. I have had a look at them,
is it correct that I should only add the .iml file to CVS to enable
sharing?



It's recommended to share .iml and .ipr files.
It's not recommended to share .iws file. It contains information like last
opened files, windows layout etc.

--
Valentin Kipiatkov
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"


"Peter Lerche" <peter@easyspeedy.com> wrote in message
news:bjs4uj$q8g$1@is.intellij.net...

Hi,

>

As I understand it..
the 3.x manual states that if I want to share project setting with others

I

should enable this by adding the project .iws .ipr files to CVS.
Furthermore I should select the "Store all paths relative to the project
file" checkbox in Project Properties.

>

See: http://www.intellij.com/docs/help/project/propSharingProjects.html

>

I cannot find this "Store all paths relative to the project file" checkbox
any more. and the new .iml file contain

>

<module version="4" relativePaths="false">

>

So how do I have to edit the .iml file to set the relativePath ?

>

Now in the 922 there is an .iml .ipr .iws file. I have had a look at them,
is it correct that I should only add the .iml file to CVS to enable
sharing?

>
>

Peter Lerche
http://easyspeedy.com



0

Please sign in to leave a comment.