Hello All,

not sure if it is gradle idea plugin problem or Intellij problem.

I've noticed a strange behaviour of Intellij when importing gradle project.
I execute "gradle idea" and then
A) open project in intellij using full path (/home/tomek/docs/myproject)
  - everything works fine
B) open project in intellij using symbolic link
(/home/tomek/myproject) (myproject links to docs/myproject)
  - the dependencies path is broken, instead of
/home/tomek/.gradle/cache/etc
it is
/home/.gradle/cache/etc

Is it because the path in mymodule.iml file looks like this?:
<library>
        <CLASSES>
          <root
url="jar://$MODULE_DIR$/../../../.gradle/cache/org.testng/testng/jars/testng-5.13.1.jar!/"
/>
        </CLASSES>
        <JAVADOC />
        <SOURCES>
          <root
url="jar://$MODULE_DIR$/../../../.gradle/cache/org.testng/testng/sources/testng-5.13.1-sources.jar!/"
/>
        </SOURCES>
      </library>
And probably when opened from symbolic link the number of "../" is too many.

Is it intellij idea bug or gradle plugin bug?

-- 
Regards / Pozdrawiam
Tomek Kaczanowski

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to