[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [aspectj-users] No aspectjtools.jar
|
you can try that ... and it may work if the classpath used when invoking
ant
includes some of the eclipse plugin jars on its path (core/resources and
osgi I
think it is) - but if you run it entirely outside of eclipse, I believe it
will fail.
After a bit of investigation here ...
AJDT is currently 12Meg to download
aspectjtools.jar is ~6.5 Meg
ajde.jar is ~5 Meg
So we can:
- include aspectjtools.jar in AJDT. This will increase the download size
of AJDT
by 50%
- include 'the bits missing from ajde.jar' in another jar in AJDT. This
will
increase AJDT size by 1.5Meg but means you have to put two jars on your
classpath
in your ANT scripts (and will mean configuration for build.xml to use
iajc inside
AJDT will be different to outside AJDT)
- in addition to (2) ship a bit of ant xml that puts them together into a
local aspectjtools.jar in org.aspectj.ajde
Andy.
"Conway. Fintan
(IT Solutions)"
<Fintan.Conway@es To
b.ie> <aspectj-users@xxxxxxxxxxx>
Sent by: cc
aspectj-users-bou
nces@xxxxxxxxxxx Subject
RE: [aspectj-users] No
aspectjtools.jar
13/04/2005 14:11
Please respond to
aspectj-users@ecl
ipse.org
Coincidentally enough the aspectjTaskDefs.properties file is located in the
ajde.jar in the same place as it was in the aspectjtools.jar.
I will try this instead.
Thanks Andy,
Fintan
-----Original Message-----
From: aspectj-users-bounces@xxxxxxxxxxx
[mailto:aspectj-users-bounces@xxxxxxxxxxx]
Sent: 13 April 2005 12:13
To: aspectj-users@xxxxxxxxxxx
Subject: RE: [aspectj-users] No aspectjtools.jar
> Why oh Why does the AJDT download not include this important file?
The ajde.jar included in the AJDT plugin is a subset of
aspectjtools.jar
- if it wasn't a subset you wouldn't get features like eager parsing
and eager updates in the package explorer/outline view as you type.
The only reason we don't also include aspectjtools.jar is it would
increase the download size another 6Meg. But I am reasonably
happy to do this if people want it ? Anyone on a dialup connection
want to complain?
Andy.
---
Andy Clement
AspectJ
"Conway. Fintan (IT Solutions)"
<Fintan.Conway@xxxxxx>
Sent by: aspectj-users-bounces@xxxxxxxxxxx
To
<aspectj-users@
13/04/2005 11:42 eclipse.org>
cc
Please respond to Subject
aspectj-users@xxxxxxxxxxx RE:
[aspectj-users]
No
aspectjtools.ja
r
Hi Hugh,
I have had no problems running the same code in 3.1M5a as 3.1.M3.
Thanks for the info.
Regards,
Fintan
-----Original Message-----
From: aspectj-users-bounces@xxxxxxxxxxx
[mailto:aspectj-users-bounces@xxxxxxxxxxx]
Sent: 13 April 2005 11:24
To: 'aspectj-users@xxxxxxxxxxx'
Subject: 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.
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users