[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [aspectj-users] No aspectjtools.jar


            That's the only place I could find it, including ant build
File that I could get to work.  May save you some time. 
Had copies of the jars in my working folder (base.dir) 

I can sent you the accompanying eclipse project if you want. It is quite

Is aspectj in 3.1M5 pretty stable , I tinkered with it briefly 
But could not get it to work 

Hugh McBride
Curam Software

////////////////////////////////ant build//////////////////////////////////

<project name="shopping-tracing" default="run">
	<property environment="env" />
	<property name="base.dir" location="." />
	<property name="aspectj.dir" location="${base.dir}/resources" />
    <taskdef  resource=
	<echo message="AspectJ Home  is set to = ${aspectj.dir}\lib" />

    <target name="compile">
    	<echo>the aspect j directory is ${aspectj.dir}</echo>
    	<echo> java class path is  ${java.class.path}</echo>
        <mkdir dir="dest"/>
        <iajc destdir="dest">
        		 <pathelement path="${java.class.path}}"/>
	        <pathelement location="shopping"/>
		    <pathelement location="tracing"/>
    	<echo>Passing compile target</echo>

    <target name="run" depends="compile">    	
        <java classname="Test">        	
	        <pathelement location="dest"/>
		<pathelement path="${java.class.path}"/>


-----Original Message-----
From: Conway. Fintan (IT Solutions) [mailto:Fintan.Conway@xxxxxx] 
Sent: 13 April 2005 11:13
To: aspectj-users@xxxxxxxxxxx
Subject: [aspectj-users] No aspectjtools.jar

I am trying to build my project using Ant.

However in both the on-line help in Eclipse and in the book "eclipse
AspectJ" refer to defining a taskdef resource
(aspectjTaskDefs.properties) located in aspectjtools.jar.

I am using Eclipse 3.1M5a ,and ajdt 1.2.0, ajde 1.5.0 - both
20041214165937 builds.  Unfortunately this file (aspectjtools.jar) does
not exist in the eclipse/plugins/org.aspectj.ajde_1.5.0.20041214165937
directory, as per "eclipse AspectJ" book.  Nor does it exist in the
20050331181000 build.

In fact aspectjtools.jar does not exist ANYWHERE on my hard disk.

Why oh Why does the AJDT download not include this important file?

Do I need to download AspectJ separately every time I download AJDT just
to get my project to build with Ant?



* ** *** ** * ** *** ** * ** *** ** * 
This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed. 
Any views or opinions presented are solely those of the author, and do not
represent those of ESB. 
If you have received this email in error please notify the sender. 
Although ESB scans e-mail and attachments for viruses, it does not guarantee

that either are virus-free and accepts no liability for any damage sustained

as a result of viruses. 
* ** *** ** * ** *** ** * ** *** ** *

aspectj-users mailing list
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. If you are not the intended
addressee please contact the sender and dispose of this e-mail. Thank you.