- In Server Explorer view, open the Event Process which is desired to be shared in the SVN repository.
Right-click the opened event process from the Server Explorer panel; point to Team option and select Share Project option.
Figure 9: Navigating to open Share Project dialog box
- Specify the SVN URL location where the project needs to be stored/shared and click Next.
Figure 10: Providing the SVN URL information
- If this is not the first time that you are sharing a project, Share Repository dialog box provides a choice to choose the existing location or change the location.
- The Create a new repository location option navigates to the previous step to provide URL and Use existing repository location option navigates to the next step to choose folder name on clicking Next.
Figure 11: Option to choose a new repository or an existing one
To go ahead with the default Folder Name and default Location, select Use project name as folder name option in the Enter Folder Name panel.
By default, the Event Process name appears with the Enterprise Server name as suffix (like "@EnterpriseServer") for an Online Event Process.
Figure 12: Choosing the default name
- To save it in the default location with a different folder name, select Use specified folder name option and type a different name.
Figure 13: Option to provide a different folder name
- Whereas, to choose a different location in the SVN repository,
- Click the Select button and choose a different folder in the Repository Browser dialog box.
- Right-click inside the Repository Browser, select New remote folder, choose a location (SVN_IntegrationTesting) and provide a folder name. Click Finish to close the dialog box and go back to Enter Folder Name panel.
After selecting the desired folder ('SVNIntegrationTesting' in this example), the path of the Event process appears in Enter Folder Name screen. Click Next to proceed. In the Ready to Share Project screen, provide appropriate comments which help future reference, and click Finish.
Figure 14: Option to choose a remote folder to share the project
- If SVN credentials were not saved previously in the system (if you are using this for the first time), provide the credentials to browse the location.
- Select Save Password check box to bypass this dialog box while operating with SVN further.
Figure 15: Saving credentials for further use
- In the Ready to Share Project screen, provide appropriate comments which help in future reference, and click Finish.
Figure 16: Option to provide comments regarding the project being imported
- If the specified folder already exists, a warning appears as shown below. Click Yes to overwrite the existing project or click No to edit details by going back in the wizard and add a separate folder.
Figure 17: Alert that appears when the specified folder already exists
- After sharing the project, Confirm Open Perspective dialog box appears to open the Team synchronizing perspective.
Figure 18: Option to choose the perspective for the project to commit
Click No for opening the Synchronize View in the same perspective. Right-click the Event Process in the Server Explorer panel, go to Team and click Commit.
After completing the wizard, the Event Process gets shared in the repository and all the options to support SVN get active. Other Event Processes which are not shared in the repository will not display these options.
Figure 19: Choosing Commit from Server Explorer
- Alternatively, to commit from Team Synchronizing perspective, click Yes option in the Confirm Open Perspective dialog box. Similar to the action in Service Explorer panel, right-click the Event Process from Synchronize panel, and click Commit.
Figure 20: Choosing Commit from Team Synchronizing view
- In Commit dialog box, provide some comments that signify the action and click OK to save the Event process in the SVN repository.
Figure 21: Option to provide comments regarding the commit
- The Commit logs are available in the SVN Console. Go to Console panel and select the SVN Console from the Open Console drop-down.
Figure 22: Commit logs in Console view
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.
- The name inside the square brackets is the folder name that was used as default (taking the file name itself). If a new folder was chosen, that name appears here.
- Name, including the dirty flag, can be customized in Label Decorations, which is explained in the "SVN Label Decorations" section.
Figure 23: EP shared with SVN appearing with a dirt flag and changed name
Go to SVN Repository Exploring perspective by selecting the Open Perspective icon present in the upper-left part of the screen. In the Open Perspective pop-up, select SVN Repository Exploring from the list of perspectives and click Ok.
SVN Repository Exploring perspective can be opened by navigating through Window > Open Perspective > Other also.
Figure 24: Navigating to SVN RepositoriesExploring perspective
In the SVN Repositories panel under SVN Repositories Exploring perspective, right-click the Event Process to be checked out and select Checkout option.
Figure 25: Checking out from SVN Repositories panel
The suffix "@EnterpriseServer" in the event process project name refers that it is an online Event process project. "EnterpriseServer" is the name of the server from which it has been shared to SVN Repository, whereas Offline Event Process project has no suffixes as such.
The first option gets highlighted in case a project file is not present but only a folder is being checked out. Click Next if the latest version of the project needs to be checked out.
- 'Check out HEAD revision' checkbox is selected by default to choose the latest version.
- The server under which the event process gets saved can be saved by changing the server name present in the Project Name text field. Change the suffix "EnterpriseServer" to an existing server of choice, for example, "EnterpriseServer1" to extract the EP to this particular server.
Figure 26: Changing server name to extract the project to that server
- In case the EP had been created previously and this is an amended version, to choose from different versions, click Select button present next to Revision text field which is disabled. Select the required version and click OK.
Figure 27: Choosing the version to check out
- In the Check Out As dialog box, Check out HEAD revision checkbox gets unchecked automatically. Click Next.
Figure 28: Check out Head revision checkbox cleared after selecting a version
- Clicking Next in the above Wizard provides an option to change the location to which the project has to be checked out.
- Disable the Use default workspace location property and provide the location in the format as below:
$FioranoHome/runtimedata/eStudio/workspace/.repositories/Online/<uniqueID>/Applications. Click Finish to check out the project.
Figure 29: Option to change the Workspace location
- Go to the Online Event Process Development perspective. In Server Explorer view, refresh the Event Process Repository node under the enterprise server in to which the Event Process has been checked out by clicking Refresh from right-click menu.
Figure 30: Refreshing the EnterpriseServer repository
- The Event Process that is checked out gets populated in the tree under Event Process Repository node under its category as shown below.
Figure 31: Project checked out displayed under the EnterpriseServer repository