site:deploy only partially deploys site
---------------------------------------

         Key: MNG-476
         URL: http://jira.codehaus.org/browse/MNG-476
     Project: Maven 2
        Type: Bug
  Components: maven-plugins  
    Versions: 2.0-alpha-2    
 Environment: Windows XP for local run
IBM AIX for deployment server
    Reporter: Yann Le Du
 Attachments: fix.txt, log1.txt, log2.txt

I have forged a site in target/site (since site:site doesn't work yet, see 
http://jira.codehaus.org/browse/MNG-389). Here is what I get when I try to 
deploy it : log1.txt

When I look in //server/home/user, the directory www/docs/foo is created, but 
it's either empty, either incomplete (it depends).

My guess is that these two commands :
   cd /home/user/www/docs/foo/;unzip -o site6665.zip
   rm  /home/user/www/docs/foo//site6665.zip
were running concurrently, and the ZIP file was deleted before unzip was 
finished.

To check this, I have tried to pause the process at different points, and here 
is the result : log2.txt

I've tried to check out the Maven source code to fix and build it at my place, 
but I got a lot of error messages at compile-time, so I gave up :)

Here is the fix that I would have tried (I didn't make a diff since I'm not 
sure of the fix) : fix.txt

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to