[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [aspectj-users] Problems using iajc with Ant
- From: "Wes Isberg" <wes@xxxxxxxxxxxxxx>
- Date: Thu, 10 Mar 2005 13:03:06 -0800
- Delivered-to: firstname.lastname@example.org
Use -inpath for binary input, and please read the documentation.
From: Irum Godil <softwarengineer2004@xxxxxxxxx>
Date: Thu, Mar-10-2005 8:56 AM
Subject: Re: [aspectj-users] Problems using iajc with Ant
This works for most of the files, or at least I am not getting the error now. However, I have one zip folder in the application inside the class path. This zip folder only has ".class" files and no source files. When I add its path to the source roots I keep getting an error "bad source path". Also, since I do not have the source files for it I am not sure how to include them.
Any ideas here will be appreciated.
Wes Isberg <wes@xxxxxxxxxxxxxx> wrote:
ajc, and hence iajc, requires that all source files be listed
explicitly (whereas javac will go looking for sources in the
sourcepath). I recommend using the sourceroots option. The
classpath is the same as for javac. You'll find more details
on the options and alternatives in the developers guide.
From: Irum Godil
To: "AJDT USER"
Date: Wed, Mar-9-2005 9:36 AM
Subject: [aspectj-users] Problems using iajc with Ant
I am trying to use the iajc compiler to build aspects, and I keep getting the error:
[iajc] C:\Derby\aspderby\java\build\org\apache\derbyBuild\classlister.java:23 [error] The import org.apache.derby cannot be resolved
[iajc] import org.apache.derby.iapi.services.classfile.*;
[iajc] ^^^^^^^^^^^^^^^I am not getting this error with javac, I am attaching the build.xml file.
I saw a posting on the eclipse list at: http://dev.eclipse.org/mhonarc/lists/aspectj-users/msg02560.html where the same problem has been addressed:
"The imports that iajc was complaining about were not listed as inputs in my
build.xml file. After adding them, iajc compiled them fine. What's peculiar is
that the 'javac' task didn't complain about the missing input files. Perhaps
the 'javac' task searches for referenced, but missing, classes? I don't know,
I tried adding the above folder in my class path, but I still keep getting the same error. Can someone please tell me how to get around this issue?
Celebrate Yahoo!'s 10th Birthday!
Yahoo! Netrospective: 100 Moments of the Web
aspectj-users mailing list
Do you Yahoo!?
Make Yahoo! your home page