PR: MPXDOC-130
CVS usage page is blank when using Subversion. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@376558 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
91b0e4e0ef
commit
a8a119ccc3
@ -53,7 +53,7 @@ maven.ui.navcol.width = 20%
|
|||||||
# This is horrid but will do for now. This needs to be extensible
|
# This is horrid but will do for now. This needs to be extensible
|
||||||
# so that users can utilize the transformation process with their
|
# so that users can utilize the transformation process with their
|
||||||
# own templates.
|
# own templates.
|
||||||
maven.xdoc.pomDocuments = cvs-usage.xml,\
|
maven.xdoc.pomDocuments = scm-usage.xml,\
|
||||||
index.xml,\
|
index.xml,\
|
||||||
maven-reports.xml,\
|
maven-reports.xml,\
|
||||||
dependencies.xml,\
|
dependencies.xml,\
|
||||||
@ -64,7 +64,7 @@ maven.xdoc.pomDocuments = cvs-usage.xml,\
|
|||||||
development-process.jelly,\
|
development-process.jelly,\
|
||||||
downloads.jelly
|
downloads.jelly
|
||||||
|
|
||||||
maven.xdoc.projectInfo = cvs-usage.xml,\
|
maven.xdoc.projectInfo = scm-usage.xml,\
|
||||||
dependencies.xml,\
|
dependencies.xml,\
|
||||||
issue-tracking.xml,\
|
issue-tracking.xml,\
|
||||||
mail-lists.xml,\
|
mail-lists.xml,\
|
||||||
|
|||||||
@ -33,33 +33,33 @@ import org.apache.maven.util.EnhancedStringTokenizer;
|
|||||||
*/
|
*/
|
||||||
public final class ScmUtil
|
public final class ScmUtil
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the SCM type.
|
* Get the SCM type.
|
||||||
*
|
*
|
||||||
* @param scmConnection the scm connection to analyse.
|
* @param scmConnection the scm connection to analyse.
|
||||||
* @return the scm type : cvs, svn , ...
|
* @return the scm type : cvs, svn , ...
|
||||||
*/
|
*/
|
||||||
public String getScmType(final String scmConnection)
|
public String getScmType( final String scmConnection )
|
||||||
{
|
{
|
||||||
if (isValid(scmConnection))
|
if ( isValid( scmConnection ) )
|
||||||
{
|
{
|
||||||
return splitSCMConnection(scmConnection)[1];
|
return splitSCMConnection( scmConnection )[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get cvs root.
|
* Get cvs root.
|
||||||
*
|
*
|
||||||
* @param scmConnection the scm connection to analyse.
|
* @param scmConnection the scm connection to analyse.
|
||||||
* @return CVS root.
|
* @return CVS root.
|
||||||
*/
|
*/
|
||||||
public String getCvsRoot(String scmConnection)
|
public String getCvsRoot( String scmConnection )
|
||||||
{
|
{
|
||||||
if (isValid(scmConnection))
|
if ( isValid( scmConnection ) )
|
||||||
{
|
{
|
||||||
return getCvsRoot(scmConnection, "");
|
return getCvsRoot( scmConnection, "" );
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
@ -68,21 +68,22 @@ public final class ScmUtil
|
|||||||
/**
|
/**
|
||||||
* Get cvs server. Used in
|
* Get cvs server. Used in
|
||||||
* xdocs/src/plugin-resources/templates/cvs-usage.xml.
|
* xdocs/src/plugin-resources/templates/cvs-usage.xml.
|
||||||
*
|
*
|
||||||
* @param conn six token connection string
|
* @param conn six token connection string
|
||||||
* @return CVS module.
|
* @return CVS module.
|
||||||
*/
|
*/
|
||||||
public String getCvsServer(String conn)
|
public String getCvsServer( String conn )
|
||||||
{
|
{
|
||||||
String[] tokens = splitSCMConnection(conn);
|
String[] tokens = splitSCMConnection( conn );
|
||||||
if (!tokens[1].equals("cvs"))
|
|
||||||
|
if ( !tokens[1].equals( "cvs" ) )
|
||||||
{
|
{
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tokens[3].indexOf('@') >= 0)
|
if ( tokens[3].indexOf( '@' ) >= 0 )
|
||||||
{
|
{
|
||||||
return tokens[3].substring(tokens[3].indexOf('@') + 1);
|
return tokens[3].substring( tokens[3].indexOf( '@' ) + 1 );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -92,29 +93,34 @@ public final class ScmUtil
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get cvs root. Used in xdocs/src/plugin-resources/templates/cvs-usage.xml.
|
* Get cvs root. Used in xdocs/src/plugin-resources/templates/cvs-usage.xml.
|
||||||
*
|
*
|
||||||
* @param conn six token connection string
|
* @param conn six token connection string
|
||||||
* @param username username override if non-empty.
|
* @param username username override if non-empty.
|
||||||
* @return CVS root.
|
* @return CVS root.
|
||||||
*/
|
*/
|
||||||
public String getCvsRoot(String conn, String username)
|
public String getCvsRoot( String conn, String username )
|
||||||
{
|
{
|
||||||
String[] tokens = splitSCMConnection(conn);
|
String[] tokens = splitSCMConnection( conn );
|
||||||
|
|
||||||
if (!tokens[1].equals("cvs"))
|
if ( !tokens[1].equals( "cvs" ) )
|
||||||
{
|
{
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tokens[3].indexOf('@') >= 0)
|
if ( tokens[3].indexOf( '@' ) >= 0 )
|
||||||
{
|
{
|
||||||
if (username.length() == 0)
|
if ( username.length() == 0 )
|
||||||
{
|
{
|
||||||
username = tokens[3].substring(0, tokens[3].indexOf('@'));
|
username = tokens[3].substring( 0, tokens[3].indexOf( '@' ) );
|
||||||
}
|
}
|
||||||
tokens[3] = username + "@" + tokens[3].substring(tokens[3].indexOf('@') + 1);
|
|
||||||
|
tokens[3] =
|
||||||
|
username + "@"
|
||||||
|
+ tokens[3].substring( tokens[3].indexOf( '@' ) + 1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
String result = ":" + tokens[2] + ":" + tokens[3] + ":" + tokens[4];
|
String result = ":" + tokens[2] + ":" + tokens[3] + ":" + tokens[4];
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -125,38 +131,42 @@ public final class ScmUtil
|
|||||||
* inserts a separator (':' or '|') between the username and '@' to indicate
|
* inserts a separator (':' or '|') between the username and '@' to indicate
|
||||||
* that there is a password and that it is empty.
|
* that there is a password and that it is empty.
|
||||||
* If username != "" it replaces username in conn.
|
* If username != "" it replaces username in conn.
|
||||||
*
|
*
|
||||||
* @param conn six token connection string
|
* @param conn six token connection string
|
||||||
* @param username username override if non-empty.
|
* @param username username override if non-empty.
|
||||||
* @return CVS root.
|
* @return CVS root.
|
||||||
*/
|
*/
|
||||||
public String getCvsConnection(String conn, String username)
|
public String getCvsConnection( String conn, String username )
|
||||||
{
|
{
|
||||||
String[] tokens = splitSCMConnection(conn);
|
String[] tokens = splitSCMConnection( conn );
|
||||||
|
|
||||||
if (!tokens[1].equals("cvs"))
|
if ( !tokens[1].equals( "cvs" ) )
|
||||||
{
|
{
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
// The length of conn has already been checked in the call to
|
// The length of conn has already been checked in the call to
|
||||||
// splitSCMConnection(conn) above, so it's OK to just extract the char.
|
// splitSCMConnection(conn) above, so it's OK to just extract the char.
|
||||||
String separator = "" + conn.charAt(3);
|
String separator = "" + conn.charAt( 3 );
|
||||||
|
|
||||||
if (tokens[3].indexOf('@') >= 0)
|
if ( tokens[3].indexOf( '@' ) >= 0 )
|
||||||
{
|
{
|
||||||
if (username.length() == 0)
|
if ( username.length() == 0 )
|
||||||
{
|
{
|
||||||
username = tokens[3].substring(0, tokens[3].indexOf('@'))
|
username =
|
||||||
|
tokens[3].substring( 0, tokens[3].indexOf( '@' ) )
|
||||||
+ separator;
|
+ separator;
|
||||||
}
|
}
|
||||||
tokens[3] = username + "@"
|
|
||||||
+ tokens[3].substring(tokens[3].indexOf('@') + 1);
|
tokens[3] =
|
||||||
|
username + "@"
|
||||||
|
+ tokens[3].substring( tokens[3].indexOf( '@' ) + 1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
String result = tokens[0] + separator + tokens[1] + separator
|
String result =
|
||||||
+ tokens[2] + separator + tokens[3] + separator + tokens[4]
|
tokens[0] + separator + tokens[1] + separator + tokens[2]
|
||||||
+ separator + tokens[5];
|
+ separator + tokens[3] + separator + tokens[4] + separator
|
||||||
|
+ tokens[5];
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
@ -164,20 +174,21 @@ public final class ScmUtil
|
|||||||
/**
|
/**
|
||||||
* Get cvs module. Used in
|
* Get cvs module. Used in
|
||||||
* xdocs/src/plugin-resources/templates/cvs-usage.xml.
|
* xdocs/src/plugin-resources/templates/cvs-usage.xml.
|
||||||
*
|
*
|
||||||
* @param conn six token connection string
|
* @param conn six token connection string
|
||||||
* @return CVS module.
|
* @return CVS module.
|
||||||
*/
|
*/
|
||||||
public String getCvsModule(String conn)
|
public String getCvsModule( String conn )
|
||||||
{
|
{
|
||||||
if (isValid(conn))
|
if ( isValid( conn ) )
|
||||||
{
|
{
|
||||||
|
String[] tokens = splitSCMConnection( conn );
|
||||||
|
|
||||||
String[] tokens = splitSCMConnection(conn);
|
if ( !tokens[1].equals( "cvs" ) )
|
||||||
if (!tokens[1].equals("cvs"))
|
|
||||||
{
|
{
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
return tokens[5];
|
return tokens[5];
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -186,73 +197,137 @@ public final class ScmUtil
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Splits an SCM string into parts.
|
* Splits an SCM string into parts.
|
||||||
*
|
*
|
||||||
* @param connection
|
* @param connection
|
||||||
* @return A string array of SCM parts
|
* @return A string array of SCM parts
|
||||||
*/
|
*/
|
||||||
public String[] splitSCMConnection(String connection)
|
public String[] splitSCMConnection( String connection )
|
||||||
{
|
{
|
||||||
if (connection == null)
|
if ( connection == null )
|
||||||
{
|
{
|
||||||
throw new NullPointerException("repository connection is null");
|
throw new NullPointerException( "repository connection is null" );
|
||||||
}
|
}
|
||||||
|
|
||||||
if (connection.length() < 4)
|
if ( connection.length() < 5 )
|
||||||
{
|
{
|
||||||
throw new IllegalArgumentException("repository connection is too short");
|
throw new IllegalArgumentException(
|
||||||
|
"repository connection is too short" );
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!connection.startsWith("scm"))
|
if ( !connection.startsWith( "scm:" ) )
|
||||||
{
|
{
|
||||||
throw new IllegalArgumentException("repository connection must start with scm[delim]");
|
throw new IllegalArgumentException(
|
||||||
|
"repository connection must start with scm:" );
|
||||||
}
|
}
|
||||||
|
|
||||||
String delimiter = "" + connection.charAt(3);
|
String delimiter = getSCMConnectionSeparator( connection );
|
||||||
|
|
||||||
EnhancedStringTokenizer tok = new EnhancedStringTokenizer(connection, delimiter);
|
// If the tokenizer is going to work correctly then the character
|
||||||
|
// following "scm" must be the same as the delimiter, which is not
|
||||||
|
// always the case. Therefor we give it a modified connection.
|
||||||
|
String modifiedConnection =
|
||||||
|
"scm" + delimiter + connection.substring( 4 );
|
||||||
|
|
||||||
String[] tokens = tokenizerToArray(tok);
|
EnhancedStringTokenizer tok =
|
||||||
|
new EnhancedStringTokenizer( modifiedConnection, delimiter );
|
||||||
|
|
||||||
|
String[] tokens = tokenizerToArray( tok );
|
||||||
|
|
||||||
// for a valid repository, it should be scm:<provider> at least
|
// for a valid repository, it should be scm:<provider> at least
|
||||||
if (tokens.length >= 1 && tokens[1].equals("cvs"))
|
if ( ( tokens.length >= 1 ) && tokens[1].equals( "cvs" ) )
|
||||||
{
|
{
|
||||||
if (tokens.length != 6)
|
if ( ( tokens.length >= 2 ) && tokens[2].equals( "local" ) )
|
||||||
|
{
|
||||||
|
if ( tokens.length == 6 )
|
||||||
|
{
|
||||||
|
if ( ( tokens[3].length() > 0 )
|
||||||
|
&& !tokens[3].equals( "local" ) )
|
||||||
|
{
|
||||||
|
throw new IllegalArgumentException(
|
||||||
|
"cvs local repository connection string must specify 5 tokens, or an empty 3rd token if 6" );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if ( tokens.length == 5 )
|
||||||
|
{
|
||||||
|
String[] newTokens = new String[6];
|
||||||
|
|
||||||
|
newTokens[0] = tokens[0];
|
||||||
|
newTokens[1] = tokens[1];
|
||||||
|
newTokens[2] = tokens[2];
|
||||||
|
newTokens[3] = "";
|
||||||
|
newTokens[4] = tokens[3];
|
||||||
|
newTokens[5] = tokens[4];
|
||||||
|
tokens = newTokens;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
throw new IllegalArgumentException(
|
||||||
|
"cvs local repository connection string doesn't contain five tokens" );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( tokens.length != 6 )
|
||||||
{
|
{
|
||||||
throw new IllegalArgumentException(
|
throw new IllegalArgumentException(
|
||||||
"cvs repository connection string doesn't contain six tokens");
|
"cvs repository connection string doesn't contain six tokens" );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return tokens;
|
return tokens;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the separator used in an SCM string
|
||||||
|
* @param connection
|
||||||
|
* @return String that can be either ":" or "|"
|
||||||
|
*/
|
||||||
|
public String getSCMConnectionSeparator( String connection )
|
||||||
|
{
|
||||||
|
if ( connection == null )
|
||||||
|
{
|
||||||
|
throw new NullPointerException( "repository connection is null" );
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( connection.indexOf( "|" ) != -1 )
|
||||||
|
{
|
||||||
|
return "|";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return ":";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Converts a tokenizer to an array of strings FIXME: This should be in a
|
* Converts a tokenizer to an array of strings FIXME: This should be in a
|
||||||
* string util class.
|
* string util class.
|
||||||
*
|
*
|
||||||
* @param tok
|
* @param tok
|
||||||
* @return String[]
|
* @return String[]
|
||||||
*/
|
*/
|
||||||
public String[] tokenizerToArray(EnhancedStringTokenizer tok)
|
public String[] tokenizerToArray( EnhancedStringTokenizer tok )
|
||||||
{
|
{
|
||||||
List l = new ArrayList();
|
List l = new ArrayList();
|
||||||
while (tok.hasMoreTokens())
|
|
||||||
|
while ( tok.hasMoreTokens() )
|
||||||
{
|
{
|
||||||
l.add(tok.nextToken());
|
l.add( tok.nextToken() );
|
||||||
}
|
}
|
||||||
return (String[]) l.toArray(new String[l.size()]);
|
|
||||||
|
return (String[]) l.toArray( new String[l.size()] );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Simple check for a value in the POM. Due to the Jelly swizzling fields that aren't set come
|
* Simple check for a value in the POM. Due to the Jelly swizzling fields that aren't set come
|
||||||
* out as empty strings. This will not be required when the new lazy evaluation mechanism is put
|
* out as empty strings. This will not be required when the new lazy evaluation mechanism is put
|
||||||
* in place.
|
* in place.
|
||||||
*
|
*
|
||||||
* @param value POM value to test.
|
* @param value POM value to test.
|
||||||
* @return Is the value valid.
|
* @return Is the value valid.
|
||||||
*/
|
*/
|
||||||
protected boolean isValid(String value)
|
protected boolean isValid( String value )
|
||||||
{
|
{
|
||||||
if (value != null && !value.trim().equals(""))
|
if ( ( value != null ) && !value.trim().equals( "" ) )
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -58,7 +58,7 @@
|
|||||||
<j:if test="${!empty(repository)}">
|
<j:if test="${!empty(repository)}">
|
||||||
<item key="navigation.menu.item.source_repository"
|
<item key="navigation.menu.item.source_repository"
|
||||||
bundle="plugin-resources.templates.templates"
|
bundle="plugin-resources.templates.templates"
|
||||||
name="Source Repository" href="/cvs-usage.html" />
|
name="Source Repository" href="/scm-usage.html" />
|
||||||
</j:if>
|
</j:if>
|
||||||
|
|
||||||
<j:set var="url"
|
<j:set var="url"
|
||||||
|
|||||||
@ -97,7 +97,7 @@
|
|||||||
#if (($project.repository.url && $project.repository.url != '') || ($project.repository.connection && $project.repository.connection != '') || ($project.repository.developerConnection && $project.repository.developerConnection != ''))
|
#if (($project.repository.url && $project.repository.url != '') || ($project.repository.connection && $project.repository.connection != '') || ($project.repository.developerConnection && $project.repository.developerConnection != ''))
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<a href="cvs-usage.html">
|
<a href="scm-usage.html">
|
||||||
<message key="template.project_info.section.subsection.document.source_repository"
|
<message key="template.project_info.section.subsection.document.source_repository"
|
||||||
bundle="plugin-resources.templates.templates" />
|
bundle="plugin-resources.templates.templates" />
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
80
xdoc/src/plugin-resources/templates/scm-usage.xml
Normal file
80
xdoc/src/plugin-resources/templates/scm-usage.xml
Normal file
@ -0,0 +1,80 @@
|
|||||||
|
<?xml version="1.0" encoding="$encoding" ?>
|
||||||
|
<!--
|
||||||
|
/*
|
||||||
|
* Copyright 2001-2006 The Apache Software Foundation.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<document>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<title key="template.scm_usage.title"
|
||||||
|
bundle="plugin-resources.templates.templates" >
|
||||||
|
<message key="template.scm_usage.title"
|
||||||
|
bundle="plugin-resources.templates.templates" />
|
||||||
|
</title>
|
||||||
|
</properties>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
#set ($repository = $project.repository)
|
||||||
|
#if (!$repository)
|
||||||
|
|
||||||
|
<section key="template.scm_usage.section1.title"
|
||||||
|
bundle="plugin-resources.templates.templates"
|
||||||
|
name="Repository">
|
||||||
|
<p>
|
||||||
|
<message key="template.scm_usage.section1.no_repository"
|
||||||
|
bundle="plugin-resources.templates.templates" />
|
||||||
|
</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
##
|
||||||
|
## Web access URL
|
||||||
|
##
|
||||||
|
#if ($repository.url && $repository.url != '')
|
||||||
|
#set ($url = $escape.getText($repository.url))
|
||||||
|
|
||||||
|
<section key="template.scm_usage.section2.title"
|
||||||
|
bundle="plugin-resources.templates.templates"
|
||||||
|
name="Web Access">
|
||||||
|
<p>
|
||||||
|
<message key="template.scm_usage.section2.description"
|
||||||
|
bundle="plugin-resources.templates.templates" />
|
||||||
|
</p>
|
||||||
|
<source><a href="$url">$url</a></source>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
#end
|
||||||
|
|
||||||
|
##
|
||||||
|
## SCM-specific connections
|
||||||
|
##
|
||||||
|
#if ($repository.connection && $repository.connection != '')
|
||||||
|
#set ($connscm = $scmUtil.getScmType($repository.connection))
|
||||||
|
#end
|
||||||
|
#if ($repository.developerConnection && $repository.developerConnection != '')
|
||||||
|
#set ($connscm = $scmUtil.getScmType($repository.developerConnection))
|
||||||
|
#end
|
||||||
|
#parse("scm/${connscm}.xml")
|
||||||
|
|
||||||
|
#end
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</document>
|
||||||
|
|
||||||
11
xdoc/src/plugin-resources/templates/scm/clearcase.xml
Normal file
11
xdoc/src/plugin-resources/templates/scm/clearcase.xml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<section name="Anonymous Clearcase Access with Maven">
|
||||||
|
<p>
|
||||||
|
<em>This section is under construction.</em>
|
||||||
|
</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section name="Developer Clearcase Access with Maven">
|
||||||
|
<p>
|
||||||
|
<em>This section is under construction.</em>
|
||||||
|
</p>
|
||||||
|
</section>
|
||||||
@ -1,122 +1,117 @@
|
|||||||
<?xml version="1.0" encoding="$encoding" ?>
|
<section key="template.cvs.section2.title"
|
||||||
<!--
|
bundle="plugin-resources.templates.templates"
|
||||||
/*
|
name="Overview">
|
||||||
* Copyright 2001-2004 The Apache Software Foundation.
|
<p>
|
||||||
*
|
<message key="template.cvs.section2.part1"
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
-->
|
|
||||||
|
|
||||||
|
|
||||||
<document>
|
|
||||||
<properties>
|
|
||||||
<title key="template.cvs.title"
|
|
||||||
bundle="plugin-resources.templates.templates" />
|
bundle="plugin-resources.templates.templates" />
|
||||||
</properties>
|
<a href="http://www.cvshome.org/">Concurrent Versions System</a>
|
||||||
|
<message key="template.cvs.section2.part2"
|
||||||
|
bundle="plugin-resources.templates.templates" />
|
||||||
|
<a href="http://cvsbook.red-bean.com/">http://cvsbook.red-bean.com/</a>.
|
||||||
|
</p>
|
||||||
|
|
||||||
<body>
|
#if ($repository.connection && $repository.connection != '')
|
||||||
#set ($repository = $project.repository)
|
#set ($connscm = $scmUtil.getScmType($repository.connection))
|
||||||
|
|
||||||
#if (!$repository)
|
#set ($conn = $scmUtil.getCvsConnection($repository.connection, ''))
|
||||||
<section key="template.cvs.section1.title"
|
#set ($module = $scmUtil.getCvsModule($repository.connection))
|
||||||
bundle="plugin-resources.templates.templates">
|
|
||||||
<p>
|
|
||||||
<message key="template.cvs.section1.no_repository"
|
|
||||||
bundle="plugin-resources.templates.templates" />
|
|
||||||
</p>
|
|
||||||
</section>
|
|
||||||
#else
|
|
||||||
#set ($url = $escape.getText($repository.url))
|
|
||||||
|
|
||||||
#if ($repository.url && $repository.url != '')
|
<subsection key="template.cvs.section3.title"
|
||||||
<section key="template.cvs.section2.title"
|
bundle="plugin-resources.templates.templates"
|
||||||
bundle="plugin-resources.templates.templates">
|
name="Anonymous Access with Maven">
|
||||||
<p>
|
<p>
|
||||||
<a href="$url">$url</a>
|
<message key="template.cvs.section3.description"
|
||||||
</p>
|
bundle="plugin-resources.templates.templates" />
|
||||||
</section>
|
</p>
|
||||||
#end
|
|
||||||
|
|
||||||
#if ($repository.connection && $repository.connection != '')
|
<source>
|
||||||
#set ($connscm = $repository.getScmType())
|
<![CDATA[
|
||||||
|
maven scm:checkout
|
||||||
#if ($connscm == 'cvs')
|
-Dmaven.scm.method=$connscm
|
||||||
#set ($conn = $repository.getCvsRoot($repository.connection, ''))
|
-Dmaven.scm.url=$conn
|
||||||
#set ($module = $repository.getCvsModule($repository.connection))
|
-Dmaven.scm.checkout.dir=$module
|
||||||
<section key="template.cvs.section3.title"
|
]]></source>
|
||||||
bundle="plugin-resources.templates.templates">
|
</subsection>
|
||||||
<p>
|
|
||||||
<message key="template.cvs.section3.description"
|
|
||||||
bundle="plugin-resources.templates.templates" />
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
<subsection key="template.cvs.section4.title"
|
||||||
cvs -d $conn login
|
bundle="plugin-resources.templates.templates"
|
||||||
<br />
|
name="Anonymous CVS Access">
|
||||||
cvs -z3 -d $conn co $module
|
<p>
|
||||||
</p>
|
<message key="template.cvs.section4.description"
|
||||||
|
bundle="plugin-resources.templates.templates" />
|
||||||
|
</p>
|
||||||
|
|
||||||
<p>
|
<source>cvs -d $conn login
|
||||||
<message key="template.cvs.section3.updates"
|
cvs -z3 -d $conn co $module</source>
|
||||||
bundle="plugin-resources.templates.templates" />
|
|
||||||
</p>
|
|
||||||
</section>
|
|
||||||
#end
|
|
||||||
#end
|
|
||||||
|
|
||||||
#if ($repository.developerConnection && $repository.developerConnection != '')
|
<p>
|
||||||
#set ($connscm = $repository.getScmType())
|
<message key="template.cvs.section4.updates"
|
||||||
|
bundle="plugin-resources.templates.templates" />
|
||||||
#if ($connscm == 'cvs')
|
</p>
|
||||||
#set ($conn = $repository.getCvsRoot($repository.developerConnection, 'username'))
|
</subsection>
|
||||||
#set ($module = $repository.getCvsModule($repository.developerConnection))
|
#end
|
||||||
#set ($server = $repository.getCvsServer($repository.developerConnection))
|
|
||||||
|
|
||||||
<section key="template.cvs.section4.title"
|
#if ($repository.developerConnection && $repository.developerConnection != '')
|
||||||
bundle="plugin-resources.templates.templates">
|
#set ($connscm = $scmUtil.getScmType($repository.developerConnection))
|
||||||
|
|
||||||
<p>
|
#set ($conn = $scmUtil.getCvsConnection($repository.developerConnection, 'username'))
|
||||||
<message key="template.cvs.section4.description"
|
#set ($module = $scmUtil.getCvsModule($repository.developerConnection))
|
||||||
bundle="plugin-resources.templates.templates" />
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
<subsection key="template.cvs.section5.title"
|
||||||
export CVS_RSH=ssh
|
bundle="plugin-resources.templates.templates"
|
||||||
<br />
|
name="Developer Access with Maven">
|
||||||
cvs -z3 -d $conn co $module
|
<p>
|
||||||
</p>
|
<message key="template.cvs.section5.description"
|
||||||
|
bundle="plugin-resources.templates.templates" />
|
||||||
|
</p>
|
||||||
|
|
||||||
<p>
|
<source>
|
||||||
<message key="template.cvs.section4.remember"
|
<![CDATA[
|
||||||
bundle="plugin-resources.templates.templates" />
|
maven scm:checkout
|
||||||
</p>
|
-Dmaven.scm.method=$connscm
|
||||||
|
-Dmaven.scm.url=$conn
|
||||||
|
-Dmaven.scm.checkout.dir=$module
|
||||||
|
]]></source>
|
||||||
|
|
||||||
</section>
|
<p>
|
||||||
#end
|
<message key="template.cvs.section5.remember"
|
||||||
#end
|
bundle="plugin-resources.templates.templates" />
|
||||||
|
</p>
|
||||||
|
</subsection>
|
||||||
|
|
||||||
#if ($repository.url && $repository.url != '')
|
<subsection key="template.cvs.section6.title"
|
||||||
<section key="template.cvs.section5.title"
|
bundle="plugin-resources.templates.templates"
|
||||||
bundle="plugin-resources.templates.templates">
|
name="Developer CVS Access via SSH">
|
||||||
<p>
|
|
||||||
<message key="template.cvs.section5.description1"
|
<p>
|
||||||
bundle="plugin-resources.templates.templates" />
|
<message key="template.cvs.section6.description"
|
||||||
<a href="http://cvsgrab.sourceforge.net/">CVSGrab</a>
|
bundle="plugin-resources.templates.templates" />
|
||||||
<message key="template.cvs.section5.description2"
|
</p>
|
||||||
bundle="plugin-resources.templates.templates" />
|
|
||||||
</p>
|
<source>export CVS_RSH=ssh
|
||||||
</section>
|
cvs -z3 -d $conn co $module
|
||||||
#end
|
</source>
|
||||||
#end
|
|
||||||
</body>
|
<p>
|
||||||
</document>
|
<message key="template.cvs.section6.remember"
|
||||||
|
bundle="plugin-resources.templates.templates" />
|
||||||
|
</p>
|
||||||
|
|
||||||
|
</subsection>
|
||||||
|
#end
|
||||||
|
|
||||||
|
<subsection key="template.cvs.section7.title"
|
||||||
|
bundle="plugin-resources.templates.templates"
|
||||||
|
name="Access from behind a firewall">
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<message key="template.cvs.section7.description1"
|
||||||
|
bundle="plugin-resources.templates.templates" />
|
||||||
|
<a href="http://cvsgrab.sourceforge.net/">CVSGrab</a>
|
||||||
|
<message key="template.cvs.section7.description2"
|
||||||
|
bundle="plugin-resources.templates.templates" />
|
||||||
|
</p>
|
||||||
|
|
||||||
|
</subsection>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
|||||||
@ -1,2 +0,0 @@
|
|||||||
o we templates and instructions for each of the SCM products, we probably
|
|
||||||
should also keep in mind instructions in different languages.
|
|
||||||
11
xdoc/src/plugin-resources/templates/scm/perforce.xml
Normal file
11
xdoc/src/plugin-resources/templates/scm/perforce.xml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<section name="Anonymous Perforce Access with Maven">
|
||||||
|
<p>
|
||||||
|
<em>This section is under construction.</em>
|
||||||
|
</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section name="Developer Perforce Access with Maven">
|
||||||
|
<p>
|
||||||
|
<em>This section is under construction.</em>
|
||||||
|
</p>
|
||||||
|
</section>
|
||||||
11
xdoc/src/plugin-resources/templates/scm/starteam.xml
Normal file
11
xdoc/src/plugin-resources/templates/scm/starteam.xml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<section name="Anonymous Starteam Access with Maven">
|
||||||
|
<p>
|
||||||
|
<em>This section is under construction.</em>
|
||||||
|
</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section name="Developer Starteam Access with Maven">
|
||||||
|
<p>
|
||||||
|
<em>This section is under construction.</em>
|
||||||
|
</p>
|
||||||
|
</section>
|
||||||
120
xdoc/src/plugin-resources/templates/scm/svn.xml
Normal file
120
xdoc/src/plugin-resources/templates/scm/svn.xml
Normal file
@ -0,0 +1,120 @@
|
|||||||
|
<section key="template.svn.section2.title"
|
||||||
|
bundle="plugin-resources.templates.templates"
|
||||||
|
name="Overview">
|
||||||
|
<p>
|
||||||
|
<message key="template.svn.section2.part1"
|
||||||
|
bundle="plugin-resources.templates.templates" />
|
||||||
|
<a href="http://subversion.tigris.org/">Subversion</a>
|
||||||
|
<message key="template.svn.section2.part2"
|
||||||
|
bundle="plugin-resources.templates.templates" />
|
||||||
|
<a href="http://svnbook.red-bean.com/">http://svnbook.red-bean.com/</a>.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
#if ($repository.connection && $repository.connection != '')
|
||||||
|
#set ($connscm = $scmUtil.getScmType($repository.connection))
|
||||||
|
|
||||||
|
#set ($conn = $repository.connection)
|
||||||
|
|
||||||
|
<subsection key="template.svn.section3.title"
|
||||||
|
bundle="plugin-resources.templates.templates"
|
||||||
|
name="Anonymous Access with Maven">
|
||||||
|
<p>
|
||||||
|
<message key="template.svn.section3.description"
|
||||||
|
bundle="plugin-resources.templates.templates" />
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<source>
|
||||||
|
<![CDATA[
|
||||||
|
maven scm:checkout
|
||||||
|
-Dmaven.scm.method=$connscm
|
||||||
|
-Dmaven.scm.url=$conn
|
||||||
|
-Dmaven.scm.checkout.dir=$project.artifactId
|
||||||
|
]]></source>
|
||||||
|
</subsection>
|
||||||
|
|
||||||
|
<subsection key="template.svn.section4.title"
|
||||||
|
bundle="plugin-resources.templates.templates"
|
||||||
|
name="Anonymous Access">
|
||||||
|
<p>
|
||||||
|
<message key="template.svn.section4.description"
|
||||||
|
bundle="plugin-resources.templates.templates" />
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<source>svn checkout $conn $project.artifactId</source>
|
||||||
|
|
||||||
|
</subsection>
|
||||||
|
#end
|
||||||
|
|
||||||
|
#if ($repository.developerConnection && $repository.developerConnection != '')
|
||||||
|
#set ($connscm = $scmUtil.getScmType($repository.developerConnection))
|
||||||
|
|
||||||
|
#set ($conn = $repository.developerConnection)
|
||||||
|
|
||||||
|
<subsection key="template.svn.section5.title"
|
||||||
|
bundle="plugin-resources.templates.templates"
|
||||||
|
name="Developer Access with Maven">
|
||||||
|
<p>
|
||||||
|
<message key="template.svn.section5.description"
|
||||||
|
bundle="plugin-resources.templates.templates" />
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<source>
|
||||||
|
<![CDATA[
|
||||||
|
maven scm:checkout
|
||||||
|
-Dmaven.scm.method=$connscm
|
||||||
|
-Dmaven.scm.url=$conn
|
||||||
|
-Dmaven.scm.checkout.dir=$project.artifactId
|
||||||
|
]]></source>
|
||||||
|
|
||||||
|
</subsection>
|
||||||
|
|
||||||
|
<subsection key="template.svn.section6.title"
|
||||||
|
bundle="plugin-resources.templates.templates"
|
||||||
|
name="Developer Access">
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<message key="template.svn.section6.description"
|
||||||
|
bundle="plugin-resources.templates.templates" />
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<source>svn checkout $conn $project.artifactId</source>
|
||||||
|
|
||||||
|
</subsection>
|
||||||
|
|
||||||
|
<subsection key="template.svn.section7.title"
|
||||||
|
bundle="plugin-resources.templates.templates"
|
||||||
|
name="Access from behind a firewall">
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<message key="template.svn.section7.description"
|
||||||
|
bundle="plugin-resources.templates.templates" />
|
||||||
|
</p>
|
||||||
|
<source>svn checkout $conn $project.artifactId</source>
|
||||||
|
|
||||||
|
</subsection>
|
||||||
|
|
||||||
|
#end
|
||||||
|
|
||||||
|
<subsection key="template.svn.section8.title"
|
||||||
|
bundle="plugin-resources.templates.templates"
|
||||||
|
name="Access through a proxy">
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<message key="template.svn.section8.intro1"
|
||||||
|
bundle="plugin-resources.templates.templates" />
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<message key="template.svn.section8.intro2"
|
||||||
|
bundle="plugin-resources.templates.templates" />
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<message key="template.svn.section8.intro3"
|
||||||
|
bundle="plugin-resources.templates.templates" />
|
||||||
|
</p>
|
||||||
|
<source>[global]
|
||||||
|
http-proxy-host = your.proxy.name
|
||||||
|
http-proxy-port = 3128</source>
|
||||||
|
|
||||||
|
</subsection>
|
||||||
|
|
||||||
|
</section>
|
||||||
@ -1,5 +1,5 @@
|
|||||||
# -------------------------------------------------------------------
|
# -------------------------------------------------------------------
|
||||||
# Copyright 2001-2004 The Apache Software Foundation.
|
# Copyright 2001-2006 The Apache Software Foundation.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
@ -14,43 +14,55 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
# -------------------------------------------------------------------
|
# -------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# To display the default language
|
# To display the default language
|
||||||
defaultLocale.byDefault=English [By default]
|
defaultLocale.byDefault=English [By default]
|
||||||
|
|
||||||
# For cvs.xml
|
# For scm-usage.xml
|
||||||
template.cvs.title=CVS
|
template.scm_usage.title=SCM
|
||||||
template.cvs.section1.title=Repository
|
template.scm_usage.section1.title=Repository
|
||||||
template.cvs.section1.no_repository=No SCM repository is defined.
|
template.scm_usage.section1.no_repository=No source configuration management system is defined. Please check back at a later date.
|
||||||
template.cvs.section2.title=Web Access
|
template.scm_usage.section2.title=Web Access
|
||||||
template.cvs.section3.title=Anonymous CVS Access
|
template.scm_usage.section2.description=This is a link to the online source repository that can be viewed via a web browser:
|
||||||
template.cvs.section3.description=This project's CVS repository can be checked out through anonymous (pserver) CVS with the following instruction set. When prompted for a password for anonymous, simply press the Enter key.
|
|
||||||
template.cvs.section3.updates=Updates from within the module's directory do not need the -d parameter.
|
|
||||||
template.cvs.section4.title=Developer CVS Access via SSH
|
|
||||||
template.cvs.section4.description=Only project developers can access the CVS tree via this method. SSH1 must be installed on your client machine. Substitute name with the proper value. Enter your site password when prompted.
|
|
||||||
template.cvs.section4.remember=Remember to replace 'username' with your actual username on the server.
|
|
||||||
template.cvs.section5.title=CVS Access behind a firewall
|
|
||||||
template.cvs.section5.description1=For those developers who are stuck behind a corporate firewall,
|
|
||||||
template.cvs.section5.description2=can use the viewcvs web interface to checkout the source code.
|
|
||||||
|
|
||||||
# For cvs-usage.xml
|
# For cvs.xml
|
||||||
template.cvs_usage.title=CVS
|
template.cvs.section2.title=Source Repository
|
||||||
template.cvs_usage.section1.title=Repository
|
template.cvs.section2.part1=This project uses
|
||||||
template.cvs_usage.section1.no_repository=No SCM repository is defined.
|
template.cvs.section2.part2=to manage its source code. Instructions for using CVS can be found at
|
||||||
template.cvs_usage.section2.title=Web Access
|
template.cvs.section3.title=Anonymous Access with Maven
|
||||||
template.cvs_usage.section3.title=Anonymous Access with Maven
|
template.cvs.section3.description=This project's CVS repository can be checked out through anonymous CVS with the following instruction on a single line:
|
||||||
template.cvs_usage.section3.description=This project's CVS repository can be checked out through anonymous (pserver) CVS with the following instruction on a single line.
|
template.cvs.section4.title=Anonymous Access
|
||||||
template.cvs_usage.section4.title=Anonymous CVS Access
|
template.cvs.section4.description=This project's CVS repository can be checked out through anonymous CVS with the following instruction set. When prompted for a password for anonymous, simply press the Enter key.
|
||||||
template.cvs_usage.section4.description=This project's CVS repository can be checked out through anonymous (pserver) CVS with the following instruction set. When prompted for a password for anonymous, simply press the Enter key.
|
template.cvs.section4.updates=Updates from within the module's directory do not need the -d parameter.
|
||||||
template.cvs_usage.section4.updates=Updates from within the module's directory do not need the -d parameter.
|
template.cvs.section5.title=Developer Access with Maven
|
||||||
template.cvs_usage.section5.title=Developer Access with Maven
|
template.cvs.section5.description=Only project developers can access the CVS tree via this method. Substitute username with the proper value.
|
||||||
template.cvs_usage.section5.description=Only project developers can access the CVS tree via this method. Substitute username with the proper value.
|
template.cvs.section5.remember=Remember to replace 'username' with your actual username on the server.
|
||||||
template.cvs_usage.section5.remember=Remember to replace 'username' with your actual username on the server. Also change ssh in maven.scm.cvs.rsh=ssh to the name of your ssh executable.
|
template.cvs.section6.title=Developer Access via SSH
|
||||||
template.cvs_usage.section6.title=Developer CVS Access via SSH
|
template.cvs.section6.description=Only project developers can access the CVS tree via this method. SSH1 must be installed on your client machine. Substitute username with the proper value. Enter your site password when prompted.
|
||||||
template.cvs_usage.section6.description=Only project developers can access the CVS tree via this method. SSH1 must be installed on your client machine. Substitute username with the proper value. Enter your site password when prompted.
|
template.cvs.section6.remember=Remember to replace 'username' with your actual username on the server.
|
||||||
template.cvs_usage.section6.remember=Remember to replace 'username' with your actual username on the server.
|
template.cvs.section7.title=Access from behind a firewall
|
||||||
template.cvs_usage.section7.title=CVS Access behind a firewall
|
template.cvs.section7.description1=For those developers who are stuck behind a corporate firewall,
|
||||||
template.cvs_usage.section7.description1=For those developers who are stuck behind a corporate firewall,
|
template.cvs.section7.description2=can use the viewcvs web interface to checkout the source code.
|
||||||
template.cvs_usage.section7.description2=can use the viewcvs web interface to checkout the source code.
|
|
||||||
|
# For svn.xml
|
||||||
|
template.svn.section2.title=Source Repository
|
||||||
|
template.svn.section2.part1=This project uses
|
||||||
|
template.svn.section2.part2=to manage its source code. Instructions for using Subversion can be found at
|
||||||
|
template.svn.section3.title=Anonymous Access with Maven
|
||||||
|
template.svn.section3.description=This project's source can be checked out anonymously from SVN with the following instruction set on a single line:
|
||||||
|
template.svn.section4.title=Anonymous Access
|
||||||
|
template.svn.section4.description=This project's source can be checked out anonymously from SVN with the following command:
|
||||||
|
template.svn.section5.title=Developer Access with Maven
|
||||||
|
template.svn.section5.description=Even though everyone can checkout the Subversion repository via HTTPS, committers have to use HTTPS if they want to be able to check back in their changes. Use the following instruction set on a single line:
|
||||||
|
template.svn.section6.title=Developer Access
|
||||||
|
template.svn.section6.description=Even though everyone can checkout the Subversion repository via HTTPS, committers have to use HTTPS if they want to be able to check back in their changes. Use the following command:
|
||||||
|
template.svn.section7.title=Access from behind a firewall
|
||||||
|
template.svn.section7.description=For those users who are stuck behind a corporate firewall which is blocking http access to the Subversion repository, you can try to access it via the developer connection:
|
||||||
|
template.svn.section8.title=Access through a proxy
|
||||||
|
template.svn.section8.intro1=The Subversion client can go through a proxy, if you configure it to do so. First, edit your "servers" configuration file to indicate which proxy to use. The files location depends on your operating system. On Linux or Unix it is located in the directory "~/.subversion". On Windows it is in "%APPDATA%\\Subversion". (Try "echo %APPDATA%", note this is a hidden directory.)
|
||||||
|
template.svn.section8.intro2=There are comments in the file explaining what to do. If you don't have that file, get the latest Subversion client and run any command; this will cause the configuration directory and template files to be created.
|
||||||
|
template.svn.section8.intro3=Example : Edit the 'servers' file and add something like:
|
||||||
|
|
||||||
# For dependencies.xml
|
# For dependencies.xml
|
||||||
template.dependencies.title=Dependencies
|
template.dependencies.title=Dependencies
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
# -------------------------------------------------------------------
|
# -------------------------------------------------------------------
|
||||||
# Copyright 2001-2004 The Apache Software Foundation.
|
# Copyright 2001-2006 The Apache Software Foundation.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
@ -19,40 +19,51 @@
|
|||||||
# To display the default language
|
# To display the default language
|
||||||
defaultLocale.byDefault=Deutsch [Voreinstellung]
|
defaultLocale.byDefault=Deutsch [Voreinstellung]
|
||||||
|
|
||||||
# For cvs.xml
|
# For scm-usage.xml
|
||||||
template.cvs.title = CVS
|
template.scm_usage.title=SCM
|
||||||
template.cvs.section1.title = Repository
|
template.scm_usage.section1.title=Quellcode Archiv
|
||||||
template.cvs.section1.no_repository = Es wurde kein SCM für dieses Projekt definiert.
|
template.scm_usage.section1.no_repository=Es wurde kein SCM für dieses Projekt definiert. Bitte schauen Sie später nochmals rein.
|
||||||
template.cvs.section2.title = Zugriff über das Web
|
template.scm_usage.section2.title=Zugriff über das Web
|
||||||
template.cvs.section3.title = Anonymer CVS Zugriff
|
template.scm_usage.section2.description=Hier ist ein Link zum Quellcode Repertoir zum direkten Zugriff mit einem Web Browser:
|
||||||
template.cvs.section3.description = Das CVS Archiv dieses Projektes kann durch anonymen (pserver) CVS Zugriff mit dem folgenden Befehl ausgecheckt werden. Wenn Sie nach einem Passwort gefragt werden drücken Sie einfach die Enter Taste.
|
|
||||||
template.cvs.section3.updates = Operationen innerhalb des Modul Verzeichnisses brauchen keinen -d Parameter.
|
|
||||||
template.cvs.section4.title = Entwickler Zugriff via SSH
|
|
||||||
template.cvs.section4.description = Nur Entwickler dieses Projektes können auf den CVS Baum mit dieser Methode zugreifen. SSH1 muss auf der Client Maschine installiert sein. Ersetzen Sie den Benutzernamen durch Ihren eigenen und geben Sie Ihr Passwort ein wenn Sie danach gefragt werden.
|
|
||||||
template.cvs.section4.remember = Ersetzen Sie den Benutzernamen durch Ihren eigenen auf diesem Server.
|
|
||||||
template.cvs.section5.title = CVS Zugriff hinter einer Firewall.
|
|
||||||
template.cvs.section5.description1 = Für Entwickler die sich hinter einer Firewall befinden, kann
|
|
||||||
template.cvs.section5.description2 = das viewcvs Web Interface zum Auschecken des Quellcodes verwenden.
|
|
||||||
|
|
||||||
# For cvs-usage.xml
|
# For cvs.xml
|
||||||
template.cvs_usage.title = CVS
|
template.cvs.section2.title=Quellcode Archiv
|
||||||
template.cvs_usage.section1.title = Archiv
|
template.cvs.section2.part1=Dieses Projekt verwendet
|
||||||
template.cvs_usage.section1.no_repository = Es wurde kein SCM Archiv is definiert.
|
template.cvs.section2.part2=um seinen Quellcode zu verwalten. Instruktionen zur Verwendung von CVS finden Sie hier:
|
||||||
template.cvs_usage.section2.title = Web Zugriff
|
template.cvs.section3.title=Anonymer Zugriff mit Maven
|
||||||
template.cvs_usage.section3.title = Anonymer Zugriff mit Maven
|
template.cvs.section3.description=Das CVS Archiv dieses Projektes kann durch anonymen CVS Zugriff mit der folgenden Befehlszeile auf einer Linie ausgecheckt werden:
|
||||||
template.cvs_usage.section3.description = Das CVS Archiv dieses Projektes kann durch anonymen (pserver) CVS Zugriff mit der folgenden Befehlszeile auf einer Linie ausgecheckt werden.
|
template.cvs.section4.title=Anonymer Zugriff mit CVS
|
||||||
template.cvs_usage.section4.title = Anonymer Zugriff mit CVS
|
template.cvs.section4.description=Das CVS Archiv dieses Projektes kann durch anonymen CVS Zugriff mit dem folgenden Befehl ausgecheckt werden. Wenn Sie nach einem Passwort gefragt werden drücken Sie einfach die Enter Taste.
|
||||||
template.cvs_usage.section4.description = Das CVS Archiv dieses Projektes kann durch anonymen (pserver) CVS Zugriff mit dem folgenden Befehl ausgecheckt werden. Wenn Sie nach einem Passwort gefragt werden drücken Sie einfach die Enter Taste.
|
template.cvs.section4.updates=Operationen innerhalb des Modul Verzeichnisses brauchen keinen -d Parameter.
|
||||||
template.cvs_usage.section4.updates = Operationen innerhalb des Modul Verzeichnisses brauchen keinen -d Parameter.
|
template.cvs.section5.title=Entwickler Zugriff mit Maven
|
||||||
template.cvs_usage.section5.title = Entwickler Zugriff mit Maven
|
template.cvs.section5.description=Nur Entwickler dieses Projektes können auf den CVS Baum mit dieser Methode zugreifen. Ersetzen Sie den Benutzernamen ("username") durch Ihren eigenen.
|
||||||
template.cvs_usage.section5.description = Nur Entwickler dieses Projektes können auf den CVS Baum mit dieser Methode zugreifen. Ersetzen Sie den Benutzernamen durch Ihren eigenen.
|
template.cvs.section5.remember=Ersetzen Sie den Benutzernamen ("username") durch Ihren eigenen auf diesem Server.
|
||||||
template.cvs_usage.section5.remember = Ersetzen Sie den Benutzernamen durch Ihren eigenen auf diesem Server. Desweiteren ersetzen Sie ssh in maven.scm.cvs.rsh = ssh durch den Namen Ihres ssh Befehls.
|
template.cvs.section6.title=Entwickler Zugriff via SSH
|
||||||
template.cvs_usage.section6.title = Entwickler Zugriff via SSH
|
template.cvs.section6.description=Nur Entwickler dieses Projektes können auf den CVS Baum mit dieser Methode zugreifen. SSH1 muss auf der Client Maschine installiert sein. Ersetzen Sie den Benutzernamen durch Ihren eigenen und geben Sie Ihr Passwort ein wenn Sie danach gefragt werden.
|
||||||
template.cvs_usage.section6.description = Nur Entwickler dieses Projektes können auf den CVS Baum mit dieser Methode zugreifen. SSH1 muss auf der Client Maschine installiert sein. Ersetzen Sie den Benutzernamen durch Ihren eigenen und geben Sie Ihr Passwort ein wenn Sie danach gefragt werden.
|
template.cvs.section6.remember=Ersetzen Sie den Benutzernamen durch Ihren eigenen auf diesem Server.
|
||||||
template.cvs_usage.section6.remember = Ersetzen Sie den Benutzernamen durch Ihren eigenen auf diesem Server.
|
template.cvs.section7.title=CVS Zugriff hinter einer Firewall
|
||||||
template.cvs_usage.section7.title = CVS Zugriff hinter einer Firewall.
|
template.cvs.section7.description1=Für Entwickler die sich hinter einer Firewall befinden, kann
|
||||||
template.cvs_usage.section7.description1 = Für Entwickler die sich hinter einer Firewall befinden, kann
|
template.cvs.section7.description2=das viewcvs Web Interface zum Auschecken des Quellcodes verwenden.
|
||||||
template.cvs_usage.section7.description2 = das viewcvs Web Interface zum Auschecken des Quellcodes verwenden.
|
|
||||||
|
# For svn.xml
|
||||||
|
template.svn.section2.title=Quellcode Archiv
|
||||||
|
template.svn.section2.part1=Dieses Projekt verwendet
|
||||||
|
template.svn.section2.part2=um seinen Quellcode zu verwalten. Instruktionen zur Verwendung von Subversion finden Sie hier:
|
||||||
|
template.svn.section3.title=Anonymer Zugriff mit Maven
|
||||||
|
template.svn.section3.description=Das Quellcode Archiv dieses Projektes kann durch mit der folgenden Befehlszeile auf einer Linie ausgecheckt werden:
|
||||||
|
template.svn.section4.title=Anonymer Zugriff
|
||||||
|
template.svn.section4.description=Das Quellcode Archiv dieses Projektes kann mit dem folgenden Befehl ausgecheckt werden:
|
||||||
|
template.svn.section5.title=Entwickler Zugriff mit Maven
|
||||||
|
template.svn.section5.description=Even though everyone can checkout the Subversion repository via HTTPS, committers have to use HTTPS if they want to be able to check back in their changes. Use the following instruction set on a single line:
|
||||||
|
template.svn.section6.title=Entwickler Zugriff
|
||||||
|
template.svn.section6.description=Even though everyone can checkout the Subversion repository via HTTPS, committers have to use HTTPS if they want to be able to check back in their changes. Use the following command:
|
||||||
|
template.svn.section7.title=Zugriff hinter einer Firewall
|
||||||
|
template.svn.section7.description=Entwickler die sich hinter einer Firewall befinden die den http Zugriff auf das Quellcode Archiv blockiert, sollten versuchen über die Entwickler-Verbindung darauf zuzugreifen:
|
||||||
|
template.svn.section8.title=Zugriff über einen Proxy
|
||||||
|
template.svn.section8.intro1=Subversion kann über einen Proxy verwendet werden wenn es dafür konfiguriert wird. Zuerst müssen Sie in der "servers" Konfigurationsdatei den zu
|
||||||
|
verwendenden Proxy angeben. Es hängt von Ihrem System ab wo sich diese Datei befindet. Für Linux oder Unix ist sie in "~/.subversion". Für Windows ist sie in "%APPDATA%\\Subversion" (versuchen Sie "echo %APPDATA%", beachten Sie dass dies ein versteckter Folder ist).
|
||||||
|
template.svn.section8.intro2=Diese Datei enthält einige Gebrauchshinweise. Sollte diese Datei nicht existieren, verwenden Sie die neueste Version von Subversion und exekutieren Sie irgend einen Befehl. Die Datei wird dann automatisch erzeugt.
|
||||||
|
template.svn.section8.intro3=Beispiel: Editieren Sie die "servers" Datei und fügen Sie hinzu:
|
||||||
|
|
||||||
# For dependencies.xml
|
# For dependencies.xml
|
||||||
template.dependencies.title = Abhängigkeiten
|
template.dependencies.title = Abhängigkeiten
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
# -------------------------------------------------------------------
|
# -------------------------------------------------------------------
|
||||||
# Copyright 2001-2004 The Apache Software Foundation.
|
# Copyright 2001-2006 The Apache Software Foundation.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
@ -19,40 +19,51 @@
|
|||||||
# To display the default language
|
# To display the default language
|
||||||
defaultLocale.byDefault=Français [Par défaut]
|
defaultLocale.byDefault=Français [Par défaut]
|
||||||
|
|
||||||
# For cvs.xml
|
# For scm-usage.xml
|
||||||
template.cvs.title=CVS
|
template.scm_usage.title=SCM
|
||||||
template.cvs.section1.title=Repository
|
template.scm_usage.section1.title=Repertoir
|
||||||
template.cvs.section1.no_repository=Aucun gestionnaire de version de fichiers n'est défini.
|
template.scm_usage.section1.no_repository=Aucun gestionnaire de version de fichiers n'est défini.
|
||||||
template.cvs.section2.title=Accès Web
|
template.scm_usage.section2.title=Accès Web
|
||||||
template.cvs.section3.title=Accès de façon anonyme
|
template.scm_usage.section2.description=C'est un lien au dépôt de sources en ligne qui peut être regardé par l'intermédiaire d'un browser Web.
|
||||||
template.cvs.section3.description=Le gestionnaire de version CVS de ce projet peut être accedé de façon anonyme (pserver) avec les instructions suivantes. Lorsqu'un mot de passe pour le compte "anoncvs" est demandé, appuyez simplement sur la touche "Entrée".
|
|
||||||
template.cvs.section3.updates=Les mises à jour à partir d'un module n'ont pas besoin du paramètre -d.
|
|
||||||
template.cvs.section4.title=Accès CVS pour les dévelopeurs via SSH
|
|
||||||
template.cvs.section4.description=Seulement les dévelopeurs du projet peuvent accéder à l'arbre de CVS par l'intermédiaire de cette méthode. SSH1 doit être installé sur votre machine client. Remplacez "username" avec la valeur appropriée. Entrez votre mot de passe une fois demandé.
|
|
||||||
template.cvs.section4.remember=Rappelez-vous de remplacer le "username" par votre nom d'utilisateur réel dans le serveur.
|
|
||||||
template.cvs.section5.title=Accès CVS derrière un firewall
|
|
||||||
template.cvs.section5.description1=Pour les dévelopeurs qui se trouvent derrière un firewall,
|
|
||||||
template.cvs.section5.description2=peut utiliser l'interface Web pour effectuer un checkout du code source.
|
|
||||||
|
|
||||||
# For cvs-usage.xml
|
# For cvs.xml
|
||||||
template.cvs_usage.title=CVS
|
template.cvs.section2.title=Dépôt de sources
|
||||||
template.cvs_usage.section1.title=Repository
|
template.cvs.section2.part1=Ce projet utilise
|
||||||
template.cvs_usage.section1.no_repository=Aucun gestionnaire de version de fichiers n'est défini.
|
template.cvs.section2.part2=pour gérer son code source. Des instructions sur l'utilisation de CVS peuvent être trouvées à
|
||||||
template.cvs_usage.section2.title=Accès Web
|
template.cvs.section3.title=Accès de façon anonyme avec Maven
|
||||||
template.cvs_usage.section3.title=Accès de façon anonyme avec Maven
|
template.cvs.section3.description=Le gestionnaire de version CVS de ce projet peut être accedé de façon anonyme avec les instructions suivantes. Lorsqu'un mot de passe pour "anoncvs" est demandé, appuyez simplement sur la touche "Entrée".
|
||||||
template.cvs_usage.section3.description=Le gestionnaire de version CVS de ce projet peut être accedé de façon anonyme (pserver) avec les instructions suivantes. Lorsqu'un mot de passe pour "anoncvs" est demandé, appuyez simplement sur la touche "Entrée".
|
template.cvs.section4.title=Accès de façon anonyme
|
||||||
template.cvs_usage.section4.title=Accès CVS de façon anonyme
|
template.cvs.section4.description=Le gestionnaire de version CVS de ce projet peut être accedé de façon anonyme (pserver) avec les instructions suivantes. Lorsqu'un mot de passe pour "anoncvs" est demandé, appuyez simplement sur la touche "Entrée".
|
||||||
template.cvs_usage.section4.description=Le gestionnaire de version CVS de ce projet peut être accedé de façon anonyme (pserver) avec les instructions suivantes. Lorsqu'un mot de passe pour "anoncvs" est demandé, appuyez simplement sur la touche "Entrée".
|
template.cvs.section4.updates=Les mises à jour à partir d'un module n'ont pas besoin du paramètre -d.
|
||||||
template.cvs_usage.section4.updates=Les mises à jour à partir d'un module n'ont pas besoin du paramètre -d.
|
template.cvs.section5.title=Accès CVS pour les dévelopeurs avec Maven
|
||||||
template.cvs_usage.section5.title=Accès CVS pour les dévelopeurs avec Maven
|
template.cvs.section5.description=Seulement les dévelopeurs du projet peuvent accéder à l'arbre de CVS par l'intermédiaire de cette méthode. Remplacez "username" avec la valeur appropriée.
|
||||||
template.cvs_usage.section5.description=Seulement les dévelopeurs du projet peuvent accéder à l'arbre de CVS par l'intermédiaire de cette méthode. Remplacez "username" avec la valeur appropriée.
|
template.cvs.section5.remember=Rappelez-vous de remplacer le "username" par votre nom d'utilisateur réel dans le serveur.
|
||||||
template.cvs_usage.section5.remember=Rappelez-vous de remplacer le "username" par votre nom d'utilisateur réel dans le serveur. Changez aussi ssh dans maven.scm.cvs.rsh=ssh avec le nom de exécutable SSH.
|
template.cvs.section6.title=Accès CVS pour les dévelopeurs via SSH
|
||||||
template.cvs_usage.section6.title=Accès CVS pour les dévelopeurs via SSH
|
template.cvs.section6.description=Seulement les dévelopeurs du projet peuvent accéder à l'arbre de CVS par l'intermédiaire de cette méthode. SSH1 doit être installé sur votre machine client. Remplacez "username" avec la valeur appropriée. Entrez votre mot de passe une fois demandé.
|
||||||
template.cvs_usage.section6.description=Seulement les dévelopeurs du projet peuvent accéder à l'arbre de CVS par l'intermédiaire de cette méthode. SSH1 doit être installé sur votre machine client. Remplacez "username" avec la valeur appropriée. Entrez votre mot de passe une fois demandé.
|
template.cvs.section6.remember=Rappelez-vous de remplacer le "username" par votre nom d'utilisateur réel dans le serveur.
|
||||||
template.cvs_usage.section6.remember=Rappelez-vous de remplacer le "username" par votre nom d'utilisateur réel dans le serveur.
|
template.cvs.section7.title=Accès CVS derrière un firewall
|
||||||
template.cvs_usage.section7.title=Accès CVS derrière un firewall
|
template.cvs.section7.description1=Pour les dévelopeurs qui se trouvent derrière un firewall,
|
||||||
template.cvs_usage.section7.description1=Pour les dévelopeurs qui se trouvent derrière un firewall,
|
template.cvs.section7.description2=peut utiliser l'interface Web pour effectuer un checkout du code source.
|
||||||
template.cvs_usage.section7.description2=peut utiliser l'interface Web pour effectuer un checkout du code source.
|
|
||||||
|
# For svn.xml
|
||||||
|
template.svn.section2.title=Dépôt de sources
|
||||||
|
template.svn.section2.part1=Ce projet utilise
|
||||||
|
template.svn.section2.part2=pour gérer son code source. Des instructions sur l'utilisation de Subversion peuvent être trouvées à
|
||||||
|
template.svn.section3.title=Accès de façon anonyme avec Maven
|
||||||
|
template.svn.section3.description=Le gestionnaire de version de ce projet peut être accedé de façon anonyme avec les instructions suivantes sur une seule ligne.
|
||||||
|
template.svn.section4.title=Accès de façon anonyme
|
||||||
|
template.svn.section4.description=Le gestionnaire de version de ce projet peut être accedé de façon anonyme avec les instructions suivantes:
|
||||||
|
template.svn.section5.title=Accès pour les dévelopeurs avec Maven
|
||||||
|
template.svn.section5.description=Chacun peut accéder au dépôt d'archive de Subversion via HTTPS, mais seuls les committers doivent accéder au dépôt d'archive via HTTPS.
|
||||||
|
template.svn.section6.title=Accès pour les dévelopeurs
|
||||||
|
template.svn.section6.description=Chacun peut accéder au dépôt d'archive de Subversion via HTTPS, mais seuls les committers doivent accéder au dépôt d'archive via HTTPS.
|
||||||
|
template.svn.section7.title=Accès derrière un firewall
|
||||||
|
template.svn.section7.description=Pour ces utilisateurs qui sont coincés derrière un firewall qui bloque l'accès de HTTP au dépôt de Subversion, vous pouvez essayer d'y accéder avec la connection développeur:
|
||||||
|
template.svn.section8.title=Accès avec un proxy
|
||||||
|
template.svn.section8.intro1=Le client de subversion peut accéder par proxy, si vous le configurez comme suit. D'abord, éditez votre dossier de configuration de "servers"
|
||||||
|
pour indiquer quel proxy utilisé. Ce fichier est situé différemment dépendamment de votre système d'exploitation. Sur Linux ou Unix, il est situé dans le répertoire "~/.subversion". Sur Windows, il se situe dans "%APPDATA%\Subversion" (essayer de taper "echo %APPDATA%", notons que ce répertoire est caché).
|
||||||
|
template.svn.section8.intro2=Il y a des commentaires dans le fichier qui explique comment faire. Si vous n'avez pas ce fichier, télécharger la version la plus récente de Subversion et tapez n'importe quelle commande ; ceci créera les fichiers de configuration.
|
||||||
|
template.svn.section8.intro3=Exemple : Editer le fichier 'servers' et ajouter quelque chose du genre:
|
||||||
|
|
||||||
# For dependencies.xml
|
# For dependencies.xml
|
||||||
template.dependencies.title=Dépendances
|
template.dependencies.title=Dépendances
|
||||||
|
|||||||
@ -27,6 +27,7 @@
|
|||||||
</properties>
|
</properties>
|
||||||
<body>
|
<body>
|
||||||
<release version="1.10-SNAPSHOT" date="in SVN">
|
<release version="1.10-SNAPSHOT" date="in SVN">
|
||||||
|
<action dev="ltheussl" type="fix" issue="MPXDOC-130">CVS usage page is blank when using Subversion.</action>
|
||||||
<action dev="ltheussl" type="fix" issue="MPXDOC-185">Fix broken <code>maven.xdoc.date=navigation-top</code> and <code>navigation-bottom</code>.</action>
|
<action dev="ltheussl" type="fix" issue="MPXDOC-185">Fix broken <code>maven.xdoc.date=navigation-top</code> and <code>navigation-bottom</code>.</action>
|
||||||
<action dev="ltheussl" type="add" issue="MPXDOC-183" due-to="Niall Pemberton">Enable user-defined custom templates.</action>
|
<action dev="ltheussl" type="add" issue="MPXDOC-183" due-to="Niall Pemberton">Enable user-defined custom templates.</action>
|
||||||
<action dev="ltheussl" type="fix" issue="MPXDOC-187">Correct cvs checkout instructions on cvs-usage page.</action>
|
<action dev="ltheussl" type="fix" issue="MPXDOC-187">Correct cvs checkout instructions on cvs-usage page.</action>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user