簡體   English   中英

如何從 Fortify 掃描中排除目標文件夾

[英]How to exclude target folder from Fortify scans

我想從翻譯和掃描中排除目標文件夾下的所有文件。 我嘗試使用 -exclude 參數,但它似乎不起作用。

[warning]: No files were excluded as the file patterns: [**/target/**/*] specified for -exclude option did not match any files.
HP Fortify Static Code Analyzer 6.42.0006 (using JVM 1.8.0_45)
Processing C:/path/ProjectName/target/test/test_fortify_exclusion2.jsp
Processing C:/path/ProjectName/target/test_fortify_exclusion.jsp

我也試過**target****/target/**

結果我需要指定根路徑,最好是項目的路徑。 所以在這個例子中,它應該是: -exclude "C:/path/ProjectName/**/target/**/*"

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM