Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.1
-
Fix Version/s: 1.x
-
Component/s: maven-scm-provider-perforce
-
Labels:None
-
Environment:Tested on linux should work on any platform.
-
Complexity:Intermediate
-
Patch Submitted:Yes
-
Number of attachments :
Description
There are a couple of issues with picking up the perforce password.
- Added code to pick it up from the standard environment (P4PASSWD) if not set elsewhere.
- Changed the DataOutputStream to a OutputStreamWriter as the DataOutputStream throws in extra unicode characters
The "file(s) up-to-date" message has a different case F on different platforms.
Omitted it the F from the string compare.
The previous patch touched more files than necessary. I've reduced it to only the single needed file.
Both cases can appear, depending on whether the "p4 sync" command has an argument or not:
$ p4 sync
File(s) up-to-date.
$ p4 sync ...
... - file(s) up-to-date.