Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] LTW within Eclipse, with multiple class loaders

 
"<EB>I am using load-time weaving through an appropriate Eclipse launch
configuration but *without any aop.xml* file</EB>"
Interesting , how is it possible ?

Cordialement / Best regards

Jean-Louis Pasturel


-----Message d'origine-----
De : aspectj-users-bounces@xxxxxxxxxxx
[mailto:aspectj-users-bounces@xxxxxxxxxxx] De la part de Eric Bodden
Envoyé : jeudi 5 mai 2011 11:37
À : aspectj-users@xxxxxxxxxxx
Objet : [aspectj-users] LTW within Eclipse, with multiple class loaders

Hi all.

I am using load-time weaving through an appropriate Eclipse launch
configuration but without any aop.xml file. The application that I am
weaving into loads the bulk of its classes through a custom class loader.
Now it appears that the load-time weaver is currently only weaving into the
classes loaded by the default class loader, and hence most of the actual
classes that make up the application are missed.

Why is this the case? Is Eclipse not using the agent-based approach by
default? I had expected that all loaded classes would be woven, no matter
which class loader is used.

Is there a way to get around this problem?

Cheers,
Eric
--
Dr. Eric Bodden, http://bodden.de/
Principal Investigator in Secure Services at CASED Coordinator of the CASED
Advisory Board of Study Affairs PostDoc at Software Technology Group,
Technische Universität Darmstadt
Tel: +49 6151 16-5478    Fax: +49 6151 16-5410 Mailing Address: S2|02 A209,
Hochschulstraße 10, 64289 Darmstadt
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users



********************************************************************************
IMPORTANT.Les informations contenues dans ce message electronique y compris les fichiers attaches sont strictement confidentielles
et peuvent etre protegees par la loi.
Ce message electronique est destine exclusivement au(x) destinataire(s) mentionne(s) ci-dessus.
Si vous avez recu ce message par erreur ou s il ne vous est pas destine, veuillez immediatement le signaler  a l expediteur et effacer ce message 
et tous les fichiers eventuellement attaches.
Toute lecture, exploitation ou transmission des informations contenues dans ce message est interdite.
Tout message electronique est susceptible d alteration.
A ce titre, le Groupe France Telecom decline toute responsabilite notamment s il a ete altere, deforme ou falsifie.
De meme, il appartient au destinataire de s assurer de l absence de tout virus.

IMPORTANT.This e-mail message and any attachments are strictly confidential and may be protected by law. This message is
intended only for the named recipient(s) above.
If you have received this message in error, or are not the named recipient(s), please immediately notify the sender and delete this e-mail message.
Any unauthorized view, usage or disclosure ofthis message is prohibited.
Since e-mail messages may not be reliable, France Telecom Group shall not be liable for any message if modified, changed or falsified.
Additionally the recipient should ensure they are actually virus free.
********************************************************************************



Back to the top