Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Weaving only some files in a jar, or excluding resources


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, matthew_webster@xxxxxxxxxx
http://w3.hursley.ibm.com/~websterm/



"Carlos Sanchez" <carlos@xxxxxxxxxx>
Sent by: aspectj-users-bounces@xxxxxxxxxxx

16/08/2006 04:21

Please respond to
aspectj-users@xxxxxxxxxxx

To
aspectj-users@xxxxxxxxxxx
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
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users


Back to the top