Absolute path for Maven: com.sun:tools:1.5.0 in IPR file

Under Windows, with 9920, the following path appeared in the project's IPR file:
I was previously under OSX and don't remember having encountered absolute path problem before.

My project IPR file get somehow "corrupted" in this way:

   <library name="Maven: com.sun:tools:1.5.0">
      <CLASSES>
        <root url="jar://d:/java/jdk/1.6.0_16/jre/../lib/tools.jar!/" />
        <root url="jar://d:/java/jdk/1.6.0_16/jre/../lib/tools.jar!/" />
        <root url="jar://d:/java/jdk/1.6.0_16/jre/../lib/tools.jar!/" />
        <root url="jar://d:/java/jdk/1.6.0_16/jre/../lib/tools.jar!/" />
        <root url="jar://d:/java/jdk/1.6.0_16/jre/../lib/tools.jar!/" />
      </CLASSES>
      <JAVADOC>
        <root url="jar://d:/java/jdk/1.6.0_16/jre/../lib/tools-javadoc.jar!/" />
        <root url="jar://d:/java/jdk/1.6.0_16/jre/../lib/tools-javadoc.jar!/" />
        <root url="jar://d:/java/jdk/1.6.0_16/jre/../lib/tools-javadoc.jar!/" />
        <root url="jar://d:/java/jdk/1.6.0_16/jre/../lib/tools-javadoc.jar!/" />
        <root url="jar://d:/java/jdk/1.6.0_16/jre/../lib/tools-javadoc.jar!/" />
      </JAVADOC>
      <SOURCES>
        <root url="jar://d:/java/jdk/1.6.0_16/jre/../lib/tools-sources.jar!/" />
        <root url="jar://d:/java/jdk/1.6.0_16/jre/../lib/tools-sources.jar!/" />
        <root url="jar://d:/java/jdk/1.6.0_16/jre/../lib/tools-sources.jar!/" />
        <root url="jar://d:/java/jdk/1.6.0_16/jre/../lib/tools-sources.jar!/" />
        <root url="jar://d:/java/jdk/1.6.0_16/jre/../lib/tools-sources.jar!/" />
      </SOURCES>
    </library>


One thnig is the absolute path that other member of the team won't be able to use, another, not related,  is that Idea adds several time the same lines for a couple of library, including tools.jar and testng.jar for me.
While it makes absolutely no difference in pratice afaik, when you share Idea's project files, it's quite annoying.

Please sign in to leave a comment.