Thursday, 12 June 2014

Java EE Web App (part #3)

Versioning Tool #2 (SVN)

Since the complexity needed to understand and operate Git is too high we here try to understand SVN which serves similar purpose as Git. It is used by many heavy weight Tech Companies across the globe.

Assuming there is a VisualSVN server running at developer "x" side which contains the latest up-to-date copy of our project "foobar"

steps needed to copy the latest "foobar" project from developer "x" machine to your machine.

Steps
  1. Download & Install TortiseSVN
  2. Create an empty directory on your desktop named "mynewproj"
  3. Browse in that directory mynewproj and do right click and select TortiseSVN --> Create repository here
  4. It will prompt a dialog box in that dialog box click on "create folder structure" button and then "ok" button
  5. Then again right click and select SVNCheckout, which will bring a dialog box in front of you
  6. In the field named "URL Of The Repository" enter URL which you get from developer "x" which has VisualSVN Server up and running, who also has the fully up-to-date project "foobar" (eg. URL will be like https://IP:port/svn/projectname) after you enter "ok" button a dialog box will pop-up which will ask for username and password, make sure you have one
  7. Then in the "Checkout" text-field select the directory "mynewproj"
  8. Then click on "ok" button, It will bring the latest copy of project "foobar" on your machine
  9. Open Netbeans 8.0, open project from the directory "mynewproj" (in our case it was "foobar")
  10. Perform some modifications ...blah blah...
  11. Now come back again to directory "mynewproj" select the project "foobar" do right click and select "SVN Commit...." it will again ask for username and password, make sure your developer "x" has provided you the same
  12. Once it is done, developer "x" on his machine will have to select the project "foobar" from Netbeans and perform step shown in step 13
  13. Right click on "foobar" project from Netbeans and select Subversion --> Update --> Update with Dependencies
viola !! you have just learned 50% of SVN....congo !!!

For learning how to setup and configure the SVN Server wait for Java EE Web App (part #4)

1 comment:

  1. Did you realize there's a 12 word sentence you can speak to your partner... that will induce intense emotions of love and instinctual attractiveness for you deep within his chest?

    Because hidden in these 12 words is a "secret signal" that triggers a man's impulse to love, idolize and care for you with his entire heart...

    12 Words Who Fuel A Man's Love Instinct

    This impulse is so hardwired into a man's mind that it will drive him to try harder than ever before to take care of you.

    As a matter of fact, triggering this powerful impulse is absolutely mandatory to getting the best possible relationship with your man that as soon as you send your man a "Secret Signal"...

    ...You'll soon notice him expose his mind and soul to you in such a way he's never expressed before and he'll identify you as the one and only woman in the world who has ever truly understood him.

    ReplyDelete