| Method | Description |
|---|---|
| createRepositoryLocation() | Creates repository location. |
| getRevision() | Get the revision for a given resource. |
| importProjectFromSVN() | Imports project from repository location. |
org.eclipse.team.svn.core.resource.IRepositoryLocation createRepositoryLocation(java.lang.String rootUrl, [java.lang.String username], [java.lang.String password])
Creates repository location. Creates repository location with rooturl, if location already exists: return existing location
| Parameter | Type | Description |
|---|---|---|
| rootUrl | java.lang.String | defines the root URL of the repository |
| username | java.lang.String | registered username of the repository Optional: defaults to <null>. |
| password | java.lang.String | password depending to the username Optional: defaults to <null>. |
Returns:org.eclipse.team.svn.core.resource.IRepositoryLocation ... repository location which is created, or the existing repository location
long getRevision(java.lang.Object resource)
Get the revision for a given resource.
| Parameter | Type | Description |
|---|---|---|
| resource | java.lang.Object | resource to get revision for |
Returns:long ... revision number
void importProjectFromSVN(java.lang.Object rootLocation, java.lang.String projectLocations)
Imports project from repository location. Imports project (given with projectLocation) from repository location.
| Parameter | Type | Description |
|---|---|---|
| rootLocation | java.lang.Object | can be a string (-> generate RepositoryLocation automatically) or already a RepositoryLocation |
| projectLocations | java.lang.String | array from relative paths to project locations |