Carlos,

The best approach with binary weaving is to maintain the same application modularity, i.e. weave each JAR separately. In my experience applications fail when resources are missing that is why AspectJ is careful to copy them from injar to outjar. The only way to deliberately sub-set a JAR is to use Ant to unpack, weave then repack it.

Matthew Webster
AOSD Project
Java Technology Centre, MP146
IBM Hursley Park, Winchester,  SO21 2JN, England
Telephone: +44 196 2816139 (external) 246139 (internal)
Email: Matthew Webster/UK/IBM @ IBMGB, [EMAIL PROTECTED]
http://w3.hursley.ibm.com/~websterm/



"Carlos Sanchez" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]

16/08/2006 04:21

Please respond to
[email protected]

To
[email protected]
cc
Subject
[aspectj-users] Weaving only some files in a jar,        or excluding resources





Is it possible to exclude/include classes to be weaved from a jar
(using the -inpath option)?

If not, is there any way to avoid getting the resources inside the jar
in the destination folder?

Thanks

--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
                            -- The Princess Bride
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to