Re: [aspectwerkz-user] dumping generated classes

Alexandru Popescu <[email protected]>
Newsgroups gmane.comp.java.aspectwerkz.user
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[quote Michael Haupt::on 4/10/2005 2:21 PM]
> Hi,
> 
> 
> my environment: Java 5 (Sun), AspectWerkz 2.0; and I'm experimenting with
> hot deployment, where you only specify a deployment scope in aop.xml and
> dynamically (un)deploy aspects through the Deployer API.
> 
> One thing that I have very much interest in is the code that is generated
> during preparation (as defined by the deployment scope) and weaving.
> 
> When I pass the -Daspectwerkz.transform.dump=* option to the aspectwerkz
> "binary", the _dump directory contains, after the run, class files for the
> application classes affected by aspects, and that's very fine.
> 
> Unfortunately, I miss the JoinPoint classes that I expect to be generated
> on the fly as well. Where can I find the class file for, e.g.,
> HelloWorld_1_1535311470__2012992996___AW_JoinPoint? How can I make
> AspectWerkz dump it as well?
> 
> Thanks in advance,
> 
> 
> Michael Haupt
> 
> 
> 
> 
> 
You should set to true the AbstractJoinPointCompiler.DUMP_JIT_CLASSES and than recompile and
recreate the distro (see ant clean dist).

In the next version this will be fixed and will be using the aspectwerkz.transform.dump too.

- --
:alex |.::the_mindstorm::.|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)

iD8DBQFCWbcjOCPjdDT2FEURAiaoAJ9wmgbvijfqWBBCGyt+lRovzOT7XwCfY3fZ
z6PwUJy8JMKQIvJUzWqulzU=
=yDzq
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.