The following comment has been added to this issue:
Author: Brett Porter
Created: Thu, 17 Feb 2005 6:43 PM
Body:
most strange...
exec is the Ant <exec task, which in essence does just Runtime.exec.
Can you run maven with the -X option? Around the exec command, it should give
more details about what is run.
Thanks.
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MPSITE-23?page=comments#action_30011
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPSITE-23
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPSITE-23
Summary: Rsync fail
Type: Bug
Status: Unassigned
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-site-plugin
Components:
plugin
Versions:
1.6
Assignee:
Reporter: Oscar Picasso
Created: Tue, 15 Feb 2005 5:58 PM
Updated: Thu, 17 Feb 2005 6:43 PM
Environment: OS: linux redhat 8.0
Java: 1.5
Description:
On site:rsyncdeploy, get the following:
[exec] building file list ... done
[exec] link_stat target/docs/* : No such file or directory
[exec] wrote 25 bytes read 20 bytes 90.00 bytes/sec
[exec] rsync error: some files could not be transferred (code 23) at
main.c(620)
[exec] total size is 0 speedup is 0.00
[exec] [ERROR] Result: 23
BUILD SUCCESSFUL
In plugin.jelly I have added some <echo/> to see what could happen:
<echo>${maven.rsync.executable}</echo>
<echo>"-avz ${rsyncArgs} ${relativeDocsDest}/* [EMAIL
PROTECTED]:${siteDirectory}"</echo>
I used the output to launch the command from the shell command line and it
works fine.
I also added <exec dir="." executable="pwd"/> to check it the directory was
correct and it was.
So it seems that all the parameters to execute the rsync are good but the
command failed when used from the plugin.
---------------------------------------------------------------------
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]