You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/08/04 19:16:57 UTC

[jira] Commented: (MNG-476) site:deploy only partially deploys site

    [ http://jira.codehaus.org/browse/MNG-476?page=comments#action_43941 ] 

Brett Porter commented on MNG-476:
----------------------------------

problem could be anything, but it isn't working at all right now. Maybe it doesn't support multiple commands on a single line.

We need to fix the ChannelExec code to properly handle the i/o streams, then check the exit status and the err stream

> 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
>     Assignee: Brett Porter
>     Priority: Critical
>      Fix For: 2.0-beta-1
>  Attachments: MNG-476.txt, 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org