Community

Using more than one *object.xml

created by Rekha Hari in JBoss Portal - View the full discussion

Hi,

 

I am trying to use more than one object.xml for configuring a portal, but I am having problem with that.

 

file1-object.xml

 

 

<deployments>

     <deployment>

          <parent-ref />

           <if-exists>overwrite</if-exists>

           <portal>

               <portal-name>myportal</portal-name>

               <page>

               <page-name>pageone<page-name>

               .....

               <page>

          </portal>

     </deployment>

</deployments>

 

 

file2object.xml

 

 

<deployments>

     <deployment>

          <parent-ref>myportal<parent-ref>

            <if-exists>overwrite</if-exists>

               <page>

               <page-name>pagetwo<page-name>

               .....

               <page>

      </deployment>

</deployments>

 

If I copy the <page> tag in file2-object.xml into file1-object.xml then everything works fine, but the above does not work. Could you please tell me what I need to change to make the page definition in file2 also apprear in myportal.

Reply to this message by going to Community

Start a new discussion in JBoss Portal at Community