-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.X, 7.1.X, 7.2.X, Master
-
Fix Version/s: 7.0.0 DXP FP89, 7.0.10.13 DXP SP13, 7.0.X, 7.1.10 DXP FP17, 7.1.10.4 SP4, 7.1.X, 7.2.10 DXP FP4, 7.2.X, 7.3.0 CE GA1, 7.3.10 DXP GA1, Master
-
Component/s: Dev Tools > Portal Build Env
-
Branch Version/s:7.2.x, 7.1.x, 7.0.x
-
Backported to Branch:Committed
During the compile step, the script is supposed to load a file with the project name of the current portal jar, but instead uses the project name of build-common-java.xml. Most users won't notice this bug, because the property "build.portal.artifacts.enabled" is set to false by default. Setting it to true offers a quick way to download the latest portal jars instead of building them from source.
ant compile -Dbuild.portal.artifacts.enabled=false
BUILD FAILED /home/chas/liferay-portal/build.xml:264: The following error occurred while executing this line: /home/chas/liferay-portal/portal-kernel/build.xml:49: The following error occurred while executing this line: /home/chas/liferay-portal/build-common-java.xml:66: The following error occurred while executing this line: /home/chas/liferay-portal/build-common.xml:486: The following error occurred while executing this line: /home/chas/liferay-portal/build-common.xml:355: Source resource does not exist: /home/chas/liferay-portal/modules/.releng/build-common-java.properties