-
1. Re: Overwriting existing portal in GateIn 3.2
mvanco May 7, 2012 8:43 AM (in response to nandhana03)Hi Dhanya,
you can try to have a look at this document "How to create new portal using extension" which can help you with overwriting default GateIn portal, you can move your configuration files to extension. Configuration files which you are changing are read only during the first startup from configuration files, configuration is then stored in JCR. That's why you have to delete 'data' folder and changes take effect. If you are interested only at updating portal/pages/nodes, you can have a look at GateIn management tool (for import/export).
Good luck,
Michal Vančo
-
2. Re: Overwriting existing portal in GateIn 3.2
nandhana03 May 7, 2012 8:57 AM (in response to mvanco)hiii Michal,
thnx for ur reply....... Before GateIn I used jboss-portal 2.7.1 and there was a tag in *-object.xml and portlet-instances.xml to support portal overwriting feature. The tag was
<if-exists>overwrite</if-exists>....... Is there anything like that in GateIn 3.2 to support portal overwriting ?
-
3. Re: Overwriting existing portal in GateIn 3.2
nscavell May 7, 2012 11:46 AM (in response to nandhana03)Try setting the override parameter for NewPortalConfigListener in portal-configuration.xml to true. I couldn't find anywhere in the documentation that mentions this. If this works for you then we should probably make more clear in the documentation.
<value-param> <name>override</name> <description>The flag parameter to decide if portal metadata is overriden on restarting server</description> <value>true</value> </value-param>
-
4. Re: Overwriting existing portal in GateIn 3.2
nandhana03 May 8, 2012 1:29 AM (in response to nscavell)hiii Nick.....
Thanks a lot for ur answer...... setting the override parameter in portal-configuration.xml worked........
-
5. Re: Overwriting existing portal in GateIn 3.2
monsieursanta Dec 7, 2012 7:53 PM (in response to nandhana03)Hi Dhanya,
Did u do any migration from old JBoss portal to Gatein. If so could you please send me those steps.
Regrads
Santhosh