Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Slimmed down jar for just command line weaving?

 
You should be able to avoid jar repackaging. If you use ant to build the module you want, you'll get all that's required for that module.  aspectjweaver.jar is just an alias for the loadtime5 module, so that should work standalone.  To get ajc, you need only build org.aspectj.ajdt.core (4.7MB).  aspectjtools.jar includes other stuff. 
 
We don't have a weaver-only command-line or ant interface.  You could probably just stick a command-line interface on WeavingAdaptor, with basic and logging options, in which case you'd only need to build the weaver module (775K).  We've always considered that, but have had no reason to surface a CLI apart from ajc.  Code for parsing classpaths, etc. should be in util, included by weaver.
 
Wes
 
------------Original Message------------
From: "Ron Bodkin" <rbodkin@xxxxxxxxxxxxxx>
To: aspectj-users@xxxxxxxxxxx
Date: Fri, Oct-7-2005 11:35 AM
Subject: [aspectj-users] Slimmed down jar for just command line weaving?

I am looking for a way to package a smaller sized jar to do binary-only weaving of jars. We want to distribute as small a jar file as possible, and have decided to use a weave on install approach for this project. Clearly most of what we need is in aspectjweaver.jar, but not all. It’s pretty important for our needs to have something more like the 1.5 megabyte aspectjweaver jar rather than the nearly 8 megabyte aspectjtools.jar

 

Has anyone packaged such a thing? Is there a small set of jars from the raw aj-build/jars that could be put together to support this requirement?

 

Ron Bodkin

Chief Technology Officer

New Aspects of Software

w: (415) 824-4690

 

_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Back to the top