[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-dev] The size of aspectjrt.jar
|
> i agree - we need a smaller variant too.
109133 aspectj5rt-all.jar (alias of aspectjrt.jar)
62127 aspectj5rt.jar
47719 runtime.jar
As you know, it's not hard to to make a variant of
aspectjrt.jar that matches runtime.jar (but doesn't
strip out reflection/cflow).
To ship a non-java5 variant,
o create a zero-length file
build/products/tools/dist/lib/aspectjrt-noJava5.jar
o alias it to runtime.jar,
echo "alias.aspectjrt-noJava5.jar=runtime.jar" \
>>
build/src/org/aspectj/internal/tools/build/Builder.properties
o update runtime/runtime.mf.txt,
o and roll it into the documentation
- AspectJ 5 readme
- Development Environment Guide
...?
The name is a bit awkward. "aspectjrt.jar" must be the
standard jar name for consistency with practice/docs.
To avoid support costs, we might also want to handle
the error of using the variant with Java 5.
I can do this, but only between Thursday and Sunday. Bug?
Wes
P.S. - As for further stripping out cflow/reflection,
we'd want some tests before officially supporting that.
On Tue, 13 Dec 2005 11:30:21 +0000
Andy Clement <andrew.clement@xxxxxxxxx> wrote:
> i agree - we need a smaller variant too.
>
> On 13/12/05, Matthew Webster <matthew_webster@xxxxxxxxxx>
> wrote:
> >
> >
> > I am relaying the observation from someone using
> AspectJ 5 with J2ME that
> > the runtime is now > 100K which is more than twice the
> size it was in
> > version 1.2.1. Most of this increase can be attributed
> to Java 5 only
> > features such as AjType which are not applicable to the
> J2ME environment. If
> > runtime size is considered a barrier to use, as it was
> in the case I
> > witnessed, it would make sense to produce a version
> that is targeted to a
> > small environment.
> >
> > 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/<http://w3.hursley.ibm.com/%7Ewebsterm/>
> > _______________________________________________
> > aspectj-dev mailing list
> > aspectj-dev@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/aspectj-dev
> >
> >
> >