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.

Read more: Using jarnotator in ant builds

 

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.

Read more: Using the jarnotator maven plugin

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

jarnotator-logoNullPointerException-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. 

Read more: What jarnotator does in less than 1 minute

 

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.

Read more: jarnotator on the command line

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:

  1. the command line tool
  2. ant task
  3. maven2 plugin
More information will be available in later posts.

 

 

Page 1 of 2

«StartPrev12NextEnd»

Follow Me

Follow us on Twitter

Feed Display

Linux Today
Linux Today News Service
Linux Today
  • Announcing WriteType 1.0.98
    A High School Student's Views on Software Freedom: "The next version of WriteType (1.0.98) is now available for download! WriteType is a word processor designed to make typing easier and more efficient for young students and students with disabilities."
  • How to install PC-BSD on an encrypted ZFS file system
    LinuxBSDos: "As a desktop distribution built atop FreeBSD, PC-BSD makes available to the desktop user all the cool technologies inside FreeBSD. One of those cool technologies is ZFS, the Zettabyte File System"
  • Ubuntu 10.10 beta arrives with new netbook UI
    ars Technica: "Canonical has announced the availability of the Ubuntu 10.10 beta release. The new version of the popular Linux distribution, codenamed Maverick Meerkat, is scheduled for final release in October. It brings some noteworthy user interface improvements and updated software."

Phoca - Google AdSense Easy

Google Search

Webwww.biggerbytes.be

RSS socialnet

Add to MyYahoo!
Subscribe in NewsGator Online
Add to Newsburst
Add to Google
Add to My AOL
Add to Pluck
Subscribe in FeedLounge
Add to Windows Live
Add to NetVibes
Subscribe in Rojo
Subscribe in Bloglines
Add to MyMSN
Add to Plusmo for your cellphone
Add to PageFlakes
Add to Technorati
Add to BlinkBits
Copyright © 2010 BiggerBytes.Be. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.