Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Below sections illustrate how to configure and use GIT version control in eStudio:

Table of Contents

Anchor
_Toc386113469
_Toc386113469

...

Integrating GIT into eStudio

Open eStudio and perform the following operations:

  1. Go to Help menu and click the Install New Software option to open the Install New Software wizard.

    Image Modified 
     
  2. Click the Add button and provide the URL http://download.eclipse.org/releases/neon/ in the Add Repository dialog box and click OK.

    Note

    The Name text box may be left blank.

    Image Modified
     

  3. Select the Eclipse Plug-in Development Environment option under the General Purpose Tools name and click Next twice.

    Image Modified
     
  4. Accept the Licence agreement and click Finish.

    Image Modified
     
  5. When the installation is done, restart eStudio as it prompts to do so.


     
  6. Open the Install New Software wizard and add http://download.eclipse.org/egit/updates-2.3/. Select all features except EGit Plug-in Import Support and click Finish.

    Image Modified
     
  7. Click Next twice, agree to the License Agreement, click Finish, and restart eStudio upon prompting.

Anchor
Sharing Applications to Git
Sharing Applications to Git

...

Clone GIT Repository

Before Proceeding, make sure you added ensure adding a property "http.sslVerify property set to "false". To do so, perform the operations below:

Event processes created in eStudio can be committed (exported) to the Git Repository by performing the following actions:

  1. Start eStudio with a new workspace.
  2. Open WindowPreferences.
  3. Go to Team > GitConfiguration.
  4. Click the Add Entry button and provide the values as below:
    • Key: http.sslVerify
    • Value: false
  5. Click Apply and click OK.



  6. Open Online Event Process Development Perspective

    or Online Event Process Development Perspective in eStudio.Log out of Enterprise server if already logged in

    and login to EnterpriseServer.

    Warning

    Before performing the below git operations, make sure that Event Processes present in git repository are not present in your Applications.

  7. Open Git Repositories view from Window > Show View > Other > Git > Git Repositories.
    Click the Clone a Git Repository link and add a clone to this View button.
    Image Removed

    In the Clone GIT Repository window, provide the URI in the following format and click Next twice:

    Info
    titleURI format

    https://github.com/<pathtorepo> 

    Note
    • The Host and Repository path fields get auto populated when URI is added.
    • Provide credentials under the Authentication section and enable the Store in Secure Store option to avoid the future screens from prompting for credentials.
    Image Removed
    In the Local Destination panel, enter the local destination path as follows:
  8. Open File Directory and navigate to %FIORANO_HOME%/runtimedata/eStudio/workspace/.repositories/Online/EnterpriseServer<uniqueID>/Applications , and click Finish.
    Image Removed
    Info

    A clone of the Git repo will be added to the Git Repositories view.
    Image Removed 

  9. Login into the Enterprise server.

    Note

    If the event processes from the Git Repository are not reflecting, refresh the Event Process Repository.

...

  1. Select Team > Commit.
    Image Removed
    In the Commit Changes dialog box, provide some comments that signify the action, select all files, and click the Commit and Push button to save the event process in the GIT repository.
    Image Removed
    InfoCheck in the GIT repository to find the event process reflecting there.
    Image Removed 

     

    After committing, configure Push. Right-click the property under Remotes > origin and and perform the following operations:
    1. git init

    2. git remote add origin <repoURL>

    3. git config --system core.longpaths true (for Windows OS)

    4. git remote -v

    5. git pull origin master

      Image Added

  2. Open eStudio and Refresh 'Event Process Repository'.

    Image Added

    Event Process Repository and Git Repositories view will be updated.

    Image Added

Configure Fetch and Push

  1. Right-click the property under Remotes > origin and select Configure Push.

    Image Modified

  2. In the the Configure Push dialog  dialog box, click the the Add Button and  Button and press spacebar in  in Remote branch textbox  textbox to select the branch from the options that appear. Click the the Save and Pushbutton.

    Image Modified

  3. Configure Fetch also in the same manner as above.Image Removed
     
  4. Right-click the shared Event Process in the Server Explorer and click Refresh to notice the change in the file name and the icon with the dirty flag.

Anchor
_Toc386113471
_Toc386113471
Anchor
_Toc386114263
_Toc386114263
Checking Out the Project from GIT Repository

To check out a project from GIT repository, follow the steps in the Sharing Applications to Git section and then perform the following actions:

  1. Configure Push and Fetch by following steps 3 -5 in the Adding an Event Process to Git section.
  2. Check out. Right-click the repository and click the Fetch option.

    Image Modified

  3. Go to Branches > Remote Tracking. Right-click the sub node and click the Checkout option.
     

    Image Modified

  4. A pop-up gets displayed; click OK.

    Image Added

Adding an Event Process to GIT

Warning

Before adding or committing changes to GIT Repository, ensure updating the local Repository by following the steps in the section above.

Event processes created in eStudio can be committed (exported) to the Git Repository by performing the following actions:

  1. Select Team > Commit.

    Image Added

  2. In the Commit Changes dialog box, provide some comments that signify the action, select all files related to the Application changed, and click the Commit and Push button to save the event process in the GIT repository.

    Image Added

    Info

    Check in the GIT repository to find the event process reflecting there. 

Adaptavist ThemeBuilder EngineAtlassian Confluence