Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] AOP and Digital Television

ah.. ok. sorry about deprecated information.
I can't remember was AspectJ even in version 1.0 when i play with that..

Artsi

pe, 2005-02-04 kello 14:11 +0000, Andrew Clement kirjoitti:
> 
> The old old old version of ajc (pre 1.1) produced intermediate
> source. 
> Nowadays you have to use a decompiler to get back to source  
> since ajc 1.1 onwards produces .class files directly.   
> You *could* try decompiling the files affected 
> by aspects and recompiling them with a 1.1 JDK. 
> 
> We have had problems in the past where the generated code didn't 
> run on a 1.1 JVM.  Do I take it the application all worked apart 
> from the advice in the aspect not being called? 
> 
> It sounds like a bug you should raise in bugzilla, ideally 
> attaching the offending code if you can? 
> 
> cheers, 
> Andy. 
> --- 
> Andy Clement 
> AspectJ 
> 
> 
> 
> 
> Arto Pastinen
> <arto.pastinen@xxxxxx> 
> Sent by:
> aspectj-users-admin@xxxxxxxxxxx 
> 
> 04/02/2005 13:47 
>          Please respond to
>      aspectj-users@xxxxxxxxxxx
> 
> 
> 
> 
>                To
> aspectj-users@xxxxxxxxxxx 
>                cc
> 
>           Subject
> Re:
> [aspectj-users]
> AOP and Digital
> Television
> 
> 
> 
> 
> 
> 
> 
> 
> Hi!
> 
> I think that he means that first compile aspects with ajc to java
> sources. You see, ajc compiler will make *.java source files.
> .. and THEN, use standard compiler to compile those files.
> 
> Artsi
> 
> pe, 2005-02-04 kello 14:35 +0100, Andrea kirjoitti:
> > Hi Ted,
> > thanks for your time! :-)
> > I did not perfectly understand what you wrote: I have compiled all
> my 
> > sources (java-standard and
> > aspectj-based) with ajc with the option
> > 
> >  "ajc -target 1.1 *.java"
> > 
> > in my working directory, and that's all. No errors were detected.
> Then, 
> > when I tried to make all
> > work on a real set-top box, no aspect was activated.
> > When writing non-aspect-based code, I use the standard 1.4.2
> compiler 
> > with the same option
> > about the target, and things work.
> > 
> > I know my mail was not much detailed, but I didn't want to annoy
> anyone 
> > with precise details:
> > anyone interested can contact me at anytime.
> > 
> > Read you soon,
> > Andrea
> > 
> > Ted Neward wrote:
> > 
> > >Have you tried using ajc to compile to Java source, and then from
> there
> > >compiling using a JDK 1.1 compiler? That might shed more light on
> where the
> > >problem is.
> > >
> > >Ted Neward
> > >Author, Instructor, Consultant
> > >Java, .NET, Web services
> > >http://www.neward.net/ted
> > >  
> > >
> > >
> > >
> > >_______________________________________________
> > >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
> 
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/aspectj-users
> 



Back to the top