Best way to implement a change to common extension code?
Hello all, I have already successfully implemented some advisors and participants; common, shared methods and constants are in their own com.aaa.extensions.common plugin project. I am now testing a new advisor, and have needed to add new constants and methods to the common code. All this works just fine when I test from a JETTY-launched v407 server.
2 answers
Have you requested a server re-provisioning/server reset? See https://rsjazz.wordpress.com/2014/06/12/is-the-extension-deployed-how-can-i-redeploy/
Comments
Hi Ralph, yes, of course.
Well, it didn't work. I could find no way to include the common source via a link and have its classes expressed in the new advisor's jar file. This may be some Eclipse knowledge I'm missing, but if there is a way it must be well hidden!
I am not sure, but I would think you might have to create a feature and deploy that feature with its own provision profile. The Consumers would have to require the feature.
I found what seems to be the right approach. I had used the extension workshop approach Ralph mentioned with features combining server and common components, and that was the problem.