Venkat,
It is slightly annoying and I think it has to be brought up with the aspectj
folks. Your project is compiling fine, because, as you said, you have
aspectjrt-1.1.1.jar in the project.xml. For some reason, the ajc compiler
complains if it is not named "aspectjrt.jar".
So, to get around the warning, change the entry for the aspectjrt.jar in
your project.xml.
<dependency>
<groupId>aspectj</groupId>
<type>jar</type>
<artifactId>aspectjrt</artifactId>
<jar>aspectjrt.jar</jar>
<properties>
<classloader>root</classloader>
<war.bundle>true</war.bundle>
</properties>
</dependency>
That will do it. Make sure you copy aspectjrt-1.1.1.jar to aspectjrt.jar
in your repository.
Oh, and you should consider switching to aspectj-1.2, it has better features
and it compiles much faster.
Charlie
Sonnathi, Venkat said the following on 6/3/2004 8:37 AM:
Hi,
I get this warning! Where should the aspectjrt.jar be present?
aspectj:weave-internal:
[move] Moving 1 files to Z:\build\gold\GOLD-presentation
[iajc] couldn't find aspectjrt.jar on classpath, checked:
[iajc]
[iajc] 1 warning
[iajc] Building zip:
Z:\build\gold\GOLD-presentation\GOLD-presentation-1.0.j
ar
I have dependency on aspectjrt-1.1.1.jar in my project.xml.
Thanks,
--Venkat.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]