You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Daniel Spiewak (JIRA)" <ji...@apache.org> on 2009/06/09 23:39:18 UTC

[jira] Created: (BUILDR-284) Eclipse Metadata Should Reflect Scala Tests on Java Projects

Eclipse Metadata Should Reflect Scala Tests on Java Projects
------------------------------------------------------------

                 Key: BUILDR-284
                 URL: https://issues.apache.org/jira/browse/BUILDR-284
             Project: Buildr
          Issue Type: Bug
          Components: IDE
    Affects Versions: 1.3.4
            Reporter: Daniel Spiewak
            Priority: Minor
             Fix For: 1.3.5


Buildr makes it possible to define a project which uses Java as its main language but Scala for testing.  The directory structure might look something like this:

src/main/java/
 - ...
src/spec/scala/
 - ...

Notice that there is no src/main/scala/ directory, much less any sources within -- and therein lies the problem.  When I use the `eclipse` task to generate IDE meta, the resulting project is not Scala-enabled.  It is very easy to add the required Scala nature (in the project context menu), but that isn't the point.  Buildr should recognize that *some* of the project's sources are Scala and act accordingly.

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


[jira] Resolved: (BUILDR-284) Eclipse Metadata Should Reflect Scala Tests on Java Projects

Posted by "Daniel Spiewak (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Spiewak resolved BUILDR-284.
-----------------------------------

    Resolution: Fixed

I can't confirm at present (I no longer have a project which exhibits this property).  I'll close on your say-so though and re-open if I hit the issue again.

> Eclipse Metadata Should Reflect Scala Tests on Java Projects
> ------------------------------------------------------------
>
>                 Key: BUILDR-284
>                 URL: https://issues.apache.org/jira/browse/BUILDR-284
>             Project: Buildr
>          Issue Type: Bug
>          Components: IDE
>    Affects Versions: 1.3.4
>            Reporter: Daniel Spiewak
>            Priority: Minor
>             Fix For: 1.4
>
>
> Buildr makes it possible to define a project which uses Java as its main language but Scala for testing.  The directory structure might look something like this:
> src/main/java/
>  - ...
> src/spec/scala/
>  - ...
> Notice that there is no src/main/scala/ directory, much less any sources within -- and therein lies the problem.  When I use the `eclipse` task to generate IDE meta, the resulting project is not Scala-enabled.  It is very easy to add the required Scala nature (in the project context menu), but that isn't the point.  Buildr should recognize that *some* of the project's sources are Scala and act accordingly.

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


[jira] Updated: (BUILDR-284) Eclipse Metadata Should Reflect Scala Tests on Java Projects

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Boisvert updated BUILDR-284:
---------------------------------

    Fix Version/s:     (was: 1.3.5)
                   1.4

> Eclipse Metadata Should Reflect Scala Tests on Java Projects
> ------------------------------------------------------------
>
>                 Key: BUILDR-284
>                 URL: https://issues.apache.org/jira/browse/BUILDR-284
>             Project: Buildr
>          Issue Type: Bug
>          Components: IDE
>    Affects Versions: 1.3.4
>            Reporter: Daniel Spiewak
>            Priority: Minor
>             Fix For: 1.4
>
>
> Buildr makes it possible to define a project which uses Java as its main language but Scala for testing.  The directory structure might look something like this:
> src/main/java/
>  - ...
> src/spec/scala/
>  - ...
> Notice that there is no src/main/scala/ directory, much less any sources within -- and therein lies the problem.  When I use the `eclipse` task to generate IDE meta, the resulting project is not Scala-enabled.  It is very easy to add the required Scala nature (in the project context menu), but that isn't the point.  Buildr should recognize that *some* of the project's sources are Scala and act accordingly.

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


[jira] Commented: (BUILDR-284) Eclipse Metadata Should Reflect Scala Tests on Java Projects

Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12839482#action_12839482 ] 

Antoine Toulme commented on BUILDR-284:
---------------------------------------

I am sure this is covered now, see scala.rb line 90.



> Eclipse Metadata Should Reflect Scala Tests on Java Projects
> ------------------------------------------------------------
>
>                 Key: BUILDR-284
>                 URL: https://issues.apache.org/jira/browse/BUILDR-284
>             Project: Buildr
>          Issue Type: Bug
>          Components: IDE
>    Affects Versions: 1.3.4
>            Reporter: Daniel Spiewak
>            Priority: Minor
>             Fix For: 1.4
>
>
> Buildr makes it possible to define a project which uses Java as its main language but Scala for testing.  The directory structure might look something like this:
> src/main/java/
>  - ...
> src/spec/scala/
>  - ...
> Notice that there is no src/main/scala/ directory, much less any sources within -- and therein lies the problem.  When I use the `eclipse` task to generate IDE meta, the resulting project is not Scala-enabled.  It is very easy to add the required Scala nature (in the project context menu), but that isn't the point.  Buildr should recognize that *some* of the project's sources are Scala and act accordingly.

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