You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by le...@apache.org on 2004/08/28 23:50:26 UTC

cvs commit: jakarta-commons/attributes maven.xml windeploysite.cmd

leosutic    2004/08/28 14:50:26

  Modified:    attributes maven.xml windeploysite.cmd
  Log:
  Fixed windows deployment of website.
  
  Revision  Changes    Path
  1.9       +8 -0      jakarta-commons/attributes/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/attributes/maven.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- maven.xml	27 Aug 2004 23:12:52 -0000	1.8
  +++ maven.xml	28 Aug 2004 21:50:26 -0000	1.9
  @@ -290,4 +290,12 @@
           </javadoc>
       </goal>
       
  +    <goal name="attributes:windeploysite">
  +        <attainGoal name="site"/>
  +        <mkdir dir="target"/>
  +        <zip destfile="target/site.zip">
  +            <fileset dir="site/target/docs/" includes="**/*"/>
  +        </zip>
  +    </goal>
  +    
   </project>
  
  
  
  1.3       +1 -0      jakarta-commons/attributes/windeploysite.cmd
  
  Index: windeploysite.cmd
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/attributes/windeploysite.cmd,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- windeploysite.cmd	28 Aug 2004 21:12:59 -0000	1.2
  +++ windeploysite.cmd	28 Aug 2004 21:50:26 -0000	1.3
  @@ -2,6 +2,7 @@
   
   if "%1" == "" goto :HELP
   
  +call maven attributes:windeploysite
   pscp target/site.zip %1@cvs.apache.org:__site.zip
   plink %1@cvs.apache.org "rm -rf /www/jakarta.apache.org/commons/attributes/*;unzip __site.zip -d /www/jakarta.apache.org/commons/attributes/;rm -f __site.zip"
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Re: cvs commit: jakarta-commons/attributes maven.xml windeploysite.cmd

Posted by Dion Gillard <di...@gmail.com>.
Leo,

is this something we should be fixing in the site plugin back in Maven?

On 28 Aug 2004 21:50:26 -0000, leosutic@apache.org <le...@apache.org> wrote:
> leosutic    2004/08/28 14:50:26
> 
>   Modified:    attributes maven.xml windeploysite.cmd
>   Log:
>   Fixed windows deployment of website.
> 
>   Revision  Changes    Path
>   1.9       +8 -0      jakarta-commons/attributes/maven.xml
> 
>   Index: maven.xml
>   ===================================================================
>   RCS file: /home/cvs/jakarta-commons/attributes/maven.xml,v
>   retrieving revision 1.8
>   retrieving revision 1.9
>   diff -u -r1.8 -r1.9
>   --- maven.xml 27 Aug 2004 23:12:52 -0000      1.8
>   +++ maven.xml 28 Aug 2004 21:50:26 -0000      1.9
>   @@ -290,4 +290,12 @@
>            </javadoc>
>        </goal>
> 
>   +    <goal name="attributes:windeploysite">
>   +        <attainGoal name="site"/>
>   +        <mkdir dir="target"/>
>   +        <zip destfile="target/site.zip">
>   +            <fileset dir="site/target/docs/" includes="**/*"/>
>   +        </zip>
>   +    </goal>
>   +
>    </project>
> 
>   1.3       +1 -0      jakarta-commons/attributes/windeploysite.cmd
> 
>   Index: windeploysite.cmd
>   ===================================================================
>   RCS file: /home/cvs/jakarta-commons/attributes/windeploysite.cmd,v
>   retrieving revision 1.2
>   retrieving revision 1.3
>   diff -u -r1.2 -r1.3
>   --- windeploysite.cmd 28 Aug 2004 21:12:59 -0000      1.2
>   +++ windeploysite.cmd 28 Aug 2004 21:50:26 -0000      1.3
>   @@ -2,6 +2,7 @@
> 
>    if "%1" == "" goto :HELP
> 
>   +call maven attributes:windeploysite
>    pscp target/site.zip %1@cvs.apache.org:__site.zip
>    plink %1@cvs.apache.org "rm -rf /www/jakarta.apache.org/commons/attributes/*;unzip __site.zip -d /www/jakarta.apache.org/commons/attributes/;rm -f __site.zip"
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 
> 


-- 
http://www.multitask.com.au/people/dion/

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org