dxatscale / sfpowerscripts

A build system for modular development in Salesforce
https://dxatscale.io
MIT License
207 stars 94 forks source link

Unable to parse classes - package:unlocked:create #1393

Closed JAertgeerts closed 1 year ago

JAertgeerts commented 1 year ago

Describe the bug

------------------------------------------------------------------------------------------
sfpowerscripts  -- The DX@Scale CI/CD Orchestrator -Version:5.1.0 -Release:February 23
------------------------------------------------------------------------------------------
command: create  package
package name: common
package type: source
package directory: ./src/common
------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------
Unable to parse these classes to correctly identify test classes, Its not your issue, its ours!Please raise a issue in our repo!
Following apex test classes were identified

 Class                  Error                           
 fflib_SharingMode      {"message":"Unknown Apex Type"} 
 fflib_Operator         {"message":"Unknown Apex Type"} 
 fflib_AppBindingType   {"message":"Unknown Apex Type"} 

Created unlocked package common

common package created in 00:00:00.011
-- Package Details:--
-- Package Version Number:         1.0.0.1
-- Apex In Package:              Yes
-- Profiles In Package:          No
-- Metadata Count:          228
Artifact Generation Completed for source to /Users/sfdc/artifacts/common_sfpowerscripts_artifact_1.0.0-1.zip

Output variables:
sfpowerscripts_artifact_directory=/Users/jan/sfdc/artifacts/common_sfpowerscripts_artifact_1.0.0-1.zip

To Reproduce Steps to reproduce the behavior:

Create a folder "common" in src and drop in:

run sfp package:unlocked:create -v devhub --package common

Expected behavior A clear and concise description of what you expected to happen. Should create the package

Screenshots If applicable, add screenshots to help explain your problem.

Screenshot 2023-08-28 at 17 17 48

Platform Details (please complete the following information):

Additional context Add any other context about the problem here.

azlam-abdulsalam commented 1 year ago

@JAertgeerts can you dm with the apex classes

azlam-abdulsalam commented 1 year ago

@JAertgeerts As discussed, I am closing this issue for now?