Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » How to modify an AspectJ sourcefile
How to modify an AspectJ sourcefile [message #584431] Thu, 28 October 2004 19:32
Juergen Graf is currently offline Juergen GrafFriend
Messages: 4
Registered: July 2009
Junior Member
Hi,

I'm developing a plug-in for eclipse, that uses Ajdt to analyse AspectJ
projects. During the analysis I want to read and modify the sourcecode
of some AspectJ files. In the JDK Plugin developers section of the
eclipse help system it is said, that an ICompilationUnit object should
be used for this purpose (retrieve WorkingCopy, modify, commit, ...).
At this time I've only got the name (location) of the file I want to
edit, but I don't know how to get an ICompilationUnit object.

So how can this be done?
Or is there another way to modify an AspectJ sourcecode file that should
be used instead?

Greets,
Juergen
Previous Topic:Wrong classpath in ajdoc
Next Topic:Strategy for multi-project aspects with 1.1.4 in Eclipse 2.1?
Goto Forum:
  


Current Time: Thu Apr 25 22:35:07 GMT 2024

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

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

Back to the top