I believe that this page has the information that you are looking for: http://wiki.eclipse.org/Developer%27s_guide_to_building_tools_on_top_of_AJDT_and_AspectJ#Getting_the_contents_of_an_AJCompilationUnit
Let us know if there is something else you need. On Wed, Apr 22, 2009 at 5:45 AM, Kenan ERKORKMAZ <[email protected]> wrote: > Hi! > > I am developing a plugin to find methods advised by the selected aspect in > eclipse. (though it is already done in ajdt for eclipse, but I couldn't find > that code snippet) > > I may use "ajc -showWeaveInfo ..." command but I need the class(es) used in > aspect in order to compile them. But at this time, compilation may not work > well since the classes may use external jars, classes etc. So I need to > supply all required arguments (included jars, build paths etc) to ajc. Is it > possible to get the build options for java (and so for ajc) in that > workspace, so that I can compile aspects and get weave info. > Note: I want to include only the selected aspect (not all of the included > aspects) into the compilation. Otherwise, all the weaving info will be > gathered instead of the selected aspect's weaving info.. > > I appreciate if you find an another way for my problem.. > > Thanks. > > kNone > > _______________________________________________ > aspectj-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/aspectj-users > > _______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
