Ant/Maven Remote Theme Deploy

Hi all!

I have portal installed in a vm remote machine with docker. I would like to know if it's possible to deploy a custom theme as we do with the portlets.

I use ./xmlaccess.sh command to deploy the war files together with the xml DeployPortlet files and it works. In DeployPortlet.xml you can say to the portal the path where it can find the war, but in DeployTheme it looks like you can't do it, am i right?

It's so frustrating to have to use the HCL web console to update the ear theme file

Hi John,

A custom theme packaged within an EAR (both static and dynamic WARs) is simply a WebSphere enterprise application. When you install it via WAS Admin Console, it does not register anything with Portal like when you deploy portlets in the Portal Admin Console. So I'm not aware of any way to deploy a custom theme WebSphere enterprise application using only XMLAccess. There is wsadmin AdminApp which we use in our Config tasks to deploy WebSphere enterprise applications. You can use this as an alternative to XMLAccess. Please see the WebSphere doc below for details:

https://www.ibm.com/support/knowledgecenter/SSEQTP_8.5.5/com.ibm.websphere.base.doc/ae/txml_callappinstall.html

Thanks,

Oscar

Thanks a lot Oscar for you quick reply! I will try tomorrow, i guess i have understood what i have to do! yep! Thanks again!

Sure, no problem John.

I did it! It works like a charm now!

Hi John,

We had released first version of a tool that will help enable ci/cd for artefacts such as deployment of portlets and script applications last November. The work for the ability to deploy custom themes are currently in progress. Please keep an eye out for theme deployment under the document below:

Thanks,
Sharika

Thanks Sharika! It's a good tool for ci/cd, but I prefer to use maven or ant to pack and deploy. Usually I use a vm with portal installed as server (guest) and RAD/Eclipse with the code is in my pc (the host). I wrote a build.xml file in ant and with a single click from my IDE I do all the job: clean/compile/pack/deploy: it's the most fast solution I found to develop in Java in HCL portal.