Re: [aspectj-users] Aspect under clustering env. - serialization

2013-05-09 Thread Jean Andre
); } return log; } } Jean ANDRÉ De :Jean Andre A : aspectj-users@eclipse.org, Date : 2013-05-08 12:00 Objet : [aspectj-users] Aspect under clustering env. - serialization Envoyé par :aspectj-users-boun...@eclipse.org

[aspectj-users] Aspect under clustering env. - serialization

2013-05-08 Thread Jean Andre
Hello, We got a NPE on logger under clustering env, It is like the transient logger is not recreate automatically even if the class seem to be reconstruct. What do we need to do or know in addition to allow aspect working under clustering env. 1) Making the aspect Serializable ?

Re: [aspectj-users] classes and methodes name

2013-04-16 Thread Jean Andre
Probably better to use a reverse tool ?, I'm mean a UML tool and make a reverse code engineering. Set the deep of what you want to grab into the diagram or setting the classes or packages that you do not want to show will help to clarify the diagram. De :BendjamaFairouz Ilc A : "asp

Re: [aspectj-users] classes and methodes name

2013-04-16 Thread Jean Andre
Hello fairouz, We use: StaticPart jps - jps.getSignature().getName() Example of logging, certainly not the better one but it might help. @Aspect public class LoggingControllerBehavior extends LoggingBaseBehavior { @DeclareMixin("com.nested.crm.web.common.controller.BaseController") public st

[aspectj-users] Need a receipt / design pattern for enable/disable weaving for logging when using @Aspect style

2013-04-16 Thread Jean Andre
Good morning, I've dig into the mailing list without really finding what I'm looking for. I want a design pattern, clear, easy to understand by newbies and implement to enable or disable (weaving) an aspect during compile time. I saw that using @Aspect style is something different from the so

Re: [aspectj-users] @DeclareMixin with inner class - Syntax ?

2013-04-02 Thread Jean Andre
my.concurrent..* If you need to be more specific, you can still concatenate subconditions with "||". Alexander Kriegisch Am 02.04.2013 um 16:23 schrieb Jean Andre : Hello Andy, Thank you very much for your answer. I've studied your code. It does not wo

Re: [aspectj-users] @DeclareMixin with inner class - Syntax ?

2013-04-02 Thread Jean Andre
, I could investigate further. I wouldn't be surprised if there were inner class problems (I half expected my code to fail) but at the moment I'm not having luck finding problems. cheers Andy On 25 March 2013 10:07, Jean Andre wrote: Hello, A quick question, is it possible to declare

[aspectj-users] @DeclareMixin with inner class - Syntax ?

2013-03-25 Thread Jean Andre
Hello, A quick question, is it possible to declare Mixin (@DeclareMixin) in order to have it in inner class ? If yes, we have difficulty to find the right syntax. We use aspectJ 1.6.12 under WAS 8.0.0.3 Here is our stuff - The mixin is perform well for the class CiaWebThreadFactory but not for

[aspectj-users] AbstractMethodError excpetion with Mixin on Interfaces but not on its implemenation @AspectJ

2012-06-11 Thread Jean Andre
Hello, We got the following excpetion AbstractMethodError when we used mixin on interfaces. The exception does not occur when we applied the same aspect on implementation - See below the aspect. We would like to know what we're doing wrong when we use interfaces? The behavior is a logging aspe

Re: [aspectj-users] Issue with WAR file

2012-05-22 Thread Jean Andre
#x27;d have expected the leading directories on the front of the package names to have given the weaver problems. cheers, Andy On 18 May 2012 09:50, Jean Andre wrote: > Hello, > > We have a problem and we tried to figure out if this problem can be solved > by iajc. We have WAR file w

[aspectj-users] Issue with WAR file

2012-05-18 Thread Jean Andre
Hello, We have a problem and we tried to figure out if this problem can be solved by iajc. We have WAR file which contains the source and the @aspectJ files. We use the ANT command inpath="my_original_War" -outJar="MyWar" - classpath="The full list of jar" The weaven did not report any error

Re: [aspectj-users] How to specify classpath inside a WAR for the weaver ?

2012-05-15 Thread Jean Andre
on a classpath. You can turn off that error (or dial it down to a warning) because it is an Xlint, but it may mean it is not be weaving what you would like it to (as it couldn't complete its analysis). cheers, Andy On 14 May 2012 14:30, Jean Andre wrote: > Hello, > > We got many,

[aspectj-users] How to specify classpath inside a WAR for the weaver ?

2012-05-14 Thread Jean Andre
Hello, We got many, many errors like this : [iajc] when batch building BuildConfig[null] #Files=0 AopXmls=#0 [iajc] [Xlint:cantFindType] [iajc] [error 55]: error at (no source information available) [iajc] F:\cruisecontrol-service-4\artifacts\MyApplication_01_SYSINT\2012050

Re: [aspectj-users] Differences and impacts between .aj classes vs Java class with AspectJ annotation

2012-05-09 Thread Jean Andre
Thank you very much for your answer - A last question, is it necessary to have 2 separated and distincts files for binary weaving, because as you have seen with the Worbench, the aspectJ classes and the source code are into the same project (WAR) and ultimely inside the same EAR. So in our ca

[aspectj-users] Differences and impacts between .aj classes vs Java class with AspectJ annotation

2012-05-08 Thread Jean Andre
Hello, I would like to clarify the difference and the impact between using native AspectJ language versus the "same" Aspect coded by using Java classes and Annotations from the point of view of building an application and runtime dependencies. When we use @annotations, do we need to compile wit

Re: [aspectj-users] How do we declare multilple class in @DeclareParents ?

2012-05-03 Thread Jean Andre
Done ! Bug 378396 : https://bugs.eclipse.org/bugs/show_bug.cgi?id=378396 Best regards, J. De :Andrew Eisenberg A : Jean Andre Cc :aspectj-users@eclipse.org, Andy Clement Date : 2012-05-03 12:03 Objet : Re: [aspectj-users] How do we declare multilple class in

Re: [aspectj-users] How do we declare multilple class in @DeclareParents ?

2012-05-03 Thread Jean Andre
It is what I'm doing presently- I've also reported an another bug : Bug 378361 - https://bugs.eclipse.org/bugs/show_bug.cgi?id=378361 Regards, De :Andrew Eisenberg A : Jean Andre Cc :aspectj-users@eclipse.org, Andy Clement Date : 2012-05-03 12:03 Objet : Re: [asp

Re: [aspectj-users] How do we declare multilple class in @DeclareParents ?

2012-05-03 Thread Jean Andre
Wed, May 2, 2012 at 12:30 PM, Jean Andre wrote: > I'm using AJDT Eclipse 3.6 as we use RAD 8.0.0.4 from IBM. > > From : http://www.eclipse.org/ajdt/whatsnew213/ - > http://download.eclipse.org/tools/ajdt/36/update > > - org.eclipse.ajdt_2.1.3.e36x-20110622-1300.jar >

Re: [aspectj-users] How do we declare multilple class in @DeclareParents ?

2012-05-02 Thread Jean Andre
(unexpected) when using it on 1.6.12/1.7.0.M1. Are you getting exceptions or is it just not working? cheers, Andy On 2 May 2012 06:22, Jean Andre wrote: > How do we declare multilple class in @DeclareParents ? > > This syntaxe does not work : @DeclareParents(value="com.c1 || > c

Re: [aspectj-users] How do we declare multilple class in @DeclareParents ?

2012-05-02 Thread Jean Andre
e set for type 'com.C' (Code2.java) to include 'com.MoodIndicator$Moody' (Code2.java) Type 'com.C' (Code2.java) has intertyped method from 'com.MoodIndicator' (Code2.java:'java.lang.String com.MoodIndicator$Moody.getMood()') I got exceptions (unexpec

[aspectj-users] How do we declare multilple classes in @DeclareParents

2012-05-02 Thread Jean Andre
How do we declare multilple class in @DeclareParents ? This syntaxe does not work : @DeclareParents(value="com.c1 || com.c2" ,defaultImpl=Implclass.class) Thank you ___ aspectj-users mailing list aspectj-users@eclipse.org https://dev.eclipse.org/mailma

[aspectj-users] How do we declare multilple class in @DeclareParents ?

2012-05-02 Thread Jean Andre
How do we declare multilple class in @DeclareParents ? This syntaxe does not work : @DeclareParents(value="com.c1 || com.c2" ,defaultImpl=Implclass.class) Thank you ___ aspectj-users mailing list aspectj-users@eclipse.org https://dev.eclipse.org/mailm