We learned in a Mishnah: "One who builds a new house or buys new vessels blesses: 'Blessed are You, Hashem our God, King of the universe, who has kept us alive, sustained us, and brought us to this season,'" and the reason is because it is a joy for him. And it appears to me that even though regarding the matter of returning from the war ranks, as it is written: "Who is the man who has built a house etc.", and we learned in the eighth chapter of Sotah: "Whether one builds a straw-house, a cattle-shed, or a storehouse" see there, for all these are included in the category of a house, nevertheless, one only blesses 'shehecheyanu' over an actual house, for in this there is great joy, but not in a straw-house etc. However, regarding that which we learned there: "Whether one builds, or buys, or inherits, or it was given to him as a gift," here too it is so, for regarding joy, this and that are equal. And there is room for doubt, for in the war ranks three things are considered: one who built a house, planted a vineyard, or married a woman; what is the law regarding 'shehecheyanu'. And behold, since [the Mishnah] in [the chapter] HaRoeh does not count a vineyard or a woman, one may infer from this that one does not bless over these. And regarding a vineyard, one can say that this is not a joy [comparable to] a house, but regarding a woman, there is a wonder why they should not bless 'shehecheyanu', as it is a great joy such that they bless: 'that joy is in His abode'. And one can say that because at the time of erusin it is not yet a complete joy, and it is impossible to bless 'shehecheyanu' then, and at the time of the wedding when the joy is completed, it is impossible to bless because the essence of the matter was already completed at the erusin; therefore, even with us where the erusin and the nishuin are as one, they did not practice to bless, since they did not bless, we also do not bless. And similarly regarding a vineyard, they did not institute 'shehecheyanu', for at the time of planting there is not yet joy, as the fruits are forbidden for three years because of orlah, and afterwards it is not relevant to bless because the matter was already completed; therefore, they only mentioned a house, which one uses immediately upon completion.
תנן: "בנה בית חדש וקנה כלים חדשים – מברך: 'ברוך אתה ה' אלהינו מלך העולם שהחיינו וקימנו והגיענו לזמן הזה", והטעם מפני ששמחה היא לו. ויראה לי אף על גב דלעניין חזרת מערכי מלחמה, דכתיב: "מי האיש אשר בנה בית וגו'”, ותנן בפרק ח' דסוטה: "אחד הבונה בית התבן בית הבקר בית האוצרות" ע"ש, דאלו כולם בכלל בית, מכל מקום 'שהחיינו' אינו מברך אלא על בית ממש, דבזה יש שמחה הרבה ולא בבית התבן וכו'. אמנם בהא דתנן התם: "אחד הבונה ואחד הלוקח ואחד היורש ואחד שניתן לו במתנה", גם בכאן כן הוא, דלעניין שמחה זה וזה שוין. ויש להסתפק דבמערכי מלחמה חשיב ג' דברים: בנה בית נטע כרם ונשא אשה, איך הדין ב'שהחיינו'. והנה מדלא חשיב בהרואה כרם ואשה, שמע מינה דעל אלו אין מברכין. ועל כרם יש לומר שאין זה שמחה בבית, אבל באשה יש תמיה למה לא יברכו 'שהחיינו', שהרי שמחה גדולה היא שמברכין: 'שהשמחה במעונו'. ויש לומר משום דבשעת ארוסין אינה עדיין שמחה שלימה, ואי אפשר לברך אז 'שהחיינו', ובשעת נשואים שנגמרה השמחה אי אפשר לברך מפני שעצם הדבר כבר נגמר באירוסין, ולכן גם אצלינו שהם כאחד האירוסין והנשואין לא נהגו לברך כיון שהם לא ברכו גם אנן לא מברכינן. וכן בכרם לא תיקנו 'שהחיינו', שבעת הנטיעה אין שמחה עדיין, שהפירות אסורים ג' שנים משום ערלה, ואחר כך לא שייך לברך מפני שהעניין כבר נגמר, ולכן לא הזכירו רק בית שמשתמש תיכף בהגמרה.