[
https://issues.apache.org/jira/browse/SCM-443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17964615#comment-17964615
]
Olivier Lamy commented on SCM-443:
----------------------------------
This project has moved from Jira to GitHub Issues. This issue was migrated to
[apache/maven-scm#653|https://github.com/apache/maven-scm/issues/653].
> perforce provider : login failure must be displayed
> ---------------------------------------------------
>
> Key: SCM-443
> URL: https://issues.apache.org/jira/browse/SCM-443
> Project: Maven SCM (Moved to GitHub Issues)
> Issue Type: Bug
> Components: maven-scm-provider-perforce
> Affects Versions: 1.2
> Environment: windows service
> Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
> with continnum in standalone mode
> perforce 2008.2 security level 3
> Reporter: leahpar
> Assignee: Olivier Lamy
> Priority: Blocker
> Fix For: 1.2
>
>
> Index: PerforceLoginCommand.java
> ===================================================================
> --- PerforceLoginCommand.java (revision 750811)
> +++ PerforceLoginCommand.java (working copy)
> @@ -69,7 +69,7 @@
> int exitCode = CommandLineUtils.executeCommandLine( cl, new
> StringBufferInputStream(password), consumer, err );
> isSuccess = consumer.isSuccess();
>
> - if ( isSuccess )
> + if (! isSuccess )
> {
> String cmdLine = CommandLineUtils.toString(
> cl.getCommandline() );
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)