Not sure if this will be helpful, one of the difficulties with the old
sprout branch was how to use a local Flex SDK for compiling. With the
latest prerelease branch, I was able to do this by using the
Specification class.
First, create a file with the Specification for a new library/SDK
(flex4sdk.rb), and give it a name and version.
Then in the rakefile, set the pkg_name and pkg_version to those in the
new Specfication file.
~Peter C
#>>>> flex4sdk.rb
Sprout::Specification.new do |s|
s.name = 'flex4.local'
s.version = '4.1.016076'
s.add_file_target do |t|
t.platform = :universal
t.load_path = "{local file path}"
# see '{gempath}/gems/flashsdk-1.0.12.pre/lib/flex4.rb' for
additional options
end
#>>>> rakefile.rb
require 'flex4sdk.rb'
compc "ribbit:compile" => [:init] do |t|
t.pkg_name = "flex4.local"
t.pkg_version = "4.1.016076"
t.load_config << "src/main/config/config-ribbit.swc.xml"
t.output = "#{OUTPUT}"
t.prerequisites << :generate_config
end