You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/07/14 10:22:56 UTC

[jira] Created: (MPARTIFACT-28) scpexe fails on Cygwin

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPARTIFACT-28

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPARTIFACT-28
    Summary: scpexe fails on Cygwin
       Type: Bug

     Status: Unassigned
   Priority: Critical

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-artifact-plugin
   Versions:
             1.4

   Assignee: 
   Reporter: Joerg Schaible

    Created: Wed, 14 Jul 2004 4:22 AM
    Updated: Wed, 14 Jul 2004 4:22 AM
Environment: WinXP & Cygwin

Description:
New protocol scpexe is not compatible to old functionality in the deploy-plugin. It fails now on Cygwin silently (BUILD SUCCEEDED). Debugging with -X reveals, that the implementation uses now absolute instead of relative paths. Unfortunately something like "C:\xxx\yyy" is interpreted as a file on host C. Using relative paths like "xxx\yyy", there is no problem with Cygwin's scp.


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MPARTIFACT-28) scpexe fails on Cygwin

Posted by ji...@codehaus.org.
The following issue has been updated:

    Updater: Joerg Schaible (mailto:joerg.schaible@elsag-solutions.com)
       Date: Wed, 14 Jul 2004 5:31 AM
    Comment:
Wrapper shell script for scp
    Changes:
             Attachment changed to scpwin
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MPARTIFACT-28?page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPARTIFACT-28

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPARTIFACT-28
    Summary: scpexe fails on Cygwin
       Type: Bug

     Status: Unassigned
   Priority: Critical

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-artifact-plugin
   Versions:
             1.4

   Assignee: 
   Reporter: Joerg Schaible

    Created: Wed, 14 Jul 2004 4:22 AM
    Updated: Wed, 14 Jul 2004 5:31 AM
Environment: WinXP & Cygwin

Description:
New protocol scpexe is not compatible to old functionality in the deploy-plugin. It fails now on Cygwin silently (BUILD SUCCEEDED). Debugging with -X reveals, that the implementation uses now absolute instead of relative paths. Unfortunately something like "C:\xxx\yyy" is interpreted as a file on host C. Using relative paths like "xxx\yyy", there is no problem with Cygwin's scp.


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MPARTIFACT-28) scpexe fails on Cygwin

Posted by ji...@codehaus.org.
The following issue has been updated:

    Updater: Joerg Schaible (mailto:joerg.schaible@elsag-solutions.com)
       Date: Wed, 14 Jul 2004 5:32 AM
    Comment:
Wrapper DOS batch
    Changes:
             Attachment changed to scpwin.bat
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MPARTIFACT-28?page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPARTIFACT-28

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPARTIFACT-28
    Summary: scpexe fails on Cygwin
       Type: Bug

     Status: Unassigned
   Priority: Critical

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-artifact-plugin
   Versions:
             1.4

   Assignee: 
   Reporter: Joerg Schaible

    Created: Wed, 14 Jul 2004 4:22 AM
    Updated: Wed, 14 Jul 2004 5:32 AM
Environment: WinXP & Cygwin

Description:
New protocol scpexe is not compatible to old functionality in the deploy-plugin. It fails now on Cygwin silently (BUILD SUCCEEDED). Debugging with -X reveals, that the implementation uses now absolute instead of relative paths. Unfortunately something like "C:\xxx\yyy" is interpreted as a file on host C. Using relative paths like "xxx\yyy", there is no problem with Cygwin's scp.


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPARTIFACT-28) scpexe fails on Cygwin

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Joerg Schaible
    Created: Wed, 14 Jul 2004 5:35 AM
       Body:
Since I am not really sure, if anything can be done about it (since Cygwin & Java do not play nice often and you can't really blame Cygwin's scp nor the artifact-plugin), I've added a workaround by using two wrappers, one for the command line and one for the cygwin shell.

To use them, put both scripts into the path and set

maven.scp.executable=scpwin.bat
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPARTIFACT-28?page=comments#action_21758

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPARTIFACT-28

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPARTIFACT-28
    Summary: scpexe fails on Cygwin
       Type: Bug

     Status: Unassigned
   Priority: Critical

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-artifact-plugin
   Versions:
             1.4

   Assignee: 
   Reporter: Joerg Schaible

    Created: Wed, 14 Jul 2004 4:22 AM
    Updated: Wed, 14 Jul 2004 5:35 AM
Environment: WinXP & Cygwin

Description:
New protocol scpexe is not compatible to old functionality in the deploy-plugin. It fails now on Cygwin silently (BUILD SUCCEEDED). Debugging with -X reveals, that the implementation uses now absolute instead of relative paths. Unfortunately something like "C:\xxx\yyy" is interpreted as a file on host C. Using relative paths like "xxx\yyy", there is no problem with Cygwin's scp.


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MPARTIFACT-28) scpexe fails on Cygwin

Posted by ji...@codehaus.org.
Message:

   The following issue has been closed.

   Resolver: Brett Porter
       Date: Tue, 28 Sep 2004 2:26 AM

fixed - will commit later
---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPARTIFACT-28

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPARTIFACT-28
    Summary: scpexe fails on Cygwin
       Type: Bug

     Status: Closed
   Priority: Critical
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-artifact-plugin
   Fix Fors:
             1.4.1
   Versions:
             1.4

   Assignee: Brett Porter
   Reporter: Joerg Schaible

    Created: Wed, 14 Jul 2004 4:22 AM
    Updated: Tue, 28 Sep 2004 2:26 AM
