The following comment has been added to this issue:

     Author: Tore Green
    Created: Wed, 10 Nov 2004 6:46 AM
       Body:
Hadn't looked much at scepexe because it's not scp I'm doing.
It seems this could be tweaked to work for me. 

It assumes [EMAIL PROTECTED] as part of the command and I don't need that, but 
if the command is a scipt I can always ignore that argument ;-)

In case you're wondering, what I'm trying to do is to call a command called 
clearfsimport to publish artifacts to a repository located in ClearCase.

---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPARTIFACT-44?page=comments#action_26282

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

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPARTIFACT-44
    Summary: external:// broken
       Type: Bug

     Status: Reopened
   Priority: Major

 Original Estimate: 5 minutes
 Time Spent: Unknown
  Remaining: 5 minutes

    Project: maven-artifact-plugin
   Versions:
             1.4.1

   Assignee: 
   Reporter: Tore Green

    Created: Wed, 10 Nov 2004 5:38 AM
    Updated: Wed, 10 Nov 2004 6:46 AM
Environment: Win2K, Maven v1.0

Description:
The ExternalDeployer does not work because it uses an incorrect call to 
Runtime.exec().

To fix this problem, put cmd and params in the same String[] and use the 
exec(String[]) version instead:

String[] params = {cmd, request.getSrcFile(), request.getDestFile()};
//...
Process process = Runtime.getRuntime().exec(params);


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to