You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Assaf Arkin (JIRA)" <ji...@apache.org> on 2008/05/19 20:29:55 UTC

[jira] Assigned: (BUILDR-74) Build failing if target/test/resources doesn't exist prior to running tests

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

Assaf Arkin reassigned BUILDR-74:
---------------------------------

    Assignee: Assaf Arkin

> Build failing if target/test/resources doesn't exist prior to running tests
> ---------------------------------------------------------------------------
>
>                 Key: BUILDR-74
>                 URL: https://issues.apache.org/jira/browse/BUILDR-74
>             Project: Buildr
>          Issue Type: Bug
>          Components: Core features
>    Affects Versions: 1.3
>         Environment: $ ruby --version
> ruby 1.8.5 (2006-12-25 patchlevel 12) [powerpc-darwin8.8.0]
> $ buildr --version
> Buildr 1.3.0
> $ java -version
> java version "1.5.0_13"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-241)
> Java HotSpot(TM) Client VM (build 1.5.0_13-120, mixed mode, sharing) 
>            Reporter: Andrew Pietsch
>            Assignee: Assaf Arkin
>
> When building the test task fails if target/test/resources doesn't exists.  I would have expected the directory to be automatically created.
> The out put of the error with tracing enabled is below:
> ** Execute pectin:main:test
> rm -rf /Users/andrew/svn/pectin/main/reports/testng
> IOException: No file or directory with the name /Users/andrew/svn/pectin/main/target/test/resources
> ** Invoke pectin:main:test:teardown (first_time)
> ** Execute pectin:main:test:teardown
> rake aborted!
> No file or directory with the name /Users/andrew/svn/pectin/main/target/test/resources
> /opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.0/lib/buildr/java/test_frameworks.rb:58:in `new'
> /opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.0/lib/buildr/java/test_frameworks.rb:58:in `filter_classes'
> /opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.0/lib/buildr/java/test_frameworks.rb:258:in `tests'
> /opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.0/lib/buildr/core/test.rb:423:in `run_tests'
> /opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.0/lib/buildr/core/test.rb:196:in `initialize'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `call'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `execute'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `each'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `execute'
> /opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.0/lib/buildr/core/test.rb:220:in `execute'
> /opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.0/lib/buildr/core/application.rb:366:in `invoke_with_call_chain'
> /opt/local/lib/ruby/1.8/thread.rb:135:in `synchronize'
> /opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.0/lib/buildr/core/application.rb:357:in `invoke_with_call_chain'
> /opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.0/lib/buildr/core/application.rb:352:in `invoke'
> /opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.0/lib/buildr/core/test.rb:164:in `run_local_tests'
> /opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.0/lib/buildr/core/test.rb:161:in `each'
> /opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.0/lib/buildr/core/test.rb:161:in `run_local_tests'
> /opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.0/lib/buildr/core/project.rb:346:in `[]'
> /opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.0/lib/buildr/core/project.rb:346:in `local_projects'
> /opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.0/lib/buildr/core/project.rb:346:in `each'
> /opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.0/lib/buildr/core/project.rb:346:in `local_projects'
> /opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.0/lib/buildr/core/test.rb:158:in `run_local_tests'
> /opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.0/lib/buildr/core/test.rb:503:in `first_time'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `call'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `execute'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `each'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `execute'
> /opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.0/lib/buildr/core/application.rb:366:in `invoke_with_call_chain'
> /opt/local/lib/ruby/1.8/thread.rb:135:in `synchronize'
> /opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.0/lib/buildr/core/application.rb:357:in `invoke_with_call_chain'
> /opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.0/lib/buildr/core/application.rb:352:in `invoke'
> /opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.0/lib/buildr/core/test.rb:521:in `first_time'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `call'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `execute'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `each'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `execute'
> /opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.0/lib/buildr/core/application.rb:366:in `invoke_with_call_chain'
> /opt/local/lib/ruby/1.8/thread.rb:135:in `synchronize'
> /opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.0/lib/buildr/core/application.rb:357:in `invoke_with_call_chain'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:518:in `invoke_prerequisites'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in `each'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in `send'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in `each'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:515:in `invoke_prerequisites'
> /opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.0/lib/buildr/core/application.rb:363:in `invoke_with_call_chain'
> /opt/local/lib/ruby/1.8/thread.rb:135:in `synchronize'
> /opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.0/lib/buildr/core/application.rb:357:in `invoke_with_call_chain'
> /opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.0/lib/buildr/core/application.rb:352:in `invoke'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1931:in `invoke_task'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `each'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in `standard_exception_handling'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1903:in `top_level'
> /opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.0/lib/buildr/core/application.rb:177:in `run'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in `standard_exception_handling'
> /opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.0/lib/buildr/core/application.rb:173:in `run'
> /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
> /opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.0/lib/buildr/core/application.rb:172:in `run'
> /opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.0/bin/buildr:21
> /opt/local/bin/buildr:16:in `load'
> /opt/local/bin/buildr:16

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