B4J – Bugzilla for Java

This is Bugzilla for Java (B4J) – a Java based tool for accessing Bugzilla instances. B4J offers you to write your own reports based on those bug records that you want to incorporate.

New: Version 2.0 is out. It breaks previous API and introduces types for many properties. It also offers an XML-RPC Bugzilla session now.

Features:

  • platform-independent code
  • access to Bugzilla and Jira instances on remote servers via HTTP and HTTP proxies
  • password callbacks for maximum security
  • standard report interface
  • Open Source code based on LGPL license

More documentation is available here:

Maven Coordinates

<dependency>
  <groupId>eu.ralph-schuster</groupId>
  <artifactId>b4j</artifactId>
  <version>2.0.0</version>
</dependency>

Downloads

You can download the library from maven.org. The latest stable version is 2.0.0. Sources are available through maven.org or can be browsed in SVN.

Previous versions:

Support

Report a bug or request an enhancement…

7 Responses to “B4J – Bugzilla for Java”

  1. Ralph’s TechBlog » Blog Archive » Bugzilla for Java V1.1 released Says:

    [...] B4J project has now been migrated to Maven build and deployment. You can download the new version [...]

  2. Ralph’s TechBlog » Blog Archive » Bugzilla for Java V1.2 released Says:

    [...] of the B4J project has been released. It contains two major bugfixes related to Java 6 and Bugzilla 4.2 [...]

  3. Ralph’s TechBlog » Blog Archive » Bugzilla for Java V1.3 released Says:

    [...] of the B4J project has been released. It contains two major bugfixes related timestamp parsing and attachments. It [...]

  4. Ralph’s TechBlog » Blog Archive » Bugzilla for Java 1.4.0 released Says:

    [...] of the B4J project has been released. It contains several bugfixes and migrates Issue Management to [...]

  5. Deepak Says:

    Dear Mr. Schuster,

    I recently used your B4J library for one of my projects and I was pretty impressed with it. Thanks for all the hard work you have put in and really appreciate your efforts.

    However, I had a small issue while accessing Bugzilla from Linux Kernel (kernel.bugzilla.org). The parser would fail often because of invalid UTF-8 character present in the Bug’s XML . I made a small code change to your code and more specifically HttpBugzillaSession class to first clean the XML and then parse it. I have put the changes here : http://pastebin.com/KFvmX1VJ

    The changes I made is to just strip the XML of all the invalid characters before parsing. Since the bug’s XML is pretty small this can be achieved without much loss of performance. I hope this helps you.

    Thanks and Kind Regards,
    Deepak

  6. Ralph Says:

    Hi Deepak!

    thanks for the improvement. I will integrate it with 1.5.0 version. You can follow its progress here: http://jira.ralph-schuster.eu/browse/BFJ-19

    Regards

    Ralph

  7. Ralph’s TechBlog » Blog Archive » Multiple Releases Says:

    […] Bugzilla for Java made a major release jump to V2.0.0. The new version introduces a Java API to the REST interface of latest Bugzilla versions, re-structured the Issue interface by introducing component classes for nearly all associated objects (versions, components, users, priorities, resolutions, etc.) and brought back the JIRA session. A complete list of changes is available here. […]

Leave a Reply