[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-dev] about load time weaving with WeavingClassLoader

Hi -

> Now,I try to realize load time weaving with making custom loader.
> but, I can't find any information(ex:sample,tutorial) about them.

For user-level use, in the AspectJ distribution try bin/aj.bat 
or docs/examples/build.xml target "tracing-lt"

For programmatic use, in the AspectJ CVS tree testing module,
see org.aspectj.testing.harness.bridge.JavaRun.runInSameVM(..)
which creates a weaving class loader if !spec.isLTW().  For
details on getting CVS from source, see

  http://www.eclipse.org/aspectj/doc/released/faq.html#q:buildingsource

or just go to the latest at
  http://dev.eclipse.org/viewcvs/index.cgi/*checkout*/org.aspectj/modules/testing/src/org/aspectj/testing/harness/bridge/JavaRun.java?rev=HEAD&cvsroot=Technology_Project&content-type=text/plain

The (next) AspectJ 5 release will add support for configuring 
aspects and the like, which should make load-time weaving easier
to use and more powerful.  For details on that, see

  http://www.eclipse.org/aspectj/doc/next/adk15notebook/ltw.html

Hope this helps -
Wes

> ------------Original Message------------
> From: "hotmail" <ryo_kanbayashi_special2@xxxxxxxxxxx>
> To: aspectj-dev@xxxxxxxxxxx
> Date: Wed, Jun-15-2005 10:42 PM
> Subject: [aspectj-dev] about load time weaving with WeavingClassLoader
>
> Hi all !!
> I'm not so good at English but I throw a question to this ML for using
> WeavingClassLoader and WeavingAdaptor.
> 
> Now,I try to realize load time weaving with making custom loader.
> but, I can't find any information(ex:sample,tutorial) about them.
> 
> If someone have successed developing custom loader with
> WeavingClassLoader,please show me your code. or please tell me where 
> sample
> exist.
> 
> thank you.
> 
> Ryo Kanbayshi from Japan.
> 
> 
> _______________________________________________
> aspectj-dev mailing list
> aspectj-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-dev
>