You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Alex Boisvert (JIRA)" <ji...@apache.org> on 2008/10/17 15:27:44 UTC

[jira] Commented: (BUILDR-176) Correct Metadata Generation for Scala Projects

    [ https://issues.apache.org/jira/browse/BUILDR-176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12640522#action_12640522 ] 

Alex Boisvert commented on BUILDR-176:
--------------------------------------

I've already updated the Eclipse plugin to conform to this specification, as documented in the 1.3.3 release notes:

1.3.3 (2008-10-08)
* Change: Eclipse task updated to documented Scala plugin requirements
          (http://www.scala-lang.org/node/94)

Here's an extract of our specs:

for .project:

      it 'should have Scala nature before Java nature' do
        define('foo')
        project_natures.should include(SCALA_NATURE)
        project_natures.should include(JAVA_NATURE)
        project_natures.index(SCALA_NATURE).should < project_natures.index(JAVA_NATURE)
      end
      
      it 'should have Scala build command and no Java build command' do
        define('foo')
        build_commands.should include(SCALA_BUILDER)
        build_commands.should_not include(JAVA_BUILDER)
      end

for .classpath

      it 'should have SCALA_CONTAINER before JAVA_CONTAINER' do
        define('foo')
        classpath_containers.should include(SCALA_CONTAINER)
        classpath_containers.should include(JAVA_CONTAINER)
        classpath_containers.index(SCALA_CONTAINER).should < classpath_containers.index(JAVA_CONTAINER)
      end

Please reopen if you see anything missing.

> Correct Metadata Generation for Scala Projects
> ----------------------------------------------
>
>                 Key: BUILDR-176
>                 URL: https://issues.apache.org/jira/browse/BUILDR-176
>             Project: Buildr
>          Issue Type: Bug
>          Components: IDE
>    Affects Versions: 1.3.2
>            Reporter: Daniel Spiewak
>             Fix For: 1.3.3
>
>
> http://www.scala-lang.org/node/94
> As detailed by the above link, .classpath and .project files must correspond with a slightly different template in the latest version of the Scala Eclipse plugin.  Generating project metadata according to the old form leads to extremely strange behavior in the plugin, making Buildr essentially unusable in conjunction with SDT.  I would mark this as "blocker", but I doubt it affects many other people.  :-)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.