Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
floodlight
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
croft1
floodlight
Commits
78d2c1d7
Commit
78d2c1d7
authored
12 years ago
by
Andreas Wundsam
Browse files
Options
Downloads
Patches
Plain Diff
build.xml: increase findbugs memory, exclude more generated code
parent
51dd04ee
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
build.xml
+7
-3
7 additions, 3 deletions
build.xml
findbugs-exclude.xml
+5
-1
5 additions, 1 deletion
findbugs-exclude.xml
with
12 additions
and
4 deletions
build.xml
+
7
−
3
View file @
78d2c1d7
...
...
@@ -283,10 +283,12 @@
<target
name=
"findbugs-xml"
depends=
"init,compile"
>
<taskdef
name=
"findbugs"
classname=
"edu.umd.cs.findbugs.anttask.FindBugsTask"
classpath=
"${findbugs.home}/lib/findbugs-ant.jar"
/>
<mkdir
dir=
"${findbugs.results}"
/>
<findbugs
home=
"${findbugs.home}"
<findbugs
home=
"${findbugs.home}"
output=
"xml"
excludeFilter=
"${basedir}/findbugs-exclude.xml"
outputFile=
"${findbugs.results}/results.xml"
reportLevel=
'high'
>
jvmargs=
"-Xmx1024m"
outputFile=
"${findbugs.results}/results.xml"
>
<sourcePath
path=
"${source}"
/>
<sourcePath
path=
"${thrift.out.dir}"
/>
<class
location=
"${build}"
/>
...
...
@@ -299,9 +301,11 @@
<target
name=
"findbugs"
depends=
"init,compile"
>
<taskdef
name=
"findbugs"
classname=
"edu.umd.cs.findbugs.anttask.FindBugsTask"
classpath=
"${findbugs.home}/lib/findbugs-ant.jar"
/>
<mkdir
dir=
"${findbugs.results}"
/>
<findbugs
home=
"${findbugs.home}"
<findbugs
home=
"${findbugs.home}"
output=
"html"
excludeFilter=
"${basedir}/findbugs-exclude.xml"
jvmargs=
"-Xmx1024m"
outputFile=
"${findbugs.results}/results.html"
>
<sourcePath
path=
"${source}"
/>
<sourcePath
path=
"${thrift.out.dir}"
/>
...
...
This diff is collapsed.
Click to expand it.
findbugs-exclude.xml
+
5
−
1
View file @
78d2c1d7
<FindBugsFilter>
<!--- Checks disabled on generated code -->
<Match>
<!-- don't complain about switch statements / external representation exposed
by generated parser files -->
<Class
name=
"~net\.bigdb\.(query|yang)\.parser\..*(Lexer|Parser)"
/>
<Bug
pattern=
"SF_SWITCH_NO_DEFAULT,EI_EXPOSE_REP"
/>
<Or>
<Bug
pattern=
"SF_SWITCH_NO_DEFAULT,EI_EXPOSE_REP,SBSC_USE_STRINGBUFFER_CONCATENATION"
/>
<Bug
category=
"PERFORMANCE,MALICIOUS_CODE"
/>
</Or>
</Match>
<Match>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment