[ http://jira.codehaus.org/browse/WAGON-41?page=all ] Carlos Sanchez closed WAGON-41: -------------------------------
Assign To: Carlos Sanchez (was: Henry S. Isidro) Resolution: Fixed Quick fix adding files that failed again > Wagon SCM does not add correctly new files > ------------------------------------------ > > Key: WAGON-41 > URL: http://jira.codehaus.org/browse/WAGON-41 > Project: wagon > Type: Bug > Components: wagon-scm > Versions: 1.0-beta-1 > Reporter: Carlos Sanchez > Assignee: Carlos Sanchez > Priority: Critical > Fix For: 1.0-beta-1 > > Time Spent: 9 hours, 30 minutes > Remaining: 0 minutes > > If the directory to deploy the site to exists, but the files don't, the > deploy doesn't add new files. > The problem is that tries to add files target/checkout/* using > target/checkout as working dir, so the scm add fails, but Wagon doesn't check > for failure in the add command, so neither does it deploy or show the error. > We need to: > cover that case in unit tests (better if done at wagon-test level) > make wagon fail when the add command fails > make wagon add the right file name relative from the working dir -- 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira