[JBoss AOP Development] New message: "Re: ClassPool Refactoring"
by Flavia Rainone
User development,
A new message was posted in the thread "ClassPool Refactoring":
http://community.jboss.org/message/521819#521819
Author : Flavia Rainone
Profile : http://community.jboss.org/people/flavia.rainone@jboss.com
Message:
--------------------------------------------------------------
I've been testing the trunk version of jboss classpool (with the cache disabled) with AS trunk, and the AOP tests are not passing.
I discovered that the classes are not being woven because the weaving proccess throws a CannotCompileException, indicating that wrapped methods do not exist. The exception is thrown at the moment that code that invokes the wrapped method is generated (dispatch method).
The trigger of this exception is the classpool, that is returning a new, fresh, CtClass instance of the class being woven. Instead, the classpool should return the modified CtClass instance, the one that contains the wrapped method renamed. I'll continue investigating to find out why are the classpools behaving this way.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/521819#521819
16 years, 3 months
[jBPM] New message: "Re: Process definition deployment"
by Ronald van Kuijk
User development,
A new message was posted in the thread "Process definition deployment":
http://community.jboss.org/message/521814#521814
Author : Ronald van Kuijk
Profile : http://community.jboss.org/people/kukeltje
Message:
--------------------------------------------------------------
Well, ant is not specifically the proper way of doing it, it is *a* way of doing it. Ant infact deploys from code also. but that is probably not strange. Deploying from ant has the disadvantage that you need remote access to the database other then from your app. An alternative way is looking looking up the latest version of the process via the repository service and compare that with the one in the app. If they differ, deploy otherwise do nothing. You can also interpret the exception you get when deploying and detect that nothing happend....
So there are more ways to deploy.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/521814#521814
16 years, 3 months