Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] How to compile an aspect for Load time weaving using ajc

I am not sure about to put it when you've built it - but to compile it
just use straight ajc - if there are types it refers to directly
rather than through wildcard patterns then they will need to be on the
classpath ideally.  If it is using java5 you will need to specify the
-1.5 flag.

Or use AJDT to build it if you are in Eclipse.

Andy.

On 30/01/2008, Pradeep_ Kumar <pradeep_kumar@xxxxxxxxxxxxxxxxxx> wrote:
>
>
>
>
> Hi Everyone,
>
>
>
> I am trying to use AspectJ to monitor my servlets running on Tomact 5.5.  I
> have configured Tomcat properly but don't know how to compile my aspect that
> I have already written.  For example my aspect is HttpMonitor.java.  Please
> let me know how can I compile it using ajc.
>
>
>
> If I am not wrong then I need to compile my aspect first and then need to
> copy in classes folder of my web application.
>
>
>
>
>
> Thanks and Regards
>
> PRADEEP KUMAR
>
> Solution Architect
>
> +91 99100 71728 | Bharti Telesoft Ltd. New Delhi-20 | Extension: 1311
>
>
>  ________________________________
>  This e-mail and all material transmitted with it are for the use of the
> intended recipient(s) ONLY and contains confidential and/or privileged
> information. If you are not the intended recipient, please contact the
> sender by reply e-mail and destroy all copies and the original message. Any
> unauthorized review, use, disclosure, dissemination, forwarding, printing or
> copying of this email or any action taken pursuant to the contents of the
> present e-mail is strictly prohibited and is unlawful.
>  The recipient acknowledges that Bharti Telesoft Limited or its management
> or directors, are unable to exercise control or ensure the integrity over
> /of the contents of the information contained in e-mail. Any views expressed
> herein are those of the individual sender only and no binding nature of the
> contents shall be implied or assumed unless the sender does so expressly
> with due authority of Bharti Telesoft Limited. E-mail and any contents
> transmitted with it are prone to viruses and related defects despite all
> efforts to avoid such by Bharti Telesoft Limited.
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>


Back to the top