buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Boisvert (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (BUILDR-119) eclipse task does not accept test resource folders
Date Tue, 05 Aug 2008 01:42:46 GMT

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

Alex Boisvert resolved BUILDR-119.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3.3

Applied the patches,

svn commit -m "BUILDR-119: eclipse task does not accept test resource folders"
Sending        lib/buildr/ide/eclipse.rb
Adding         spec/eclipse_spec.rb
Transmitting file data ..
Committed revision 682559.

with minor modification,

        it 'should accept a user-defined main source folder' do
         define('foo') { compile path_to('src/java') }
+        write 'src/java/Foo.java'
        classpath_sources.should include('src/java')
      end

so that all test pass now.   The directory existence is being discussed over at BUILDR-122.

Much thanks for starting the Eclipse task spec!  I'm not an rspec expert so I don't have much
constructive feedback other than it looked perfectly fine to me.

> eclipse task does not accept test resource folders
> --------------------------------------------------
>
>                 Key: BUILDR-119
>                 URL: https://issues.apache.org/jira/browse/BUILDR-119
>             Project: Buildr
>          Issue Type: Bug
>          Components: IDE
>    Affects Versions: 1.3.3
>         Environment: trunk revision 680924
>            Reporter: Lacton
>             Fix For: 1.3.3
>
>         Attachments: BUILDR-119.lib.patch, BUILDR-119.spec.patch
>
>
> When calling the eclipse task on a project that has test resources, buildr should add
the test resources' folders to the eclipse classpath. Instead, it raises the error 'undefined
method `to_sym' for #<Rake::FileTask:0xb73a0694>'.
> This issue is similar to issue BUILDR-106. A FileTask object is given to the path_to
method, although it does not know how to handle something that is not a string or an array
of symbols and strings.
> This issue affects only test resources, not main resources, because of some code discrepancy
in eclipse.rb

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


Mime
View raw message