[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [aspectj-users] silly error

This bug was fixed just after rc2 went out:

  http://bugs.eclipse.org/bugs/show_bug.cgi?id=37576

Wes

Ron Bodkin wrote:

What version(s) of Java are you using to run ant and targeting for
compilation? I ran into this same problem when compiling on Eclipse that
ran under a 1.3 VM but I was targeting a 1.4 project (i.e., the boot
classes were for 1.4).

Ron

-----Original Message-----
From: aspectj-users-admin@xxxxxxxxxxx
[mailto:aspectj-users-admin@xxxxxxxxxxx] On Behalf Of Rajesh Honnawarkar
Sent: Wednesday, May 21, 2003 8:02 PM
To: aspectj-users@xxxxxxxxxxx
Subject: [aspectj-users] silly error

Hi all,
I am sure this is some silly error that I am getting...We have been
using
1.0.6 all this time, and I am trying out the 1.1.rc2 ant based task -
iajc
and keep getting the following error:

     [iajc] D:\dev\java\aspectj2\src\Caller.java:1 This compilation unit
indirectly references the missing type java.lang.Object (typically some
required class
file is referencing a type outside the classpath)

Anyone know where I could be making mistakes?

I can run the build.xml that comes with the examples fine.

A portion of my build.xml that I am trying is:


<taskdef resource="org/aspectj/tools/ant/taskdefs/aspectjTaskdefs.properties"> <classpath> <pathelement path="${aspectjtools.jar}"/> </classpath> </taskdef>


<iajc sourceRoots="${java.src.dir}" incremental="true" destdir="${java.classes.dir}" debug="on" deprecation="off" > <classpath > <path refid="project.class.path"/> <pathelement path="${aspectjrt.jar}"/> </classpath> </iajc>


Thanks

Rajesh

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/aspectj-users

_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/aspectj-users