Application Delivery Management
Application Modernization & Connectivity
CyberRes
IT Operations Management
Summary
Scan fails with "Unable to load build session" when system properties are passed after the ANT task command
Products
Fortify Static Code Analyzer
Environment
Tested against SCA 20.2.2, 21.1.2, 21.2.3
Rulepack 2022 Q1
Situation
When passing system properties to ANT command during translation, the scan phase fails with "[error]: No valid input files were specified."
eg
sourceanalyzer -project-root fortify -b ANT -debug -verbose ant compile jar run -DABC=DEF;-DXYZ=123
sourceanalyzer -project-root fortify -b ANT -debug -verbose -scan
[error]: No valid input files were specified.
Read Full Support Article here.
Support Article Reference Number (URL Name)
KM000006407
__________________________________
Elizabeth Knappen
CyberRes Community Manager
If you find this post useful, give it a ‘Like’ or use ‘Verify Answer’