An already existing project can be integrated into a new main project with the help of Subversion. This has several advantages:
- No need to make a local copy (but be carefull with changes)
- You can choose the version of the existing project, always the newest or fixed at some revision
- You can use relative paths that can be predefined by the structure of the main project
You can include an existing project with the property "svn:externals". This can be done at the root of the new main project.
In the context menu go to "TortoiseSVN → Properties→New...→Externals→New...". Then you have to set the "Local path" to which the external project should be checked out and the URL of the external project. If you always want to have the newest version of the external project choose "HEAD revision", otherwise choose "Revision" and set the "Peg" revision. Furthermore you can also set the "Operative" revision, if it differs.
With "SVN Update" the external projects will be checked out to the defined path.
No comments:
Post a Comment