Skip to content

Commit

Permalink
spacing and typo minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
maurcarvalho committed Feb 22, 2016
1 parent c76cc8e commit 5ed113f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/site/apt/example-weaving-ant.apt.vm
Original file line number Diff line number Diff line change
Expand Up @@ -46,24 +46,24 @@ Weaving Java Binaries using Ant build strategy
you run AspectJ weaver which modifies <<<.class>>> files, producing
new "weaved" versions of them.

Sometimes when you're working on legacy system Maven build is not available
Sometimes when you're working on legacy system, Maven build is not available
and in a lot of them, the build system is provided by ant macros.
Luckily, we can provide a production working example.
All you need to do to start using our AOP aspects with an Ant build are
All you need to do to start using our AOP aspects with an Ant build is to
include {{{https://eclipse.org/aspectj/doc/next/devguide/antTasks-iajc.html}aspectjrt}}
into your lib path and add these macros to your <<<build.xml>>>:

+--
<path id="classpath">
<pathelement location="${aspectjrt.jar}"/>
<pathelement location="${aspectjrt.jar}"/>
</path>

<!-- Define aspectj element path -->
<path id="aspect.path">
<pathelement path="${aspectj.jar}"/>
<pathelement path="${aspectj.jar}"/>
</path>

<!--Resposible to weave/merge the javac binary code result with aj binaries -->
<!--Responsible to weave/merge the javac binary code result with aj binaries -->
<target name="weave-binary">
<iajc showWeaveInfo="true" inpath="${targetdir}" destDir="${targetdir}" fork="true">
<aspectpath refid="aspect.path"/>
Expand Down

0 comments on commit 5ed113f

Please sign in to comment.