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

Peter Donald updated BUILDR-540:
--------------------------------

    Description: 
The upgrade of rspec broke the "check" extension such that the following no 
longer works.



define 'myproject' do
  project.version = '0.9.1-SNAPSHOT'
  project.group = 'org.realityforge.jml'
  
  package(:jar)
check package(:jar), "should contain resources and generated resources" do
      it.should contain("iris/util/debug/logging.properties")
end
end



Instead it produces:



(in C:/dev/test, development)
Building myproject
Packaging myproject
Packaging myproject-0.9.1-SNAPSHOT.jar

no such file to load -- spec
Buildr aborted!
RuntimeError : Checks failed for project myproject (see errors above).

  was:
The upgrade of rspec broke the "check" extension such that the following no 
longer works.

{code}
define 'myproject' do
  project.version = '0.9.1-SNAPSHOT'
  project.group = 'org.realityforge.jml'
  
  package(:jar)
check package(:jar), "should contain resources and generated resources" do
      it.should contain("iris/util/debug/logging.properties")
end
end
{code}

Instead ir produces the error

{code}



> Upgrade of rspec broke check
> ----------------------------
>
>                 Key: BUILDR-540
>                 URL: https://issues.apache.org/jira/browse/BUILDR-540
>             Project: Buildr
>          Issue Type: Bug
>    Affects Versions: 1.4.3
>            Reporter: Peter Donald
>            Priority: Blocker
>             Fix For: 1.4.4
>
>
> The upgrade of rspec broke the "check" extension such that the following no 
> longer works.
> define 'myproject' do
>   project.version = '0.9.1-SNAPSHOT'
>   project.group = 'org.realityforge.jml'
>   
>   package(:jar)
> check package(:jar), "should contain resources and generated resources" do
>       it.should contain("iris/util/debug/logging.properties")
> end
> end
> Instead it produces:
> (in C:/dev/test, development)
> Building myproject
> Packaging myproject
> Packaging myproject-0.9.1-SNAPSHOT.jar
> no such file to load -- spec
> Buildr aborted!
> RuntimeError : Checks failed for project myproject (see errors above).

-- 
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