How to build from source with only core modules?

thumbnail
Fredi B, modified 5 Years ago. Junior Member Posts: 69 Join Date: 4/1/20 Recent Posts
Hey Liferay-Friends,
because of the necessity to build Liferay Portal CE 7.1.3 GA4 with patch from source to fix multiple security issues we finally achieved to get a running binary.
However this binary is full of unneeded modules and features (and also themes) so I am curious if there is a simple solution to get a binary that is as close as possible to the binary provided by Liferay?

Thank you,
Fredi
thumbnail
Olaf Kock, modified 5 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts
Fredi B:

I am curious if there is a simple solution to get a binary that is as close as possible to the binary provided by Liferay?
Can you define "as close as possible"? I'd imagine that the actual compiler version used will have an influence on the code, but you might want to use today's compiler, not the compiler available at 7.1.3-release time. And that's only one of the tools involved in the build process. I'm not aware that the compiler in use to build the binary distribution is named publicly.
thumbnail
Fredi B, modified 5 Years ago. Junior Member Posts: 69 Join Date: 4/1/20 Recent Posts
Hi Olaf,

Thanks for your response.

The binary we buildt from source with the 7.1.3 GA4 source code with security-patch applied includes multiple themes (fjord, westerosbank ...) and Commerce, Wiki Stuff that is not included in the binary that we could download from official SourceForge-Source.

So I wonder if there is a list, an option or guide how we can get a patched version of the portal that is not that blowed up like the binary we've got now.

Greetings,

Fredi<