Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » Weaving bytecode
Weaving bytecode [message #572785] Fri, 07 November 2003 19:51
Eclipse UserFriend
Originally posted by: anders.oxieif.se

Hej


I am trying to add aspects to classes that I do not have the source code
for. I can see in the eclipse browser that my own classes are affected by
my aspectj code. It does also work ok when executing the application. But
to affect other code also, I tried to use the possibility to weave byte
code in jar-files directly.
To try it I took the java.io.File class and put it in a jar file of its
own. Then I added it to eclipse ( I use the ajdt add-in). In the directory
were class files are generated I found the directory structure java/io and
in that directory the file File.class. Seems ok so far, but then wheen
executing nothing happens. Neither do the eclipse aspectj browser show any
aspects for that class-file.


Any help appreciated.


Regards


Anders Persson
Previous Topic:AspectJ build hangs Eclipse
Next Topic:AJDT in WSAD5.0.1: compile failed
Goto Forum:
  


Current Time: Fri Apr 26 03:05:06 GMT 2024

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

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

Back to the top