mardi 3 juin 2014

android lint ignore in config not working


Vote count:

0




I want to configure android lint to ignore test paths and projects uisng lint.xml


my lint.xml looks like this:


...



<issue id="all" severity="ignore" >
<ignore path="tests/projecttests/res/layout/button.xml" />
<ignore path="tests/projecttest2s/res/layout/button.xml" />
<ignore path="tests/projecttests2/res/layout/button.xml" />


....


used sample cmd from offical lint page: lint --check Accessibility --html /var/www/asc/accessibility_report.html --config lint.xml


But files in lint.xml are not ignored as expected


I also tried


but still have same issue.


If I put in tools:ignore="all" in specify xml files lint does ignore this file.



asked 17 secs ago






Aucun commentaire:

Enregistrer un commentaire