Environment: WinXP & Cygwin

Description:
New protocol scpexe is not compatible to old functionality in the deploy-plugin. It fails now on Cygwin silently (BUILD SUCCEEDED). Debugging with -X reveals, that the implementation uses now absolute instead of relative paths. Unfortunately something like "C:\xxx\yyy" is interpreted as a file on host C. Using relative paths like "xxx\yyy", there is no problem with Cygwin's scp.


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPARTIFACT-28) scpexe fails on Cygwin

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Carlos Sanchez
    Created: Thu, 15 Jul 2004 4:45 AM
       Body:
As a suggestion, using putty http://www.chiark.greenend.org.uk/~sgtatham/putty/ on windows is a better option than cygwin openssh.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPARTIFACT-28?page=comments#action_21793

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPARTIFACT-28

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPARTIFACT-28
    Summary: scpexe fails on Cygwin
       Type: Bug

     Status: Unassigned
   Priority: Critical

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-artifact-plugin
   Versions:
             1.4

   Assignee: 
   Reporter: Joerg Schaible

    Created: Wed, 14 Jul 2004 4:22 AM
    Updated: Thu, 15 Jul 2004 4:45 AM
Environment: WinXP & Cygwin

Description:
New protocol scpexe is not compatible to old functionality in the deploy-plugin. It fails now on Cygwin silently (BUILD SUCCEEDED). Debugging with -X reveals, that the implementation uses now absolute instead of relative paths. Unfortunately something like "C:\xxx\yyy" is interpreted as a file on host C. Using relative paths like "xxx\yyy", there is no problem with Cygwin's scp.


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPARTIFACT-28) scpexe fails on Cygwin

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Joerg Schaible
    Created: Thu, 15 Jul 2004 4:21 AM
       Body:
The FAQ is possibly the best solution along with a link to download this  two files.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPARTIFACT-28?page=comments#action_21788

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPARTIFACT-28

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPARTIFACT-28
    Summary: scpexe fails on Cygwin
       Type: Bug

     Status: Unassigned
   Priority: Critical

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-artifact-plugin
   Versions:
             1.4

   Assignee: 
   Reporter: Joerg Schaible

    Created: Wed, 14 Jul 2004 4:22 AM
    Updated: Thu, 15 Jul 2004 4:21 AM
Environment: WinXP & Cygwin

Description:
New protocol scpexe is not compatible to old functionality in the deploy-plugin. It fails now on Cygwin silently (BUILD SUCCEEDED). Debugging with -X reveals, that the implementation uses now absolute instead of relative paths. Unfortunately something like "C:\xxx\yyy" is interpreted as a file on host C. Using relative paths like "xxx\yyy", there is no problem with Cygwin's scp.


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPARTIFACT-28) scpexe fails on Cygwin

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: dion gillard
    Created: Wed, 14 Jul 2004 7:30 PM
       Body:
This really should be documented as an FAQ.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPARTIFACT-28?page=comments#action_21783

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPARTIFACT-28

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPARTIFACT-28
    Summary: scpexe fails on Cygwin
       Type: Bug

     Status: Unassigned
   Priority: Critical

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-artifact-plugin
   Versions:
             1.4

   Assignee: 
   Reporter: Joerg Schaible

    Created: Wed, 14 Jul 2004 4:22 AM
    Updated: Wed, 14 Jul 2004 7:30 PM
Environment: WinXP & Cygwin

Description:
New protocol scpexe is not compatible to old functionality in the deploy-plugin. It fails now on Cygwin silently (BUILD SUCCEEDED). Debugging with -X reveals, that the implementation uses now absolute instead of relative paths. Unfortunately something like "C:\xxx\yyy" is interpreted as a file on host C. Using relative paths like "xxx\yyy", there is no problem with Cygwin's scp.


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPARTIFACT-28) scpexe fails on Cygwin

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Joerg Schaible
    Created: Thu, 15 Jul 2004 5:28 AM
       Body:
>  As a suggestion, using putty on windows is a better option than cygwin openssh.

Well, this depends heavily on your environment and your own preferences. But if you already mension PuTTy, you should also mension how to set it up, to work with scpexe at all:

 maven.ssh.executable=plink
 maven.ssh.options=-A -2 -ssh
 maven.ssh.executable=pscp
 maven.ssh.options=-2

So, what's easier ?
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPARTIFACT-28?page=comments#action_21802

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPARTIFACT-28

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPARTIFACT-28
    Summary: scpexe fails on Cygwin
       Type: Bug

     Status: Unassigned
   Priority: Critical

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-artifact-plugin
   Versions:
             1.4

   Assignee: 
   Reporter: Joerg Schaible

    Created: Wed, 14 Jul 2004 4:22 AM
    Updated: Thu, 15 Jul 2004 5:28 AM
Environment: WinXP & Cygwin

Description:
New protocol scpexe is not compatible to old functionality in the deploy-plugin. It fails now on Cygwin silently (BUILD SUCCEEDED). Debugging with -X reveals, that the implementation uses now absolute instead of relative paths. Unfortunately something like "C:\xxx\yyy" is interpreted as a file on host C. Using relative paths like "xxx\yyy", there is no problem with Cygwin's scp.


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org