'Running a project in svn repository

I just wonder when developing a big java project we always use a svn repository for code sharing but is it possible to run the project in that repository?

Or is there any system for java that allows more than one user to develop and test same project in one place?



Solution 1:[1]

You're thinking about it the wrong way - when a developer works on a project they download what's called a "working copy" of that repository, then run it and make changes / test it on their local computer. When they're done, they then "commit" the changes to the repository, where they become available to everyone else.

You don't run the project in the repository directly.

Solution 2:[2]

In major IDE's such as Eclipse, Jdeveloper, Netbeans, there is build in functionality for version control.

So you use your ide to build your app or make changes to it, and using update/commit functionality of the versioning system you have the desired outcome.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Michael Berry
Solution 2 MaVRoSCy