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

Assaf Arkin reassigned BUILDR-10:
---------------------------------

    Assignee: Assaf Arkin

> RSpec: File or directory not found
> ----------------------------------
>
>                 Key: BUILDR-10
>                 URL: https://issues.apache.org/jira/browse/BUILDR-10
>             Project: Buildr
>          Issue Type: Bug
>         Environment: openSuse 10.3
> Ruby 1.8.6
> buildr r606444 (since r605992)
> Rake 0.8
> RSpec 1.1.1
>            Reporter: Thomas Marek
>            Assignee: Assaf Arkin
>            Priority: Minor
>
> RSpec tries to load a file or directory with the name of the target at the 
> end of every execution of buildr .
> Buildfile:
> # Generated by Buildr 1.2.11, change to your liking
> # Version number for this release
> VERSION_NUMBER = "1.0.0"
> # Version number for the next release
> NEXT_VERSION = "1.0.1"
> # Group identifier for your projects
> GROUP = "buildr-test"
> COPYRIGHT = ""
> # Specify Maven 2.0 remote repositories here, like this:
> repositories.remote << "http://www.ibiblio.org/maven2/";
> desc "The Buildr-test project"
> define "buildr-test" do
>   project.version = VERSION_NUMBER
>   project.group = GROUP
>   manifest["Implementation-Vendor"] = COPYRIGHT
>   compile.with # Add classpath dependencies
>   package(:jar)
> end
> Output:
> [EMAIL PROTECTED]:~/public_html/buildr-test> buildr build --trace
> (in /home/tmak/public_html/buildr-test)
> ** Invoke buildr:initialize (first_time)
> ** Execute buildr:initialize
> ** Invoke buildr-test (first_time)
> ** Execute buildr-test
> ** Invoke /usr/lib/jvm/java/lib/tools.jar (first_time, not_needed)
> ** Invoke /home/tmak/.m2/repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar 
> (first_time, not_needed)
> ** Invoke 
> /home/tmak/.m2/repository/org/apache/ant/ant-launcher/1.7.0/ant-launcher-1.7.0.jar
>  (first_time, not_needed)
> ** Invoke 
> /home/tmak/.m2/repository/xerces/xercesImpl/2.6.2/xercesImpl-2.6.2.jar 
> (first_time, not_needed)
> ** Invoke 
> /home/tmak/.m2/repository/org/apache/ant/ant-trax/1.7.0/ant-trax-1.7.0.jar 
> (first_time, not_needed)
> ** Invoke 
> /home/tmak/.m2/repository/org/apache/ant/ant-junit/1.7.0/ant-junit-1.7.0.jar 
> (first_time, not_needed)
> /usr/lib/ruby/gems/1.8/gems/buildr-1.2.11/lib/java/compilers.rb:165:in 
> `from': Deprecated: Use dependencies instead.
> ** Invoke buildr-test
> ** Invoke build (first_time)
> ** Execute build
> ** Invoke buildr-test
> ** Invoke buildr-test
> Building buildr-test
> ** Invoke buildr-test:build (first_time)
> ** Invoke /home/tmak/public_html/buildr-test/target/classes (first_time, 
> not_needed)
> ** Invoke buildr-test:compile (first_time, not_needed)
> ** Invoke buildr-test:resources (first_time)
> ** Execute buildr-test:resources
> ** Invoke /home/tmak/public_html/buildr-test/src/main/java (first_time, 
> not_needed)
> ** Execute buildr-test:build
> ** Invoke test (first_time)
> ** Execute test
> ** Invoke buildr-test
> ** Invoke buildr-test
> Testing buildr-test
> ** Invoke buildr-test:test (first_time)
> ** Invoke buildr-test:test:compile (first_time, not_needed)
> ** Invoke buildr-test:compile (not_needed)
> ** Invoke buildr-test:test:resources (first_time)
> ** Execute buildr-test:test:resources
> ** Invoke /home/tmak/public_html/buildr-test/target/classes (not_needed)
> ** Invoke /home/tmak/.m2/repository/junit/junit/4.3.1/junit-4.3.1.jar 
> (first_time, not_needed)
> ** Invoke /home/tmak/.m2/repository/jmock/jmock/1.2.0/jmock-1.2.0.jar 
> (first_time, not_needed)
> ** Invoke buildr-test:test:setup (first_time)
> ** Execute buildr-test:test:setup
> ** Execute buildr-test:test
> ** Invoke buildr-test:test:teardown (first_time)
> ** Execute buildr-test:test:teardown
> /usr/lib/ruby/gems/1.8/gems/rspec-1.1.1/lib/spec/runner/options.rb:216:in 
> `files_to_load': File or directory not found: build (RuntimeError)
>         from 
> /usr/lib/ruby/gems/1.8/gems/rspec-1.1.1/lib/spec/runner/options.rb:210:in 
> `each'
>         from 
> /usr/lib/ruby/gems/1.8/gems/rspec-1.1.1/lib/spec/runner/options.rb:210:in 
> `files_to_load'
>         from 
> /usr/lib/ruby/gems/1.8/gems/rspec-1.1.1/lib/spec/runner/options.rb:83:in 
> `run_examples'
>         from /usr/lib/ruby/gems/1.8/gems/rspec-1.1.1/lib/spec.rb:20:in `run'
>         from /usr/lib/ruby/gems/1.8/gems/rspec-1.1.1/lib/spec.rb:34
>         from /usr/bin/buildr:19
> It's the same with all other targets.

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

Reply via email to