#295 [patch] Ant Task should include support for the nested command line option

3.0.0
closed-fixed
patch (12)
5
2014-06-19
2014-01-14
No

To use FindBugs 2.0 and later, my project needs -nested:false on the command line, see https://sourceforge.net/p/findbugs/bugs/1236/

This patch adds support for the nested="false" attribute in the FindBugs ant task. I tested it against 2.0 and findbugs-3.0.0-dev-20131204-e3cbbd5

To use the patch, :
1. apply it to src/antTask/edu/umd/cs/findbugs/anttask/FindBugsTask.java
cd src/antTask/edu/umd/cs/findbugs/anttask
patch < FindBugsAntTaskNested.patch
2. then run ant in the FindBugs directory to create lib/findbugs-ant.jar
3. copy lib/findbugs-ant.jar to /usr/share/ant/lib
4. update the ant findbugs task to include
nested="false"
and set the findbugs home attribute to point to the source tree.
5. run "ant findbugs"

1 Attachments

Discussion

  • Andrey Loskutov

    Andrey Loskutov - 2014-06-19
    • labels: --> patch
    • status: open --> closed-fixed
    • assigned_to: Andrey Loskutov
     
  • Andrey Loskutov

    Andrey Loskutov - 2014-06-19
    • summary: Ant Task should include support for the nested command line option --> [patch] Ant Task should include support for the nested command line option
     

Log in to post a comment.