[jboss-user] [JBoss AOP] - Re: Log Messages Not Showing with Compile Time Weaving
stale.pedersen@jboss.org
do-not-reply at jboss.com
Thu Mar 5 20:56:29 EST 2009
hi, please take a look at the pom.xml file in the method-execution example provided in the distro; jboss-aop-2.0.0.GA/docs/aspect-framework/examples/method-execution/pom.xml. there you'll see an example of a 2-step process where the classes are compile time woven, and then executed with the jboss-aop.xml referenced in the run step.
<plugin>
| <groupId>org.jboss.maven.plugins</groupId>
| <artifactId>maven-jbossaop-plugin</artifactId>
| <version>${jboss.aop.plugin.version}</version>
| <executions>
| <execution>
| <id>compile</id>
| <configuration>
| <aoppaths>
| <aoppath>jboss-aop.xml</aoppath>
| </aoppaths>
| </configuration>
| <goals>
| <goal>compile</goal>
| </goals>
| </execution>
| <execution>
| <id>run</id>
| <configuration>
| <aoppaths>
| <aoppath>jboss-aop.xml</aoppath>
| </aoppaths>
| <executable>Driver</executable>
| </configuration>
| <goals>
| <goal>run</goal>
| </goals>
| </execution>
| </executions>
| </plugin>
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4215539#4215539
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4215539
More information about the jboss-user
mailing list