Maven Project in the SVN

Asked

Viewed 116 times

0

I have the following Maven project structure in my Workspace:

  • system (with POM configured to consolidate all projects below)
  • DAO
  • EAR
  • MODEL
  • WEB
  • VO

I am developing in partnership and we have chosen to use SVN.

I would like to know what is the best process to commit the project for the first time and how the checkout should be done.

Someone could help?

1 answer

1


The easiest option is using the customer Tortoise SVN, that integrates into your operating system. It has the option import, that will import your code to the URL of your SVN repository. Please take care to set the list of exceptions of Tortoise first, so that it does not import all files such as dll, exe, Bak, sln etc.

Then do the checkout from the repository to your project folder, so Tortoise can create the code versioning structure. From here you can start working with your repository doing commits and updates.

You can also use another SVN client such as Smartsvn or the Ankhsvn. You can also use the command line to carry out these operations.

  • Got it, but should I upload all projects or just the root? I’m using Cloudforge for repository.

  • In the repository you should have all the projects you want to collaborate on.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.