Hmmm..... So, you copied the "findbugs-ant.jar" file into the "lib"
folder beneath the folder specified by "Ant Home Entries" and
restarted Eclipse ? (Technically, i think that you may not need to
restart - on Linux I was able to simply move the file
"findbugs-ant.jar" and get Eclipse to fail to run "compile_plugins"
target from the "Ant View".)
If you right-click on the build.xml in the "Navigator" view, choose
"Properties" and select the "Run/Debug Settings" and edit a launch
configuration, you can select the "Classpath" tab to double-check your
ant home and optional taskdef jars to see if one of them contains a
reference to "findbugs-ant.jar".
FWIW, we are in the process of switching to maven2 for builds. Once
we are using maven, this problem and others will go away as maven
automatically downloads build plugins that are needed for the build.
Rob
On Tue, Sep 1, 2009 at 8:00 PM, Pepper,
Cynthia<Cyn...@st...> wrote:
> Rob, Thank you for your quick reply. I tried both entries, but there was no change.
>
>
>
> -----Original Message-----
> From: Robert Manning [mailto:rob...@gm...]
> Sent: Tuesday, September 01, 2009 6:41 PM
> To: Pepper, Cynthia
> Cc: squ...@li...
> Subject: Re: [Squirrel-sql-develop] taskdef class edu.umd.cs.findbugs.anttask.FindBugsTask cannot be found
>
> Look to see what "Ant home" is set to in Eclipse (Window ->
> Preferences -> Ant -> Runtime). You should see "findbugs-ant.jar"
> listed in the "Classpath" tab under "Ant Home Entries". If it is not
> there, copy it into the folder specified by "Ant Home Entries" or
> click "Add External Jars" and navigate to where it is located.
>
> Rob
>
> On Tue, Sep 1, 2009 at 5:44 PM, Pepper,
> Cynthia<Cyn...@st...> wrote:
>> I'm trying to build SQuirreL so I can develop some plugins. In the Eclipse Navigator I
>> Right-clicked on build/build.xml, chose "Run as"-->"Ant Build...", and ensured that only the
>> "make_dist" target was checked. I got this error:
>>
>>
>> Buildfile: C:\projects\squirrel-sql-3.0.2-src\sql12\build\build.xml
>> init:
>>
>> BUILD FAILED
>> C:\projects\squirrel-sql-3.0.2-src\sql12\build\build.xml:97: taskdef class edu.umd.cs.findbugs.anttask.FindBugsTask cannot be found
>>
>> Total time: 157 milliseconds
>>
>> Environment:
>>
>> The findbugs is installed on the computer, and also as a plug-in in Eclipse. IzPack is also
>> Installed.
>>
>> Additional failed steps taken:
>> *Added the Eclipse FindBugs plugin to Eclipse but the build still failed.
>> *tried enabling FindBugs in build, still failed, so disabled.
>> *downloaded the full FindBugs, and put the findbugs-ant.jar file into the lib directory of the ANT installation, but that did not help,
>> so I removed it.
>>
>> Any advice would be greatly appreciated.
>>
>>
>>
>> ________________________________
>> Email Disclaimer: www.stjude.org/emaildisclaimer
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
>> trial. Simplify your report design, integration and deployment - and focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Squirrel-sql-develop mailing list
>> Squ...@li...
>> https://lists.sourceforge.net/lists/listinfo/squirrel-sql-develop
>>
>
>
>
|