ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Silterra <ja...@broadinstitute.org>
Subject Re: Trouble building using bcel
Date Mon, 05 Mar 2012 15:49:22 GMT
> Is this a system installed Ant?  There may be an additional package for
> optional tasks that didn't install.

This appears to be the problem. ant was packaged with my machine, and
apparently did not come with the optional libraries. So the answer to
my question is essentially "ant-apache-bcel.jar" was supposed to have
come with ant, and I should point anybody who needs it to the official
ant distribution.

Thanks a bunch,
-Jacob


On Fri, Mar 2, 2012 at 11:54 PM, Stefan Bodewig <bodewig@apache.org> wrote:
> On 2012-03-02, Jacob Silterra wrote:
>
>> If I place ant-apache-bcel-1.6.5.jar in ~/.ant/lib, everything builds
>> fine.  I can't find any documentation on this file, though, just
>> gleaned it from googling and downloaded from jarfinder, I couldn't
>> find an official download site.
>
> Ant 1.6.5 is old, very old.  1.8.3 is the current version.  You can
> download Ant from <http://ant.apache.org/bindownload.cgi> and old
> releases from <http://archive.apache.org/dist/ant/binaries/>.
>
> Ant comes with several jars, split up between classes that depend on
> third party libraries to work.  The file ant-apache-bcel-1.6.5.jar is
> the jar containing all classes inside of Ant that require Apache BCEL,
> there is a similar file in every binary distribution of Ant.
>
>> It seems like bcel-5.2.jar should be defining the <classfileset> tag,
>> but somehow it isn't being defined properly. Is there a possibility of
>> a path conflict?
>
> The class behind classfileset is defined in ant-apache-bcel.jar and
> requires classes from bcel-5.2.jar - so you need both jars.
>
>> This is the error mesage:
>> Unable to load dependency analyzer:
>> org.apache.tools.ant.util.depend.bcel.FullAnalyzer
>
>> Platform:
>> Mac OS X 10.7
>> Apache Ant(TM) version 1.8.2 compiled on October 14 2011
>> Using bcel-5.2.jar, in ~/.ant/lib and also /usr/share/ant/lib
>
> Is this a system installed Ant?  There may be an additional package for
> optional tasks that didn't install.
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>



-- 
Jacob Silterra
Software Engineer
Broad Institute

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message