Re: using aspectwerkz in a web app

Jonas BonĂ©r <[email protected]> Mon, 28 Apr 2003 08:22:31 +0200
Newsgroups gmane.comp.java.aspectwerkz
Message-ID <[email protected]>
Hi Christoph.

The other option you have is to post-process your files with the:
	aspectwerkz -offline <definitionfile> <classpath> <srcdir>

This will then your class files and you can then deploy them as normal.
Please note that you have to feed the JVM with a couple of parameters to 
make it work.
E.g.:
	-Daspectwerkz.home=<path_to_the_root_of_the_distribution>   and the
	-Daspectwerkz.definition.file=<path_to_the_definition_file> options.
You also have to put all the libraries in the ASPECTWERKZ_HOME/lib 
directory in your classpath.

See the docs for more information 
[http://aspectwerkz.sourceforge.net/documentation.html#Startup%20and%20transformations]

- Jonas

Christoph Sturm wrote:
> Hi All!
> 
> What is the recommended way to use aspectwekrz in a webapp?
> 
> Must I start the app server with the jmangler loader or is there an
> option that should work with a normally started app server?
> 
> thanks
>  chris


-- 
Jonas
http://freeroller.net/page/jboner





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf