Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » Duplicate Eclipse classes in aspectjtools.jar ?!
Duplicate Eclipse classes in aspectjtools.jar ?! [message #582557] Fri, 06 August 2004 14:59
Thierry Monney is currently offline Thierry MonneyFriend
Messages: 10
Registered: July 2009
Junior Member
Hi all !

We are having a strange problem using AJDT.

We are writing an aspect that crosscuts the org.eclipse.jdt.core.dom.AST class and needs to access
the AST.JLS2 and CompilationUnit.IMPORTS_PROPERTY constants. But we get an error that these
constants are not declared in the AST class.

When investigating to find where this error came from, we discovered that many Eclipse classes were
duplicated in the aspectjtools.jar file. One of them is precisely the AST class. The problem is that
this one does not declare our needed constants !

So here are our questions :

1) Why do you need to duplicate all these classes ?

2) If you need to (as we suppose, since you would not have done this just for fun :-)), why did you
not duplicate the constants as well ?

We suppose that you just copied the classes from other jars which were updated since then, so that
yours are not up to date...

If you did not modify the contents of these classes, we should be able to replace the AST class in
the aspectjtools.jar file, right ?

We really need these constants in our code...

Thanks for your help !

P.S. Thanks for the great tool...
P.P.S. We are looking forward to seeing Lancaster released !

Thierry Monney & al.
Previous Topic:AJDT version 1.1.11 works with AspectJ version 1.2 or 1.1.1 ?
Next Topic:Visualization Perspective causes NPE
Goto Forum:

Current Time: Thu May 24 21:54:19 GMT 2018

Powered by FUDForum. Page generated in 0.01435 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top