Using Subversion (Apache Open Source CVS) in combination with NWDS 7.3 – An alternative for DTR as part of NWDI
In this blog I show you how easy is to setup and work with Subversion Source Version Control in combination with SAP NetWeaver Developer Studio version (NWDS) 7.3+.
Ideally, and as a best-practice you should take advantage of SAP’s own version control (Design Time Repository – DTR) for Java custom development and stick to NetWeaver Developer Infrastructure (NWDI) when developing solutions in Java using NWDS. However, there are situations when you need a reliable alternative for saving your java sources. NWDI takes care of revision control and transports (and many other aspects).
As said before sometimes it’s not possible to start right away with a fully operational NWDI environment. For those specific cases the instructions explained in this blog can provide you with a simple yet solid alternative.
For more information about Subversion please refer to their official website at : http://subversion.apache.org/ . Obviously Subversion is part of the Apache open source software and as such no license fees whatsoever applies.
SAP NWDS is based on the eclipse platform and because of that we can apply a generic eclipse configuration for Subversion.
For that purpose we will follow an article written by Chris Herborth at developerWorks as baseline for the configuration and use of Subversion on the Eclipse platform. The article explains all you need to know about checking in, checking out sources with Subversion and can be found at: http://www.ibm.com/developerworks/opensource/library/os-ecl-subversion/
- Subversion repository has been installed and properly configured in your landscape.
- You have obtained the URL to your Subversion repository.
- You have a valid account to use Subversion.
- You are using NWDS 7.3
- You are familiar with the concept of version control within JAVA development.
Step 1. Select Install New Software from the Help menu.
Next, click Add on the pop-up window, give a Name to the new software source and copy this URL on the Location field http://subclipse.tigris.org/update_1.0.x. Click OK
You should now see the window as depicted below. Make sure you select/uncheck the check boxes as shown in the next screen..
Step 4. Click Next and accept the warnings (if applicable) to download and install the plugin.
Step 5. Restart NWDS after the plugin has been installed. After that please follow the instructions starting from the section “A quick test” as specified in the article mentioned above. http://www.ibm.com/developerworks/opensource/library/os-ecl-subversion/
Step 6. Check in your existing project in Subversion, after that you can share JAVA project resources with other team members and maintain your JAVA sources in version control system.
Final result as seen from Subversion (web based GUI) repository.