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).
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 ?
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>
Thanks a lot for ur answer...... setting the override parameter in portal-configuration.xml worked........
Did u do any migration from old JBoss portal to Gatein. If so could you please send me those steps.