Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Template:AM3RepositoryLink

Displays a link to a file in the AM3 section of the MoDisco repository.

For folders:

Markup Rendering
{{AM3RepositoryLink|plugins/trunk/||AM3 Plugins}}

AM3 Plugins


For files:

Markup Rendering
{{AM3RepositoryLink|dsls/trunk/AM3/Metamodel/AM3.km3|2=&view=markup|3=AM3.km3}}

AM3.km3


Note that 2= and 3= are mandatory if the second parameter includes an equal symbol ("=").

Rationale: many links to AM3 repository are still (as of creation of this template) to the old CVS repository. By introducing this template, we can simplify the correction of these links as well as hopefully avoid having to update every link the next time we change repository.

Notes (may be useful to help converting links to old repositories into use of this template):

  • Had this template existed at the time AM3 used CVS, the template would have looked like:
[http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.gmt/{{{1}}}?root=Modeling_Project{{{2}}} {{{3}}}]
  • The use of
    view=markup
    is only valid for files, not folders.
  • An alternative that would not require the second parameter would be to directly point to subversion repository via HTTP, which would lead to a template looking like (note the absence of use of the second parameter):
[http://dev.eclipse.org/svnroot/modeling/org.eclipse.mdt.modisco/incubation/trunk/am3/{{{1}}} {{{3}}}]


Back to the top