For Scala project, Idea module has incorrect path to Scala library jar
-----------------------------------------------------------------------
Key: BUILDR-338
URL: https://issues.apache.org/jira/browse/BUILDR-338
Project: Buildr
Issue Type: Bug
Components: IDE
Affects Versions: 1.3.5
Reporter: Alex Eagle
After running `buildr idea`, I get a module file that includes the
scala-library.jar and scala-compiler.jar. I didn't list those as dependencies
of my project, but I do require buildr/scala, so it makes sense that these are
automatically added to the dependency list internally in buildr in order to
compile my project.
But, in my resulting iml file, the dependencies look like this:
<orderEntry type="module-library">
<library>
<CLASSES>
<root
url="jar://$MODULE_DIR$//Users/alexeagle/projects/scala-2.7.5.final/lib/scala-library.jar!/"
/
>
</CLASSES>
<JAVADOC />
<SOURCES>
<root
url="jar://$MODULE_DIR$//Users/alexeagle/projects/scala-2.7.5.final/lib/scala-library-sources.
jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library>
<CLASSES>
<root
url="jar://$MODULE_DIR$//Users/alexeagle/projects/scala-2.7.5.final/lib/scala-compiler.jar!/"
/>
</CLASSES>
<JAVADOC />
<SOURCES>
<root
url="jar://$MODULE_DIR$//Users/alexeagle/projects/scala-2.7.5.final/lib/scala-compiler-sources
.jar!/" />
</SOURCES>
</library>
</orderEntry>
They have an absolute path based on my $SCALA_HOME, but these are incorrectly
getting a prefix of $MODULE_DIR$.
I'm marking it as major because I have to fix this manually every time I
regenerate my project from a buildfile.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.