ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Reilly" <>
Subject Re: searching help for: class org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter can not be found
Date Tue, 23 Oct 2007 15:33:47 GMT
I downloaded aspectj, it seems that there been changes
since 1.0 - check the doc.
Placing all the jar files in $EXAMPLE/lib, the following works
for me:
<project default="run">
  <target name="run">
    <taskdef name="ajc"
        <fileset dir="lib" includes="*.jar"/>
    <mkdir dir="classes"/>
    <ajc srcdir="src" destdir="classes">
        <fileset dir="lib" includes="*.jar"/>


On 10/23/07, Dominique Devienne <> wrote:
> On 10/23/07, rolando80 <> wrote:
> > I've tried the possibilities proposed by you but it didn't work.
> Bummer.
> > Could it be that its because the class DefaultCompilerAdapter is within
> > ant.jar and aspectjtools.jar?
> It rarely a good idea to have duplicate classes in jar. Have you tried
> removing the duplicate class from aspectjtools.jar. BTW, have you
> asked a question on the aspectj forum?
> > But i can't leave aspectjtools.jar because it contains the class Ajc which
> > is required.
> There's a switch of the JVM which allows you to see a very verbose
> output of all class loading activities, showing you precisely where
> classes are loaded from.
> Not much to go on, I know, sorry. --DD
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message