' start the build
BANano.Build(File.DirApp)
Log("copying...")
Dim sh As Shell
sh.Initialize("","xcopy.exe",Array("/E/Y","C:\Users\xulihang\Documents\B4J\TRMS\frontend\Objects\Search\*","C:\Users\xulihang\Documents\B4J\TRMS\backend\Objects\www"))
sh.RunSynchronous(5000)
Log("done")