Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 91553 invoked from network); 22 Jul 2009 23:07:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Jul 2009 23:07:23 -0000 Received: (qmail 35189 invoked by uid 500); 22 Jul 2009 23:08:28 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 35123 invoked by uid 500); 22 Jul 2009 23:08:28 -0000 Mailing-List: contact ivy-user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@ant.apache.org Delivered-To: mailing list ivy-user@ant.apache.org Received: (qmail 35113 invoked by uid 99); 22 Jul 2009 23:08:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jul 2009 23:08:28 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of g.clitheroe@gmail.com designates 209.85.210.172 as permitted sender) Received: from [209.85.210.172] (HELO mail-yx0-f172.google.com) (209.85.210.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jul 2009 23:08:17 +0000 Received: by yxe2 with SMTP id 2so955491yxe.14 for ; Wed, 22 Jul 2009 16:07:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=rkjy/gacg0OXc0AzK0dJ/SMnWz0MBvDKv7GAEkwIWLE=; b=lhHhgSYBW1naGNHyKLaTyC0aIYEMIOi5krbiPHIu4antDvP8QF1UsjvnjTUX4C2TCn m4e1z2NtgR7PFxHD0xBo8z1b5h50N7qs7OYmea8YlD4ippVx+RRTv671McViBjUgMojL MGlHS9KtbGwijYY1pSHxXXLHpWyeOIUnDZiMg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=O1+MzybIxOAJfgRciaKUCr2bstlG4TfkQiJpTsLNLoN1WzKM3bWkAYYHOrn0/c4VMy EJt7XYNYDfaxXkbdexRQMyeJGYIVgBPwj/0U4sBgJsxpi8FJEbw/SknGczRV9Q+dF+qj wRcsqZXJbQs7tPYf2VtNHqcx1GYnUuCJlXiys= MIME-Version: 1.0 Received: by 10.100.95.15 with SMTP id s15mr2015721anb.88.1248304076653; Wed, 22 Jul 2009 16:07:56 -0700 (PDT) In-Reply-To: References: Date: Thu, 23 Jul 2009 11:07:56 +1200 Message-ID: <14479a010907221607v59f12d90m95a72a74c925a130@mail.gmail.com> Subject: Re: FindBugs - doesn't seem to work correctly... From: Geoff Clitheroe To: ivy-user@ant.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Scott, I haven't used this but Ivy Round up is aimed at curing this problem (bad POMs etc) by using the ability of Ivy to get definitions from one place and jars from another. http://code.google.com/p/ivyroundup/ It looks like there is a FindBug definition there that lists dom4j. The FindBugs guy was at Google on sabbatical so I'm going to guess they will have this sorted... Cheers, Geoff On Thu, Jul 23, 2009 at 10:50 AM, Scot P. Floess wrote: > All: > > I am having some issues with getting FindBugs to work... > > I went out to ibiblio to get the pom information for FindBugs. =A0My ivy.= xml > looks like the following: > > > =A0 =A0 > =A0 =A0 > =A0 =A0 =A0 =A0 =3D "1.2.0"/> > =A0 =A0 > > > I have been getting the following exception: > > [find-bugs:analyze] Exception in thread "main" > java.lang.NoClassDefFoundError: org/dom4j/DocumentException > [find-bugs:analyze] =A0 =A0 at > edu.umd.cs.findbugs.SortingBugReporter.(SortingBugReporter.java:31) > [find-bugs:analyze] =A0 =A0 at > edu.umd.cs.findbugs.TextUICommandLine.configureEngine(TextUICommandLine.j= ava:391) > [find-bugs:analyze] =A0 =A0 at > edu.umd.cs.findbugs.FindBugs.processCommandLine(FindBugs.java:1506) > [find-bugs:analyze] =A0 =A0 at > edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:728) > [find-bugs:analyze] Caused by: java.lang.ClassNotFoundException: > org.dom4j.DocumentException > [find-bugs:analyze] =A0 =A0 at > java.net.URLClassLoader$1.run(URLClassLoader.java:200) > [find-bugs:analyze] =A0 =A0 at > java.security.AccessController.doPrivileged(Native Method) > [find-bugs:analyze] =A0 =A0 at > java.net.URLClassLoader.findClass(URLClassLoader.java:188) > [find-bugs:analyze] =A0 =A0 at > java.lang.ClassLoader.loadClass(ClassLoader.java:307) > [find-bugs:analyze] =A0 =A0 at > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > [find-bugs:analyze] =A0 =A0 at > java.lang.ClassLoader.loadClass(ClassLoader.java:252) > [find-bugs:analyze] =A0 =A0 at > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) > [find-bugs:analyze] =A0 =A0 ... 4 more > > I did some google'ing and see some mention of there being issues with the > pom: > > http://osdir.com/ml/java.findbugs.general/2006-10/msg00024.html > > I tried to locate a pom at http://mojo.codehaus.org but didn't readily fi= nd > it - getting frustrated ;) =A0This has been a problem for me for a while.= =A0I > had been including all FindBugs jars with my project - meaning I manually > downloaded FindBugs. =A0However, I really -do not- like doing this as it > should not be necessary :) > > Has anyone gotten FindBugs working in conjunction with Ivy??? =A0I've tri= ed a > number of different things to no avail :( > > I do use Ivy to download Beanshell, Ant Contrib and JavaCC - no issues > whatsoever... > > I am running Ivy 2.0... > > > > Scot P. Floess > 27 Lake Royale > Louisburg, NC =A027549 > > 252-478-8087 (Home) > 919-890-8117 (Work) > > Chief Architect JPlate =A0 http://sourceforge.net/projects/jplate > Chief Architect JavaPIM =A0http://sourceforge.net/projects/javapim > > Architect Keros =A0 =A0 =A0 =A0 =A0http://sourceforge.net/projects/keros >