[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] ant errors

> I have installed aspectJ at path c:\aspectj1.2.

Did you try changing the taskdef declaration to point to your install?

from: <pathelement location="${home.dir}/tools/aspectj/lib/aspectjtools.jar"/>
to: <pathelement location="c:/aspectj1.2/lib/aspectjtools.jar"/>

hth- wes

------------Original Message------------
From: Irum Godil <softwarengineer2004@xxxxxxxxx>
To: aspectj-users@xxxxxxxxxxx
Date: Wed, Jan-19-2005 6:31 PM
Subject: [aspectj-users] ant errors
I am using the following sample ant file:
<project name="simple-example" default="compile" >
      <pathelement location="${home.dir}/tools/aspectj/lib/aspectjtools.jar"/>
  <target name="compile" >
    <iajc sourceroots="test"
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.


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