Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0
-
None
Description
The default generated client spec name is calculated in generateDefaultClientspecName() as:
username + "−" + hostname + "−MavenSCM−" + path;
if path includes a space or tilde, the client spec is not created and the plugin fails to sync.
Can:
path = workDir.getCanonicalPath().replace( '/', '\\' )
be replaced with:
path = workDir.getCanonicalPath().replace( '/', '\\' ).replaceAll("[ ~]", "-")
Attachments
Issue Links
- duplicates
-
SCM-370 generated client spec contains backslashes leading die problems on unix os
- Closed