BiggerBytes.Be
Using jarnotator in ant builds
Last Updated on Tuesday, 31 August 2010 20:46 Written by jarnotator Saturday, 14 August 2010 11:17
Using jarnotator in an Ant build
Since jarnotator provides a Ant task it can be used directly from within Apache Ant build scripts. The Ant task provides all the jarnotator options. All in all the Ant task fairly easy to use. Analyzing your classes as part of a build is trivial.
The necessary setup to use the jarnotator task is that of any other external Ant task. The remainder of this page briefly outlines how to get started. For more detailed information please refer to the Apache Ant documentation related to the use of external Ant tasks.
Using the jarnotator maven plugin
Last Updated on Sunday, 05 September 2010 07:32 Written by jarnotator Saturday, 14 August 2010 09:28
Adding jarnotator to your maven builds is a straightforward process that takes less than 5 minutes. In this short document you'll see how to add the jarnotator plugin to your maven builds and have it analyze your bytecode after every successful compilation of your code.
What jarnotator does in less than 1 minute
Last Updated on Friday, 27 August 2010 06:12 Written by jarnotator Thursday, 19 August 2010 09:33
NullPointerException-s still plague the java world. Commercial programs that throw such exceptions from time to time are unfortunately not so rare. It is here that jarnotator steps in to help addressing this problem. Described in what should amount to less than a minute worth of reading follows what jarnatotor does.
jarnotator on the command line
Last Updated on Tuesday, 24 August 2010 20:14 Written by jarnotator Monday, 16 August 2010 10:01
The jarnotator tool aims at being easy to use. To that end it is also possible to invoke jarnotator on the command line. The command line tools support all the parameters as its ant task and maven2 plugin counterparts.
The command line tool is ideally suited to analyse third party jars since you are less likely to build those from source.
What is jarnotator
Last Updated on Monday, 16 August 2010 16:48 Written by jarnotator Wednesday, 11 August 2010 12:06
What is jarnotator? First things first, the name: jarnotator it is the contraction of "jar annotator". Simple enough?
It is a static code analyser that works directly on java bytecode. Currently the analysis is centered around nullness handling in java programs. Where necessary the bytecode is annotated with the JSR 305 annotations. This makes it possible for the static analysis tool FindBugs (TM) to use those during its analysis and obtain more relevant results.
How to use it? It processes a classes directory or jar file directly. The result are new classes files or a new jar file containing your classes but possible annotated if needed.
jarnotator is free for both individuals or commercial use. A document regarding the licensing model with but made available on this site shortly. Right now the download area is empty, but not for long 1.0 coming soon.
You can use jarnotator in your projects in 3 ways:
- the command line tool
- ant task
- maven2 plugin
More Articles...
Page 1 of 2
«StartPrev12NextEnd»Feed Display
| Linux Today |
| Linux Today News Service |
![]() |
|















