Skip to main content

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

Fintan,

            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
small. 

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=
"org/aspectj/tools/ant/taskdefs/aspectjTaskdefs.properties">
    	<classpath>
	 	  <pathelement
location="${aspectj.dir}/lib/aspectjtools.jar"/>
	 </classpath>
    </taskdef>
 
	
	<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">
        	<classpath>
        		 <pathelement path="${java.class.path}}"/>
        		 <pathelement
location="${aspectj.dir}/lib/aspectjrt.jar"/>
        	</classpath>
            <sourceroots>
	        <pathelement location="shopping"/>
		    <pathelement location="tracing"/>
	    </sourceroots>
	</iajc>
    	<echo>Passing compile target</echo>
    </target>

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





////////////////////////////////////////////////////////////////////////////



-----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?

Regards,

Fintan


* ** *** ** * ** *** ** * ** *** ** * 
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
necessarily 
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
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users
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.


Back to the top