Difference between revisions of "Developers:howtoUseSVN"
From RifidiWiki
(→first create a directory with the bundle name in tags) |
|||
Line 2: | Line 2: | ||
example package org.rifidi.example | example package org.rifidi.example | ||
==first create a directory with the bundle name in tags== | ==first create a directory with the bundle name in tags== | ||
+ | (required to allow easier work later on) | ||
-rifidi | -rifidi | ||
-branches | -branches | ||
-tags | -tags | ||
-org.rifidi.example | -org.rifidi.example | ||
+ | -2.0.1 | ||
+ | -2.0.2 | ||
+ | -... | ||
-trunk | -trunk | ||
-org.rifidi.example | -org.rifidi.example | ||
+ | ==second edit the version of the bundle== | ||
+ | *open the manfifest of the bundle | ||
+ | *select overview | ||
+ | *edit Version: | ||
+ | **first digit: major version (in our case 2) | ||
+ | **second digit: minor version (should be changed if an interface or a behavior has been changed) | ||
+ | **third digit: patch level (should be changed after one or some bugs got fixed, the fixes were checked and everything is in svn) | ||
+ | *after submitting create a tag | ||
+ | **select create branch/tag | ||
+ | **change the word trunk to tag , add a slash on the end and then type the new version | ||
+ | **example: | ||
+ | from: https://67.207.137.86/svn/rep-external/rifidi/trunk/org.rifidi.example | ||
+ | to: https://67.207.137.86/svn/rep-external/rifidi/tags/org.rifidi.example/2.0.1 |
Revision as of 22:47, 28 April 2008
Subversion structure
example package org.rifidi.example
first create a directory with the bundle name in tags
(required to allow easier work later on)
-rifidi -branches -tags -org.rifidi.example -2.0.1 -2.0.2 -... -trunk -org.rifidi.example
second edit the version of the bundle
- open the manfifest of the bundle
- select overview
- edit Version:
- first digit: major version (in our case 2)
- second digit: minor version (should be changed if an interface or a behavior has been changed)
- third digit: patch level (should be changed after one or some bugs got fixed, the fixes were checked and everything is in svn)
- after submitting create a tag
- select create branch/tag
- change the word trunk to tag , add a slash on the end and then type the new version
- example:
from: https://67.207.137.86/svn/rep-external/rifidi/trunk/org.rifidi.example to: https://67.207.137.86/svn/rep-external/rifidi/tags/org.rifidi.example/2.0.1