Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Trying to build with iajc with Ant outside eclipse 3.2 with Ajdt 1.5

Hi Ed,
 
Try adding the following snippet to your build.xml file:
 
<taskdef resource="org/aspectj/tools/ant/taskdefs/aspectjTaskdefs.properties">
  <classpath>
   <pathelement location="${aspectj_home}/lib/aspectjtools.jar"/>
  </classpath>
 </taskdef>
 
That should do it as it works for me and I am using AspectJ 1.5.2a, assuming you specify the path correctly to aspectjtools.jar.
 
Regards,
 
Doug
 
-------------- Original message --------------
From: "Ed Lauder" <elauder@xxxxxxxxxxxxx>

I am trying to build with iajc version org.eclipse.ajde_1.5.2

 

For whatever reason the task I defined won’t get picked up.  Ant is returning: Could not create task or type of type: iajc.

 

Any ideas?  All of the samples I have found deal with older version of the ajde.  With the newer version I don’t see the aspectjtools.jar.

 

Thanks

Ed

--- Begin Message ---
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users

--- End Message ---

Back to the top