|Duplicate Eclipse classes in aspectjtools.jar ?! [message #582557]
||Fri, 06 August 2004 14:59
| Thierry Monney
Registered: July 2009
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.
Powered by FUDForum
. Page generated in 0.14273 seconds