The ant buildfile excerpt found on the 'Getting Started' page in the website [1] is incomplete. It is missing the 'aspectpath' element in the 'iajc' task.
A proper excerpt would be:
<target name="iajc-compile" unless="production" description="Compiles sources using iajc">
<taskdef resource="org/aspectj/tools/ant/taskdefs/aspectjTaskdefs.properties">
<classpath>
<pathelement location="${lib}/aspectjtools.jar" />
</classpath>
</taskdef>
<iajc srcdir="${src}" destdir="${classes}" source="1.5">
<classpath refid="jars" />
<!-- Need the aspectpath to find the binary aspect in the jar file -->
<aspectpath path="${lib}/jexin.jar" />
</iajc>
</target>
<target name="javac-compile" if="production" description="Compiles sources using javac">
<javac srcdir="${src}" destdir="${classes}">
<classpath refid="jars" />
<classpath refid="nodeploy-jars" />
</javac>
</target>
Regards,
--
Pedro Pedruzzi
ppedruzzi@v2com.mobi
Logged In: YES
user_id=1352030
Originator: NO
Thanks for pointing this out. I will confirm this and update the web page asap.