Outputting only woven classes

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Outputting only woven classes

Ramon Casha
When using ajc -inpath with jar files, the output classes directory gets a new copy of every class in those jar files - even if there are no pointcuts or advice that can affect most of the classes.

Is there any way to tell ajc to only output those classes that are affected?

Ramon Casha

_______________________________________________
aspectj-users mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-users
Reply | Threaded
Open this post in threaded view
|

Re: Outputting only woven classes

Andy Clement
Hi,

Unfortunately no, it will produce them all. For entire jars that are unaffected you could just put those on the classpath, they don't need to be on the inpath. I would say use the weave info output to recognize which files are actually changed but I suspect there are some internal modifications made to classes that don't get associated weave messages. I suppose your option is probably to use a simple script that compares sizes/checksums before/after.

cheers
Andy

On 7 October 2016 at 05:07, Ramon Casha <[hidden email]> wrote:
When using ajc -inpath with jar files, the output classes directory gets a new copy of every class in those jar files - even if there are no pointcuts or advice that can affect most of the classes.

Is there any way to tell ajc to only output those classes that are affected?

Ramon Casha

_______________________________________________
aspectj-users mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-users


_______________________________________________
aspectj-users mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-users