[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[aspectj-users] ant errors
|
Hi,
I am using the following sample ant file:
<project name="simple-example" default="compile" >
<taskdef
resource="org/aspectj/tools/ant/taskdefs/aspectjTaskdefs.properties">
<classpath>
<pathelement location="${home.dir}/tools/aspectj/lib/aspectjtools.jar"/>
</classpath>
</taskdef>
<target name="compile" >
<iajc sourceroots="test"
classpath="c:\aspectj1.2\lib\aspectjrt.jar"/>
</target>
</project>
But I keep getting the following error:
[taskdef] Could not load definitions from resource org/aspectj/tools/ant/taskdefs/aspectjTaskdefs.properties. It could not be found.
compile:
BUILD FAILED: C:\Documents and Settings\Administrator\Desktop\eclipse-SDK-3.0.1-win32\eclipse\workspace\test\build.xml:12: Could not create task or type of type: iajc.
Ant could not find the task or a class this task relies upon.
Can someone please tell me what am I doing wrong. I have installed aspectJ at path c:\aspectj1.2.
thanks a lot.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com