[chef] VS code compilation throug recipe is not successfull


Chronological Thread 
  • From: Ravindra < >
  • To:
  • Subject: [chef] VS code compilation throug recipe is not successfull
  • Date: Tue, 3 Dec 2013 21:00:20 -0800 (PST)

Hello All,

I'm trying to compile my Visual Studio installer project (vdproj) using an
execute resource in one recipe and it is giving me error,; however when
executed the same command through command prompt in the Node it compiled
successfully.

Another option I tried is, specified run-list for the node using knife and
manually executed Chef-client on the node and recipe worked fine.

Here is the execute resource I'm using.

attribute in attributes/default.rb file containing list of installer projects
that i need to compile
default['my_cookbook']['Installer_Projects']=["Installer1", "Installer2",
"Installer13"]


my_reipe.
node['my_cookbook']['Installer_Projects'].each do |vdproj|
        execute "Compile_Installer_Code" do     
                command "\"C:\\Program Files (x86)\\Microsoft Visual Studio
10.0\\Common7\\IDE\\devenv.exe\" \"C:\\My_Project\\my_project.sln\" /build
debug /project \"#{vdproj}\""            
                only_if {File.exists?("C:\\My_Project\\my_project.sln")}
        end
end


The error I'm getting is:
ERROR: Could not find file 'C:\......\abc.dll' 'Not enough storage is 
available
to complete this operation.'

Thanks & Regards,
Ravi


  • [chef] VS code compilation throug recipe is not successfull, Ravindra, 12/03/2013

Archive powered by MHonArc 2.6.16.

§