The following comment has been added to this issue:

     Author: Brett Porter
    Created: Wed, 10 Nov 2004 5:47 AM
       Body:
can you please explain the actual problem you are having with this?

It works like it is, and was changed from a String[] because of these bugs:
http://jira.codehaus.org/browse/MPARTIFACT-36
http://jira.codehaus.org/browse/MPARTIFACT-38
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPARTIFACT-44?page=comments#action_26277

---------------------------------------------------------------------
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: Unassigned
   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 5:47 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