I followed the tutorial, and the extension shows up in the System Design view. I also searched to see if the jar was in the Rhythmyx root, and I found it in:
But if I try to run it, rhythmyx doesn’t seem to recognize it. The source I enter into the template doesn’t get interpreted. Here is what I entered into the velocity template (I realize that this will generate an error. I just was testing to see if the extension got recognized):
I got it working. I deleted the extension from the workbench. Then I added it using the deploy.xml file. When I looked at the new extension in the System Design view, I noticed that deploy.xml had added it under the system context.
Once I had done this, then it showed up in autocomplete as:
This is a great thread, and it took me very close to get the Extension development setup.
However, I am getting an error, as probably one of the step is not clear to me. I am working on a LINUX box, and so I copied the jar file created to
/root/Rhythmyx/AppServer/server/rx/deploy/rxapp.ear/rxapp.war/WEB-INF/lib
I copied the deploy.xml file to:
/root/Rhythmyx/AppServer/server/rx/deploy/rxapp.ear/rxapp.war/WEB-INF.
When I run the ant task installExtensions from deploy.xml, I get the following error:
installExtensions:
[java] Unable to read extension file: /root/Rhythmyx/AppServer/server/rx/deploy/rxapp.ear/rxapp.war/WEB-INF/Extensions.xml
And this makes sense, as the Extensions.xml is not here. I believe I am putting the deploy.xml to the wrong place.
Where should I put this ant file?