Symptom
When trying to build commerce with 2 storefronts and enabled wro4j you get exception:
BUILD FAILED
/opt/workspace/build/commerce-suite/hybris/bin/platform/build.xml:400: The following error occurred while executing this line:
/opt/workspace/build/commerce-suite/hybris/bin/platform/resources/ant/assembling.xml:560: The following error occurred while executing this line:
/opt/workspace/build/commerce-suite/hybris/bin/platform/resources/ant/compiling.xml:75: The following error occurred while executing this line:
/opt/workspace/build/commerce-suite/hybris/bin/platform/resources/ant/compiling.xml:116: The following error occurred while executing this line:
/opt/workspace/build/commerce-suite/hybris/bin/platform/resources/ant/util.xml:42: The following error occurred while executing this line:
/opt/workspace/build/commerce-suite/hybris/bin/platform/resources/ant/util.xml:44: The following error occurred while executing this line:
/opt/workspace/build/commerce-suite/hybris/bin/platform/resources/ant/compiling.xml:123: The following error occurred while executing this line:
/opt/workspace/build/commerce-suite/hybris/bin/platform/resources/ant/compiling.xml:384: The following error occurred while executing this line:
/opt/workspace/build/commerce-suite/hybris/bin/platform/resources/ant/util.xml:132: The following error occurred while executing this line:
/opt/workspace/build/customer-project/myb2bstorefront/buildcallbacks.xml:510: The following error occurred while executing this line:
/opt/workspace/build/commerce-suite/hybris/bin/platform/resources/ant/util.xml:520: The following error occurred while executing this line:
/opt/workspace/build/customer-project/myb2bstorefront/buildcallbacks.xml:518: The following error occurred while executing this line:
/opt/workspace/build/commerce-suite/hybris/bin/platform/resources/ant/util.xml:13: The following error occurred while executing this line:
[copy] Copying 1 file to /opt/workspace/build/customer-project/mystorefront/web/webroot/_ui/shared/js
/opt/workspace/build/customer-project/myb2bstorefront/buildcallbacks.xml:574: The following error occurred while executing this line:
/opt/workspace/build/customer-project/mystorefront/buildcallbacks.xml:820: The following error occurred while executing this line:
/opt/workspace/build/customer-project/myb2bstorefront/buildcallbacks.xml:861: Premature end of file.
And for random addon:
[echo] create_wro_addons_xml for assistedservicepromotionaddon
[xmltask] [Fatal Error] :1:1: Premature end of file.
[xmltask] org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.
[xmltask] at java.xml/com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:261)
[xmltask] at java.xml/com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339)
[xmltask] at com.oopsconsultancy.xmltask.ant.XmlTask.documentFromStream(XmlTask.java:343)
[xmltask] at com.oopsconsultancy.xmltask.ant.XmlTask.documentFromFile(XmlTask.java:387)
[xmltask] at com.oopsconsultancy.xmltask.ant.XmlTask.access$000(XmlTask.java:27)
[xmltask] at com.oopsconsultancy.xmltask.ant.XmlTask$InputFile.getDocument(XmlTask.java:203)
[xmltask] at com.oopsconsultancy.xmltask.ant.XmlTask.execute(XmlTask.java:638)
Read more...
Environment
CCv2 SAP Commerce
Product
SAP Commerce all versions
Keywords
KBA , CEC-SCC-CLA-BUI , Build Process , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.