Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

101 lines
2.3 KiB

  1. @ECHO OFF
  2. echo
  3. rem echo type _____ Athenant ( bldnum ) ___________
  4. echo
  5. if %1!=! goto error
  6. set bldroot=d:\nt
  7. set bldtools=%bldroot%\idw
  8. setlocal
  9. SET _NT386TREE_NS=%BLDROOT%\BBT
  10. SET USE_PDB=1
  11. SET NTBBT=1
  12. MD %BLDROOT%\BBT
  13. ECHO Y | del %BLDROOT%\BBT\*.*
  14. cd %bldroot%\private\inet\athena
  15. call bldnt retail -cC
  16. rem CD %BLDROOT%\BBT
  17. rem DEL *.*
  18. rem DEL *.*
  19. endlocal
  20. rem cd %bldroot%\private\inet\athena
  21. rem call bldnt debug -cC dbugit
  22. rem echo building Athena's cab
  23. echo y | del %bldroot%\drop\retail\cabs\mailnews.exe
  24. cd %bldroot%\drop\retail\cabs\mailnews
  25. call cabimn
  26. if not exist \\%bldroot%\drop\retail\cabs\mailnews.exe goto error
  27. echo=================== sending a Athena for Lego =======================
  28. SET DEST=\\nashlego\drop\athena
  29. ECHO Y | DEL %DEST%\*.*
  30. xcopy %bldroot%\drop\retail\dump\msoe.dll %DEST% /i
  31. xcopy %bldroot%\drop\retail\symbols\dll\msoe.pdb %DEST% /i
  32. xcopy %bldroot%\drop\retail\cabs\mailnews.exe %DEST% /i
  33. :WAIT
  34. echo
  35. echo
  36. echo *************** It is waiting lego-ized msoe.dll ******************
  37. echo
  38. echo
  39. WAIT /EXIST:\\NASHLEGO\DROP\BLD%1\ATHENA\msoe.dll
  40. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  41. REM ECHO*******This is the process to make legoized CAB
  42. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  43. set dest=%BLDROOT%\drop\retail\dump
  44. xcopy \\nashlego\drop\bld%1\athena\msoe.dll %dest% /i
  45. d:
  46. echo y | del \%BLDROOT%\drop\retail\cabs\mailnews.exe
  47. cd %BLDROOT%\drop\retail\cabs\mailnews
  48. call cabimn
  49. if EXIST \%BLDROOT%\drop\retail\cabs\mailnews\mailnews.exe goto propag
  50. :propag
  51. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  52. SET DEST=\\psd1\f$\shares\products\athena\bvt
  53. xcopy \\NASHLEGO\DROP\BLD%1\ATHENA\msoe.dll %DEST% /i
  54. xcopy \\NASHLEGO\DROP\BLD%1\ATHENA\msoe.DBG %DEST% /i
  55. xcopy \\NASHLEGO\DROP\BLD%1\ATHENA\msoe.SYM %DEST% /i
  56. d:
  57. XCOPY %BLDROOT%\drop\retail\cabs\MAILNEWS.EXE %DEST% /i
  58. xcopy %BLDROOT%\drop\retail\cabs\mailnews\imn_w95.cdf %DEST% /i
  59. goto done
  60. : error
  61. echo
  62. echo !!!!!!! No Mailnews.exe has been made !!!!!!!!
  63. echo
  64. goto done
  65. :done