[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Disable ajcore files

I managed to sneak a fix into AspectJ 1.7.0 - if you want to try it
out you can grab that (not yet announced) version and try it out with
your org.aspectj.weaver.Dump.exception = false setting.

AJC1.7.0 here: http://eclipse.org/aspectj/downloads.php

cheers,
Andy



On 3 July 2012 12:38, Andy Clement <andrew.clement@xxxxxxxxx> wrote:
> Hi,
>
> Actually I was wrong, I just had a look in the code, that property
> should stop ajcores on exceptions... but whoever added it didn't
> actually wire it up properly.  The exception is read at startup and
> information stored, but it is never checked after that... let me see
> what I can do.
>
> Andy
>
> On 3 July 2012 11:06, Andy Clement <andrew.clement@xxxxxxxxx> wrote:
>> Hi,
>>
>> If I recall correctly the preferences around this (like
>> org.aspectj.weaver.Dump.exception) are more just about choosing what
>> is included in the core, not turning off the core.  Usually a core
>> indicates something serious has gone wrong.  Do you have a real
>> exception in one that we should fix?
>>
>> However, having said that, I'd be happy to have a sys prop to make
>> them optional in special cases - I raised
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=384189 to track the
>> enhancement.
>>
>> cheers,
>> Andy
>>
>> On 1 July 2012 18:44, Camilla Gomes <milla@xxxxxxxxxxxxxxxxx> wrote:
>>> I'd like to disable the creation of the files "ajcore" in websphere 7.5 / 8.
>>> I put the property "org.aspectj.weaver.Dump.exception = false" and nothing.
>>> My system is running normally and files ajcore not interest me. But it
>>> creates more than 20,000 files and over 1 gig in size and drop my server.
>>>
>>>
>>>
>>> Anyone can help me?
>>>
>>>
>>> _______________________________________________
>>> aspectj-users mailing list
>>> aspectj-users@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>>>