[ http://jira.codehaus.org/browse/SCM-114?page=comments#action_56016 ]
Mike Perham commented on SCM-114:
---------------------------------
Currently I am leaning towards:
{noformat}
${user}-${host}-MavenSCM-${check_out_path}
For example:
mike-buildmachine-MavenSCM-/tmp/continuum/work/16
{noformat}
The path is required to absolutely guarantee uniqueness. I will continue to
support the system property for overriding the name if people have corporate
standards that they must support.
> Clientspec naming
> -----------------
>
> Key: SCM-114
> URL: http://jira.codehaus.org/browse/SCM-114
> Project: Maven SCM
> Type: Improvement
> Components: maven-scm-provider-perforce
> Versions: 1.0-beta-3
> Reporter: Mike Perham
> Assignee: Mike Perham
> Fix For: 1.0-beta-3
>
>
> Several people have expressed more than a passing interest in how the
> Perforce clientspec is named by Maven SCM. The name needs to be
> autogenerated and unique for each Continuum project build. Currently I am
> thinking something like:
> ${project}-${user}-${hostname}-mavenscm
> Emmannuel, does the SCM subsystem have access to the name of the project
> being built? If not, I can just use the name of the last directory in the
> SCM URL for the name of the project: //depot/projects/foobar would mean that
> ${project} = foobar.
> And just head off the inevitable question: you cannot set P4CLIENT for this
> because Continuum may build several different projects and they each need a
> unique clientspec.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira