Building Liferay Portal from source codeBuilding Liferay Portal from source codehttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1191643312024-03-29T05:22:48Z2024-03-29T05:22:48ZRE: Building Liferay Portal from source codeHimanshu Bhandarihttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1191905362020-05-19T06:46:08Z2020-05-19T06:46:08ZThanks for help David, it is much clear now.Himanshu Bhandari2020-05-19T06:46:08ZRE: Building Liferay Portal from source codeDavid H Nebingerhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1191711982020-05-17T16:47:33Z2020-05-17T16:47:33ZAs far as which cache to use, I have them both. The builds will go after the ones they want whether you are on 7.0 or 7.3 or any in between.<br /><br />The whole checkout line is attempting to checkout a specific git commit as a new branch, my-custom-change. Your command is failing because the whole backtick thing with the cat command is not a windows-level command. Extract the hash from the file manually and insert it into the script in place of the `cat ...` part.David H Nebinger2020-05-17T16:47:33ZRE: Building Liferay Portal from source codeHimanshu Bhandarihttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1191691212020-05-17T13:28:41Z2020-05-17T13:28:41ZHi David,<br /><br />Thanks for replying back, and I think you took me wrong. I didn&#39;t mean to build Liferay (that too master branch) to use in production, and I never said that in my question. My purpose was to contribute back to Liferay and wanted to (or at least try) to resolve some issues/bugs.<br /><br />Thanks &amp; Regards,<br /><br />HimanshuHimanshu Bhandari2020-05-17T13:28:41ZRE: Building Liferay Portal from source codeDavid H Nebingerhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1191691002020-05-17T13:12:41Z2020-05-17T13:12:41ZThe most important thing, this is NOT the way to customize Liferay. Whatever you are doing, I can guarantee 100% that you are doing it wrong, you are going to cost your company/client a lot of money because of this thing you are trying to do.<br /><br />Hopefully there is someone on your team that will read this and realize that you are really, really on an incorrect path and has time to reign you in before this rolling train wreck gets totally out of control.<br /><br />You should never be building from Master because it represents a work in progress. In the current case, it is in progress towards the 7.3 GA3 build, but it is not yet final so you absolutely will be dealing with a build that is not ready for production.<br /><br />The cat on the githash is trying to check out a specific git revision as a branch named my-custom-change. You're failing because, for whatever reason (likely due to release or permissions or something) that git revision is not available to you.David H Nebinger2020-05-17T13:12:41ZBuilding Liferay Portal from source codeHimanshu Bhandarihttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1191643302020-05-16T09:08:02Z2020-05-16T09:08:02ZHello, I am trying to build Liferay portal from source on Windows 10 and following <a href="https://portal.liferay.dev/participate/fix-a-bug/building-liferay-source">this tutorial at liferay.dev</a> Portlal source I have cloned into D:\github\liferay\liferay-portal<br />Please find my queries:<ol style="list-style: decimal outside;" start="1"><li>As mentioned I should clone liferay-binaries-cache-2017, but what I found on Liferay github repo is liferay-binaries-cache-2020 is also available. Should I go for 2020 or 2017 is still relevant? </li><li>Unable to execute command git checkout `cat ../bundles/.githash` -b my-custom-change, I am familiar with checkout but what `cat ../bundles/.githash` is trying to achieve is I am not sure. I am able compile and get the folder 'bundles' and the file .githash as well<img src="/documents/portlet_file_entry/14/image--tempRandomSuffix--0yLyqmLC.png/70265056-bdea-96a0-2338-dce00fd4574f" />PS D:\github\liferay\liferay-portal&am