Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Problem with Load-Time Weaving ?

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.
Alex


On Thu, 10 Mar 2005 08:47:18 +1300, David Pearce
<david.pearce@xxxxxxxxxxxxx> wrote:
> 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?
> 
> Cheers,
> 
> Dave
> 
> > 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:
> >
> >>Hi,
> >>
> >>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?
> >>
> >>Cheers,
> >>
> >>David J. Pearce
> >>_______________________________________________
> >>aspectj-users mailing list
> >>aspectj-users@xxxxxxxxxxx
> >>http://dev.eclipse.org/mailman/listinfo/aspectj-users
> >>
> >
> > _______________________________________________
> > 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,
> Wellington,
> New Zealand.
> 
> Office: Cotton 231
> Telephone: +64 4 463 5833
> URL: http://www.mcs.vuw.ac.nz/~djp
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/aspectj-users
>


Back to the top