Skip to Content
author's profile photo Former Member
Former Member

Setting up the workspace for each release

Every time we have new release, to have the new workspace up, I am having to copy the entire Hybris OOB folder and checkout our 'custom' folder (where we have our custom extensions) under bin folder. I might have to maintain multiple workspace at one time. I end up creating so many copies this way. Is there any other easier solution for it? Can I have build file modified to have it refer 'custom' folder at different location and need not be under 'bin' folder.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 18, 2015 at 11:17 AM

    Dear Anoop,

    I am not sure whether I understand your issue correctly. If you are looking to refer your custom extensions from single place each time instead of copying them, you can refer that path in localextensions.xml in your new OOTB hybris with another path directory as shown below.

     <path dir="${HYBRIS_BIN_DIR}" />
             
     <path dir="C:\Work\****\folder" />
     
              <extension name="customcock" />
              <extension name="custompromotion" />
              <extension name="customhmc" />
    

    If you are expecting some thing other than this, Please do let me know. I will find an alternate approach.

    Thanks, Jayahar

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 18, 2015 at 10:17 AM

    Cant you use SVN/Git for this? So you can switch to a branch, which can be linked to a specific release.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 03, 2016 at 12:39 PM

    Instead of specifying the absolute path, you could create symbolic links, this would mean, your extensions are present in a different location than bin/custom, but still appear under bin/custom. this way, you can have different branches checked-out(in different folders) and update the symlink with the one you would want to use.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.