Skip to content

Commit

Permalink
Permite executar o projeto com weaving...
Browse files Browse the repository at this point in the history
  • Loading branch information
rdlopes committed Mar 28, 2011
1 parent d329607 commit 9aab897
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .classpath
Expand Up @@ -3,6 +3,7 @@
<classpathentry kind="src" path="src/main/java"/>
<classpathentry kind="src" path="src/others"/>
<classpathentry kind="src" path="src/test/java"/>
<classpathentry kind="src" path="resource"/>
<classpathentry kind="lib" path="lib/mongo-2.1.jar"/>
<classpathentry kind="lib" path="lib/test/mockito-all-1.8.3.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
Expand All @@ -12,8 +13,8 @@
<classpathentry kind="lib" path="lib/test/log4j-1.2.15.jar"/>
<classpathentry kind="lib" path="lib/test/slf4j-log4j12-1.6.1.jar"/>
<classpathentry kind="lib" path="lib/test/junit-4.8.1.jar"/>
<classpathentry kind="con" path="org.eclipse.ajdt.core.ASPECTJRT_CONTAINER"/>
<classpathentry kind="lib" path="lib/test/junit-dep-4.8.1.jar"/>
<classpathentry kind="lib" path="lib/test/hamcrest-all-1.2RC3.jar"/>
<classpathentry kind="lib" path="lib/test/junit-dep-4.8.1.jar"/>
<classpathentry kind="lib" path="lib/aspectjrt.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
3 changes: 1 addition & 2 deletions .project
Expand Up @@ -6,13 +6,12 @@
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.ajdt.core.ajbuilder</name>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.ajdt.ui.ajnature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
12 changes: 12 additions & 0 deletions resource/META-INF/aop.xml
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE aspectj PUBLIC
"-//AspectJ//DTD//EN" "http://www.eclipse.org/aspectj/dtd/aspectj.dtd">
<aspectj>
<aspects>
<aspect name="org.monjo.document.DirtyWatcherAspect"/>
</aspects>
<weaver options="-verbose">
<include within="org.monjo.example.*"/>
<include within="org.monjo.document.*"/>
</weaver>
</aspectj>

0 comments on commit 9aab897

Please sign in to comment.