hlship      2003/09/05 09:12:54

  Modified:    hivemind project.xml maven.xml
               hivemind/xdocs navigation.xml
  Log:
  Hack together a goal to install to jakarta.apache.org/~hlship/hivemind.
  
  Revision  Changes    Path
  1.20      +2 -2      jakarta-commons-sandbox/hivemind/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/project.xml,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- project.xml       3 Sep 2003 11:34:52 -0000       1.19
  +++ project.xml       5 Sep 2003 16:12:53 -0000       1.20
  @@ -32,7 +32,7 @@
      /www/jakarta.apache.org/commons/sandbox/hivemind/
     </siteDirectory>
     <distributionDirectory>
  -             /www/jakarta.apache.org/builds/jakarta-commons-sandbox/hivemind/
  +             ~hlship/hivemind/
     </distributionDirectory>
   
     <repository>
  
  
  
  1.7       +24 -2     jakarta-commons-sandbox/hivemind/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/maven.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- maven.xml 1 Aug 2003 14:41:30 -0000       1.6
  +++ maven.xml 5 Sep 2003 16:12:53 -0000       1.7
  @@ -1,6 +1,6 @@
   <?xml version="1.0"?>
   <!-- $Id$ -->
  -<project xmlns:j="jelly:core" xmlns:u="jelly:util">
  +<project xmlns:j="jelly:core" xmlns:u="jelly:util" xmlns:ant="jelly:ant">
        <postGoal name="jar:jar">
                <echo>Adding META-INF/hivemodule.xml to ${maven.final.name}.jar</echo>
                <taskdef name="manifestClassPath"
  @@ -86,4 +86,26 @@
                </java>
                <copy todir="${output.dir}" file="src/xsl/hivemind.css"/>
        </preGoal>
  +     
  +     <goal name="install-latest" description="Build and install latest src and bin 
distributions to temporary site.">
  +             <attainGoal name="clean"/>
  +             <attainGoal name="jar"/>
  +             <attainGoal name="xdoc"/>
  +             <attainGoal name="dist:build"/>
  +          
  +    <j:set var="copier" value='${context.getVariable("maven.scp.executable")}'/>
  +    
  +    <echo>Copying from ${maven.dist.dir} to home page ...</echo>
  +    
  +    <!-- Mix Maven, Bash, Cygwin and who knows what ... and get the wrong 
permissions. -->
  +        
  +
  +             <ant:chmod dir="${maven.dist.dir}" includes="*" perm="ogu+r"/>
  +             
  +    <ant:exec dir="${maven.dist.dir}" executable="${copier}">
  +        <ant:arg value="*.zip"/>
  +        <ant:arg value="*.tar.gz"/>
  +        <ant:arg value="[EMAIL PROTECTED]:~/public_html/hivemind"/>
  +    </ant:exec>
  +     </goal>
   </project>
  
  
  
  1.14      +2 -1      jakarta-commons-sandbox/hivemind/xdocs/navigation.xml
  
  Index: navigation.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/xdocs/navigation.xml,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- navigation.xml    4 Sep 2003 23:59:03 -0000       1.13
  +++ navigation.xml    5 Sep 2003 16:12:54 -0000       1.14
  @@ -18,6 +18,7 @@
                                <item name="ManifestClassPath" 
href="/ant/ManifestClassPath.html"/>
                                <item name="ConstructRegistry" 
href="/ant/ConstructRegistry.html"/>     
                        </item>
  +                     <item name="Downloads" 
href="http://jakarta.apache.org/~hlship/hivemind/"/>
                </menu>
        </body>
   </project>
  
  
  

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

Reply via email to