Open byt3m4st3r opened 4 days ago
@byt3m4st3r , can you add build log or any other details of the non-working build?
It's an old on-premise project, heavily customized, still has deprecated HMC backports, but it worked with the version before out of the box. At first, it stops at some HMC Jalo classes, maybe something changed in the extensions build order (ant build vs. IDE build).
@byt3m4st3r , feel free to share build log from IDEA here or via Slack.
IDE build log
Executing pre-compile tasks…
[y] Started cleaning the: /Users/me/dev/repos/repo/ecom/xyz-project/hybris/bin/platform/bootstrap/gensrc
[y] Cleaned: /Users/me/dev/repos/repo/ecom/xyz-project/hybris/bin/platform/bootstrap/gensrc
/Users/me/.local/share/sdkman/candidates/java/17.0.13-sapmchn/bin/java -Dfile.encoding=UTF-8 -cp /Users/me/dev/repos/repo/ecom/xyz-project/hybris/bin/platform/ext/core/lib/*:/Users/me/dev/repos/repo/ecom/xyz-project/hybris/bin/platform/bootstrap/bin/ybootstrap.jar de.hybris.bootstrap.codegenerator.CodeGenerator /Users/me/dev/repos/repo/ecom/xyz-project/hybris/bin/platform
[y] Started code generation...
Basic configuration for Log4J active.
---------------------------------------------------------------
Warning: you're using at least one deprecated extension!
Please note that they may not be available in future releases.
Deprecated extensions: [acceleratorcmshmc, acceleratorserviceshmc, acceleratorstorefrontcommons, addonsupport, admincockpit, basecommercehmc, btg, cms2hmc, cmscockpit, cockpit, commercesearchhmc, commerceserviceshmc, cscockpit, customerreviewhmc, gigyaloginaddon, hmc, ldap, personalizationsearchsamplesaddon, platformhmc, productcockpit, promotionshmc, psppayoneaddon, reportcockpit, solrfacetsearchhmc, virtualjdbc, voucherhmc]
[y] Completed code generation.
[y] Started cleaning the: /Users/me/dev/repos/repo/ecom/xyz-project/hybris/bin/platform/bootstrap/modelclasses
[y] Cleaned: /Users/me/dev/repos/repo/ecom/xyz-project/hybris/bin/platform/bootstrap/modelclasses
[y] Started compilation of the generated code...
[y] Compiled 2779 generated classes.
[y] Flushed 2779 compiled classes.
[y] Completed compilation of the generated code.
[y] Started creation of the models.jar file...
[y] Completed creation of the models.jar file.
Cleaning output directories…
Running 'before' tasks
Checking sources
Copying resources… [Platform.scripting]
Copying resources… [Platform.commons]
Copying resources… [Platform.processing]
Copying resources… [Platform.core]
Copying resources… [Platform.impex]
Copying resources… [Platform.validation]
Copying resources… [Platform.catalog]
Copying resources… [Platform.paymentstandard]
Copying resources… [Platform.europe1]
Copying resources… [Platform.deliveryzone]
Copying resources… [Platform.testweb]
Copying resources… [Platform.workflow]
Copying resources… [Platform.oauth2]
Copying resources… [Platform.mediaweb]
Copying resources… [Platform.maintenanceweb]
Copying resources… [Platform.platformservices]
Copying resources… [Platform.hac]
Copying resources… [Platform.comments]
Copying resources… [Platform.advancedsavedquery]
Copying resources… [Hybris.api-registry.apiregistryservices]
Copying resources… [Hybris.base-commerce.basecommerce]
Copying resources… [Custom.hmc]
Copying resources… [Hybris.search-and-navigation.solrfacetsearch]
Copying resources… [Hybris.search-services.searchservices]
Copying resources… [Hybris.base-commerce.voucher]
Updating dependency information… [Platform.platformservices]
Parsing java… [Platform.platformservices]
Copying resources… [Hybris.base-commerce.payment]
Copying resources… [Hybris.base-commerce.promotions]
Copying resources… [Hybris.base-commerce.customerreview]
Copying resources… [Hybris.commerce-services.commerceservices]
Copying resources… [Hybris.web-content-management-system.cms2]
Copying resources… [Hybris.customer-service.ticketsystem]
Copying resources… [Hybris.platform.springintegrationlibs]
Copying resources… [Hybris.core-accelerator.acceleratorservices]
Copying resources… [Custom.sharedfeaturemanager]
Copying resources… [Hybris.web-content-management-system.cms2lib]
Copying resources… [Hybris.core-accelerator.acceleratorcms]
Copying resources… [Platform.platform]
Copying resources… [Custom.xyzruleengine]
Copying resources… [Hybris.commerce-services.commercefacades]
Copying resources… [Hybris.web-content-management-system.cmsfacades]
Copying resources… [Hybris.core-accelerator.acceleratorfacades]
Copying resources… [Custom.sharedpromotions]
Copying resources… [Custom.sharedvoucher]
Copying resources… [Custom.paymentExternalAuthorization]
Copying resources… [Custom.sharedcore]
Copying resources… [Hybris.platform.embeddedserver]
Copying resources… [Custom.mobileservices]
Copying resources… [Hybris.platform.tomcatembeddedserver]
Copying resources… [Hybris.b2c-accelerator-addons.wishlist]
Copying resources… [Custom.accextmessagebundle]
Copying resources… [Custom.xyzfulfilmentprocess]
Copying resources… [Hybris.core-accelerator.deprecated.acceleratorstorefrontcommons]
Copying resources… [Hybris.web-services-commons.webservicescommons]
Copying resources… [Custom.xyzfacades]
Copying resources… [Custom.xyzcore]
Copying resources… [Hybris.core-accelerator.deprecated.addonsupport]
Copying resources… [Hybris.commerce-services.commercewebservicescommons]
Copying resources… [Custom.stockmanagement]
Copying resources… [Custom.xyzinterfaces]
Copying resources… [Custom.backordermanagement]
Writing classes… [Platform.platformservices]
Copying resources… [Custom.xyzstorefrontcommons]
Copying resources… [Custom.pspklarna]
Copying resources… [Custom.project.projectcore]
Copying resources… [Hybris.integration-apis.integrationservices]
Copying resources… [Hybris.integration-apis.inboundservices]
Copying resources… [Custom.cartoptimized]
Copying resources… [Hybris.integration-apis.odata2services]
Copying resources… [Hybris.integration-apis.odata2webservices]
Copying resources… [Hybris.integration-apis.outboundservices]
Copying resources… [Hybris.sap-customer-data-cloud.gigyaservices]
Copying resources… [Hybris.sap-customer-data-cloud.gigyafacades]
Copying resources… [Custom.sharedgigya]
Copying resources… [Custom.pspogonewebservice]
Copying resources… [Custom.project.projectfacades]
Copying resources… [Custom.xyzonboardingaddon]
Copying resources… [Custom.psppaypaladdon]
Copying resources… [Custom.pspogoneaddon]
Copying resources… [Custom.pspsixaddon]
Copying resources… [Custom.xyzstorefrontcommons.commonweb]
Copying resources… [Custom.commercesearch]
Updating dependency information… [tests of Custom.hmc.web]
Parsing java… [tests of Custom.hmc.web]
Copying resources… [Custom.project.projectonboardingaddon]
Copying resources… [Custom.xyzcommercesearch]
Errors occurred while compiling module 'tests of Custom.hmc.web'
Copying resources… [Custom.psppayoneaddon]
Adding nullability assertions… [Platform.platformservices]
Adding pattern assertions… [Platform.platformservices]
javac 17.0.13 was used to compile java sources
Finished, saving caches…
Compilation failed: errors: 15; warnings: 1
Executing post-compile tasks…
Compilation failed: errors: 15; warnings: 1
Synchronizing output directories…
21.11.24, 15:28 - Build completed with 15 errors and 101 warnings in 35 sec, 15 ms
Initial condition: same Project, all old idea config files removed, fresh built.
Java version: 17.0.13-sapmchn SAP Commerce Version: 2205.30 SAP Commerce Integration Pack Version: 2205.15
IntelliJ 2024.2.4 and SAP Commerce IntelliJ Plugin 2024.2.4:
IntelliJ 2024.3 and SAP Commerce IntelliJ Plugin 2024.3.1:
Additionally: both plugin versions create the following strange folder structure under root of the project: