If you put source, libraries etc files in directory with ipr file all path
will be relative $PROJECT_DIR$

/projectRoot
  /src
  /classes
  /lib
  project.ipr
  project.iws

If you get absolute path - you not easely setuped your project. That you
think?
So, if you want that all path are relative - put ipr file to root of all
files used in project, otherwise - path will be absolute.

Thanks.
"Kevin Henrikson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> +1
> Yes this is a big issue that has come up before.  We really need all to
get a
> better separation for the project file so it can be checked into source
control
> and shared.  Right now we check this in to sour control but all the
developers
> need to have it checked out so things like shared jars are properly mapped
but
> the ability for IDEA to "remember" settings, curser position and projects
is
> also in the same file.
> We also have had the issue come up where the user preferences and settings
> should be stored in user's home directory in a ".idea" directory or
something.
> This way the project file will only contain the real data for the project
setup.
> All the project *state* and nice "remember" where my curser and what files
I had
> opened should be stored in a user's directory.
> Once we get this we can install a single instance of IDEA in a shared area
so
> all the developers can use the same copy.  This will help us keep all our
> developers on the same version of IDEA and make sure upgrades are simple
and
> fast.
>
>
> -kevin
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Barry Kaplan
> > Sent: Wednesday, June 26, 2002 3:02 PM
> > To: [EMAIL PROTECTED]
> > Subject: [Eap-bugs] 629: Hard coded paths
> >
> >
> > I just got done checking out my project from CVS. I was not able to
> > check it out into exactly the same directory where the project was
> > initially created. Painfully, I just spent a good deal of time chasing
> > down all the hard coded paths.
> >
> > These paths where not *just* in the idea/config files, but also in the
> > project file itself. This essentially makes idea projects
> > non-transportable in team development.
> >
> > I posted this earlier and got minimal responses. Is it really the case
> > that hard coding of paths is a bother to most teams?
> >
> > Anyway, below is an excerpt from the idea project that I checked out of
CVS:
> >
> >
> >
> > <project version="2">
> >    <component name="ProjectRootManager" version="2">
> >      <jdk name="java version &quot;1.4.0&quot;" />
> >      <library name="trading" />
> >      <projectPath>
> >        <root type="composite">
> >          <root type="simple"
url="file://C:/abwg/bkaplan/its/all/trading" />
> >          <root type="simple"
> > url="file://C:/abwg/bkaplan/its/all/infrastructure" />
> >        </root>
> >      </projectPath>
> >      <sourcePath>
> >        <root type="composite">
> >          <root type="simple"
> > url="file://C:/abwg/bkaplan/its/all/trading/src" />
> >          <root type="simple"
> > url="file://C:/abwg/bkaplan/its/all/trading/src-api" />
> >          <root type="simple"
> > url="file://C:/abwg/bkaplan/its/all/trading/test/unit" />
> >          <root type="simple"
> > url="file://C:/abwg/bkaplan/its/all/trading/test-api/unit" />
> >          <root type="simple"
> > url="file://C:/abwg/bkaplan/its/all/infrastructure/util/src" />
> >          <root type="simple"
> > url="file://C:/abwg/bkaplan/its/all/infrastructure/util/test/unit" />
> >          <root type="simple"
> > url="file://C:/abwg/bkaplan/its/all/infrastructure/test/src" />
> >          <root name="trading" rootType="sourcePath" type="library" />
> >          <root name="java version &quot;1.4.0&quot;"
> > rootType="sourcePath" type="jdk" />
> >          <root type="simple"
> > url="file://C:/abwg/bkaplan/its/all/infrastructure/jms/src" />
> >          <root type="simple"
> > url="file://C:/abwg/bkaplan/its/all/infrastructure/jms/test/unit" />
> >          <root type="simple"
> > url="file://C:/abwg/bkaplan/its/all/infrastructure/server/src" />
> >          <root type="simple"
> > url="file://C:/abwg/bkaplan/its/all/infrastructure/service/src" />
> >          <root type="simple"
> > url="file://C:/abwg/bkaplan/its/all/infrastructure/service/test/unit" />
> >          <root type="simple"
> > url="file://C:/abwg/bkaplan/its/all/infrastructure/transaction/src" />
> >          <root type="simple"
> >
url="file://C:/abwg/bkaplan/its/all/infrastructure/transaction/test/unit" />
> >          <root type="simple"
> > url="file://C:/abwg/bkaplan/its/all/infrastructure/transport/src" />
> >          <root type="simple"
> > url="file://C:/abwg/bkaplan/its/all/infrastructure/transport/test/unit"
/>
> >          <root type="simple"
> > url="file://C:/abwg/bkaplan/its/all/infrastructure/persistence/src" />
> >          <root type="simple"
> >
url="file://C:/abwg/bkaplan/its/all/infrastructure/persistence/test/unit" />
> >        </root>
> >      </sourcePath>
> >
> > _______________________________________________
> > Eap-bugs mailing list
> > [EMAIL PROTECTED]
> > http://lists.jetbrains.com/mailman/listinfo/eap-bugs
> >
> >
>
>
>


_______________________________________________
Eap-bugs mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-bugs

Reply via email to