[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Problems using iajc with Ant

Use -inpath for binary input, and please read the documentation.

Wes

------------Original Message------------
From: Irum Godil <softwarengineer2004@xxxxxxxxx>
To: aspectj-users@xxxxxxxxxxx
Date: Thu, Mar-10-2005 8:56 AM
Subject: Re: [aspectj-users] Problems using iajc with Ant
Hi,
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. 
Thanks. 

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.

Wes

------------Original Message------------
From: Irum Godil 
To: "AJDT USER" 
Date: Wed, Mar-9-2005 9:36 AM
Subject: [aspectj-users] Problems using iajc with Ant
Hi,

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,
just speculating." 
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?
Thanks.
Sincerely,
Irum Godil.



Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 

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



Do you Yahoo!?
Make Yahoo! your home page