[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [aspectj-users] Problem with Load-Time Weaving ?
- From: Alexandre Vasseur <avasseur@xxxxxxxxx>
- Date: Wed, 9 Mar 2005 22:15:47 +0100
- Delivered-to: firstname.lastname@example.org
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=PZhSMyXNBCFZvb7a7d/3tjd9f2knutViymVuKy6SCHG0o+l1ihZs/ueNUZ5Hz/76X7AgyOnxnh+OTyAK+BmFIEoox4mu5YNVXb48sJNHNYDmdTdC/iyvNBZE0sRZSlEEDIXBQiKPbbGPGsdIY5Mh4z/yTt0sLpJGptTuL6vILuw=
Target is Q2 2005, and we will discuss and announce a more precise
date next week at AOSD, with milestones in which this feature will
start to be included.
On Thu, 10 Mar 2005 08:47:18 +1300, David Pearce
> Hi Alex,
> > You have read about that in the AspectJ 5 Developer Notebook, which is
> > a work in progress. There is no yet such an agent in the available
> > builds.
> Right, thanks --- that explains it!
> So, is there any sort of schedule for when this will be available?
> > You may still use limited load time weaving capabilities provided by
> > the "aj" script.
> > Alex
> > On Wed, 09 Mar 2005 17:21:23 +1300, David Pearce
> > <david.pearce@xxxxxxxxxxxxx> wrote:
> >>I've been trying to use load-time weaving via the javaagent. The docs say:
> >>" When using JDK 1.5 the JVMTI agent can be used by starting the JVM
> >>with the following option:
> >> -javaagent=aspectjweaver.jar"
> >>Firstly, this is wrong as it should be "-javaagent:aspectjweaver.jar".
> >>More importantly, however, is that it doesn't seem to work. The error
> >>message I get is:
> >> > Failed to load Premain-Class manifest attribute from c:/Documents and
> >> > Settings/djp/My Documents/src/aspectj1.5/lib/aspectjweaver.jar
> >> > Error occurred during initialization of VM
> >> > agent library failed to init: instrument
> >>With my limited knowledge of how this is supposed to work, I'm guessing
> >>this means there isn't a premain method anywhere in the jar file. Which
> >>suggests that this feature is yet to be implemented. Is this right or
> >>have I missed something?
> >>David J. Pearce
> >>aspectj-users mailing list
> > _______________________________________________
> > aspectj-users mailing list
> > aspectj-users@xxxxxxxxxxx
> > http://dev.eclipse.org/mailman/listinfo/aspectj-users
> Lecturer in Computer Science,
> School of Mathematics, Statistics and Computer Science,
> Victoria University of Wellington,
> PO Box 600,
> New Zealand.
> Office: Cotton 231
> Telephone: +64 4 463 5833
> URL: http://www.mcs.vuw.ac.nz/~djp
> aspectj-users mailing list