I found a solution for this problem by setting some dependencies and
plug-ins into the build.xml file:
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjrt</artifactId>
<version>1.6.7</version>
<scope>compile</scope>
</dependency>
------------------------------------------------------------
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<version>1.3</version>
<configuration>
<verbose>true</verbose>
<privateScope>true</privateScope>
<complianceLevel>1.5</complianceLevel>
</configuration>
<executions>
<execution>
<goals>
<goal>compile</goal>
<goal>test-compile</goal>
</goals>
</execution>
</executions>
</plugin>
On Tue, Apr 27, 2010 at 2:20 PM, Douglas Leite <[email protected]>wrote:
> I have noticed that aspectj can be used on Tuscany SCA via annotations
> based development style. Instead of that, could I use the traditional
> AspectJ code-based style of aspect declaration, i.e., the *.aj files?
>
> Thanks,
>
> --
> Douglas Siqueira Leite
> Graduate student at University of Campinas (Unicamp), Brazil
>
>
--
Douglas Siqueira Leite
Graduate student at University of Campinas (Unicamp), Brazil