Skip to content

Commit

Permalink
add special command fro load app to sim
Browse files Browse the repository at this point in the history
  • Loading branch information
genywind committed Feb 4, 2011
1 parent 42616bf commit 7d239b1
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions platform/bb/build/bb.rake
Original file line number Diff line number Diff line change
Expand Up @@ -1036,7 +1036,7 @@ namespace "run" do
end

task :testsim => ["config:bb"] do
load_to_sim
load_to_sim(false)
end

task :startsim => ["config:bb"] do
Expand All @@ -1053,7 +1053,18 @@ namespace "run" do
end

desc "Builds everything, loads and starts bb sim and mds"
task :bb => ["run:bb:stopmdsandsim_ex", "package:bb:production_sim"] do
task :bb => ["run:bb:stopmdsandsim", "package:bb:production_sim"] do
jde = $config["env"]["paths"][$bbver]["jde"]

cp_r File.join($targetdir,"/."), jde + "/simulator"

startmds
startsim

$stdout.flush
end

task :bbapp => ["run:bb:stopmdsandsim_ex", "package:bb:production_sim"] do
jde = $config["env"]["paths"][$bbver]["jde"]

startmds
Expand Down

0 comments on commit 7d239b1

Please sign in to comment.