From faf963a5f78861e6d34bbe4e2962d73e41c3bb2b Mon Sep 17 00:00:00 2001 From: Gregor Maier <gregor.maier@bigswitch.com> Date: Wed, 13 Feb 2013 16:27:06 -0800 Subject: [PATCH] ant eclipse: create project specific config for FindBugs plugin When creating the eclipse project files we also create a project specific config for FindBugs that sets the exclude file correctly. --- setup-eclipse.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup-eclipse.sh b/setup-eclipse.sh index de92c3493..e3ba8f697 100755 --- a/setup-eclipse.sh +++ b/setup-eclipse.sh @@ -47,3 +47,8 @@ cat >>"$d/.classpath" <<EOF <classpathentry kind="output" path="target/bin"/> </classpath> EOF + +mkdir -p $d/.settings +cat >$d/.settings/edu.umd.cs.findbugs.core.prefs <<EOF +excludefilter0=findbugs-exclude.xml|true +EOF -- GitLab