[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Why are you using LTW?

Hi,

I was wondering why other people use LTW (Load Time Weaving) instead of compile time?

The main reason for me would be that with compile time you are not using the 'official' compiler of Java. Is this something I should worry about or is it just paranoia on my side?

Another reason is that it seems attractive to be able to disable aspects when not needed, but so far I never felt the need to disable them.

I am now thinking on switching to compile time, mainly to be able to do 'declare warning' and 'declare error', because I like to be able to lay down custom rules like this that are very specific to the project, but are easily enforced this way.

regards,

Wim