[ 
https://issues.apache.org/jira/browse/BUILDR-338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Donald closed BUILDR-338.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4.5
         Assignee: Peter Donald

This was fixed in 1.4.5 when the buildr-iidea plugin was merged back into 
buildr proper

> 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
>            Assignee: Peter Donald
>             Fix For: 1.4.5
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to