Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-dev] Reg: weaver options in aop-ajc.xml

Hi Laks,

I just wanted to chip-in and say with AspectJ 1.6.7 I am adjusting
some of the option defaults.  Type demotion will be on by default for
example - because everyone seems to turn it on and I've not had a
single bug in that it affects anything adversely.  This will all be
the in the README with 1.6.7 (due before year end).  Also, the memory
profile for 1.6.7 is very different to what we have had before - I
would be very interested in any feedback if you had a chance to try a
dev build ( http://eclipse.org/aspectj/downloads.php ).  My goal would
be you don't need to specify any weaver options in order to get the
best behaviour.

cheers,
Andy

2009/12/13 Lakshminarayanan Seshadri <lnarayanan.seshadri@xxxxxxxxx>:
> Hi Ramnivas
>   Thanks for your reply.
> I got your answer that there is no way to get weaver options inside the
> generated aop-ajc.xml.
>
> Just to make my query clear,
> i generate a aspect library jar from ajc with -outxml option and place this
> aspect jar along with aspectjrt.jar in my appl. CLASSPATH for LTW agent
> (aspectjrtweaver.jar to pickup). However just to add some additional weaver
> options  to reduce memory usage as of 1.6.6 aspectJ  i have to place a
> aop.xml inside a META-INF directory and include this META-INF as you
> suggested in the runtime CLASSPATH of my appl. startup script
>
>  -Xset:typeDemotion=true,typeDemotionDebug=true,bcelRepositoryCaching=false"
> (I was thinking that without the need to place a META-INF directory
> containing aop.xml in my appl CLASSPATH there would be some ajc options to
> get weaver options included in the generated aoj-ajc.xml)
>
>
> Anyway thanks again for your reply.
>
>
> Regards
> Laks
>
> On Sun, Dec 13, 2009 at 9:34 PM, Ramnivas Laddad <ramnivas@xxxxxxxxxxxxxxx>
> wrote:
>>
>> I am not sure if I understand you question. However, there is nothing
>> special that needs to be done to make a jar an aspect library. If you need
>> to include additional weaving options, you can simply add a hand-written
>> aop.xml in the META-INF directory in that jar (there are no options to
>> modify aop-ajc.xml itself).
>> -Ramnivas
>>
>> On Sun, Dec 13, 2009 at 7:43 AM, Lakshminarayanan Seshadri
>> <lnarayanan.seshadri@xxxxxxxxx> wrote:
>>>
>>> Hi
>>>   Can anyone point me of there is a way to make weaver options
>>> automatically included in the aop-ajc.xml that gets generated with -outxml
>>> option when using ajc
>>>   to generate a aspect library jar?
>>>
>>>
>>>
>>> _______________________________________________
>>> aspectj-dev mailing list
>>> aspectj-dev@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/aspectj-dev
>>>
>>
>>
>> _______________________________________________
>> aspectj-dev mailing list
>> aspectj-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/aspectj-dev
>>
>
>
> _______________________________________________
> aspectj-dev mailing list
> aspectj-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-dev
>
>


Back to the top