Hi,

I suggest you to ignore the warning and don't modify the repository jars as
it is the normal operation and you may have issues in next versions if you
do so. Hope the guys at AspectJ remove the warning.

I think also that the <classloader>root</classloader> property has been
deprecated.


Carlos Sanchez
A Coru�a, Spain

Oness Project
http://oness.sourceforge.net
 

> -----Original Message-----
> From: Charles N. Harvey III [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, June 03, 2004 3:54 PM
> To: Maven Users List
> Subject: Re: Aspectj warning
> 
> 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]
> 
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to