Subversion Link Macro

Renders a link to a resource on a Subversion (SVN) repository.

Categories
Tags
Iteration
Deprecated
Extension
Since
1.0

Description

Renders a link to a project or file within a project on a Subversion server.

Properties

System Identifier

Identifies the connection information via Confluence shortcuts or space properties.

Defaults to subversion.

The system identifier is checked at three locations

The search for the system connection information is conducted as follows. Use the URI discovered first to connect to the server.

  1. Check for a space property url-subversion
  2. Check for a space property subversion
    Only available with projectdoc Toolbox version 1.11 and up!
  3. Check for a space property shortcut-id-subversion.
    Lookup the connection information from the shortcut links with the value retrieved from the space property.
  4. Check the shortcut links for a value subversion.
  5. Check application navigator for a value subversion.

If no value is specified at any of the locations above, the macro renders an error message like this:

In this example for a system macro the referenced, but undefined system, is called test-repo.

Project

The name of the project to link to. If not specified, the name defaults to Project Artifact ID and version provided by the space properties.

File

The file within the project to link to. If not specified, the link references the project.

Label

The label for the link.

Defaults to the name of the file - and if not given - to the name of the project.

If checked, the resource the URL points to is checked for existence.

Dependent on whether the resource exists or not a CSS class is added.

CSS ClassStatus
projectdoc-resource-existsResource exists
projectdoc-resource-not-existsResource does not exist

Details

Space Properties

The following space properties help to provide defaults for the subversion macro.

Space PropertyDescription
url-subversionThe root URL for the subversion resources for this project.
subversion-subfolderThe folder within the SVN root.
project-artifactIdThe name of folder the sources are part of.
project-versionAppended to the project-identifier to form the name.

Related macros

The following macros help with referencing resources on other information servers:

Enterprise Architect Image Link Macro
Renders an image generated from an Enterprise Architect diagram, transcluded from a server.
HTML Snippet Macro
Transclude HTML content from a remote server.
Hudson Link Macro
Render links to jobs and services on a Hudson server.
Javadoc Link Macro
Links API documentation pages for Java elements.
Nexus Link Macro
Renders a link to an artifact stored on a Nexus server.
Site Link Macro
Links to a resource on a versioned site.
Sonar Link Macro
Renders a link to a project on a Sonar service.
Subversion Transclusion Macro
Transcludes a snippet from a project on a Subversion (SVN) server.
System Image Link Macro
Renders an image transcluded from a remote server.
System Link Macro
Links to a resource on a server.
System Transclusion Macro
Transclude content from a resource from a remote system.
Text Snippet Macro
Transclude text content from a remote server.