Jahia Dev Forum > Create Multiple...

1 (1 Good)
0 (0 Bad)

Create Multiple .cnd file ?

by  bhadreshshiroya »  2014/02/03 09:10

If yes than How to work multiple .cnd file in single Project In Jahia Server ?

  (bhadreshshiroya)

Number of messages  18
Registration date
1 (1 Good)
0 (0 Bad)

Re: Create Multiple .cnd file ?

by  rvt »  2014/02/06 14:37

 

It sound slike that if you need two seperate your CND files, may be you should create two seperate projects?

If this isn't the case, then shouldn't your CND files not below to eachother? If not, can you explain what you are trying to accomplish?

  • Re: Create Multiple .cnd file ?
    2014/03/04 06:22

    rvt <p> &nbsp;</p> <p> It sound slike that if you need two seperate your CND files, may be you should create two seperate projects?</p> <p> If this isn&#39;t the case, then shouldn&#39;t your CND files not below to eachother? If not, can you explain what you are trying to accomplish?</p>

  • Number of messages  185
    Registration date Feb 6, 2014
    0 (0 Good)
    0 (0 Bad)

    Re: Re: Create Multiple .cnd file ?

    by  bhadreshshiroya »  2014/02/08 08:46

    Are Sure does not create multiplt .cnd File in Single project ?

      (bhadreshshiroya)

    Number of messages  18
    Registration date
    1 (1 Good)
    0 (0 Bad)

    Re: Create Multiple .cnd file ?

    by  shyrkov »  2014/02/10 09:38

    Hello Bhadresh,

    unfortunately, your requirements are not quite clear.

    If you just want to have your definitions in two separate files in the same project, you can have them.

    For example our default module has definitions in two files: definitions.cnd and definitions-nav-menu.cnd

    ( http://subversion.jahia.org/svn/jahia/releases/JAHIA_6_6_1_0/modules/default/src/main/webapp/META-INF/ )

    But in this case you have to "tell" Jahia explicitly that you have more CND files to consider.

    See the example in the pom.xml file ( http://subversion.jahia.org/svn/jahia/releases/JAHIA_6_6_1_0/modules/default/pom.xml ):

    <definitions>META-INF/definitions.cnd, META-INF/definitions-nav-menu.cnd</definitions>

     

    Kind regards

    Sergiy

  • Re: Create Multiple .cnd file ?
    2014/03/04 06:22

    shyrkov <p> Hello Bhadresh,</p> <p> unfortunately, your requirements are not quite clear.</p> <p> If you just want to have your definitions in two separate files in the same project, you can have them.</p> <p> For example our default module has definitions in two files: definitions.cnd and definitions-nav-menu.cnd</p> <p> ( <a href="http://subversion.jahia.org/svn/jahia/releases/JAHIA_6_6_1_0/modules/default/src/main/webapp/META-INF/">http://subversion.jahia.org/svn/jahia/releases/JAHIA_6_6_1_0/modules/default/src/main/webapp/META-INF/</a> )</p> <p> But in this case you have to &quot;tell&quot; Jahia explicitly that you have more CND files to consider.</p> <p> See the example in the pom.xml file ( <a href="http://subversion.jahia.org/svn/jahia/releases/JAHIA_6_6_1_0/modules/default/pom.xml">http://subversion.jahia.org/svn/jahia/releases/JAHIA_6_6_1_0/modules/default/pom.xml</a> ):</p> <pre> &lt;definitions&gt;META-INF/definitions.cnd, META-INF/definitions-nav-menu.cnd&lt;/definitions&gt;</pre> <p> &nbsp;</p> <p> Kind regards</p> <p> Sergiy</p>

  • Number of messages  407
    Registration date Feb 10, 2014
    1 (1 Good)
    0 (0 Bad)

    Re: Re: Create Multiple .cnd file ?

    by  bhadreshshiroya »  2014/02/15 09:25

    Hello Bhadresh,

    unfortunately, your requirements are not quite clear.

    If you just want to have your definitions in two separate files in the same project, you can have them.

    For example our default module has definitions in two files: definitions.cnd and definitions-nav-menu.cnd

    ( http://subversion.jahia.org/svn/jahia/releases/JAHIA_6_6_1_0/modules/default/src/main/webapp/META-INF/ )

    But in this case you have to "tell" Jahia explicitly that you have more CND files to consider.

    See the example in the pom.xml file ( http://subversion.jahia.org/svn/jahia/releases/JAHIA_6_6_1_0/modules/default/pom.xml ):

    META-INF/definitions.cnd, META-INF/definitions-nav-menu.cnd

     

    Kind regards

    Sergiy


    Good ,.right way!

      (bhadreshshiroya)

    Number of messages  18
    Registration date
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page