gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: jakarta-gump build.xml
Date Thu, 02 Jan 2003 12:49:41 GMT
conor       2003/01/02 04:49:40

  Modified:    .        build.xml
  Log:
  Automate script execution
  
  Revision  Changes    Path
  1.14      +34 -14    jakarta-gump/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/build.xml,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -w -u -r1.13 -r1.14
  --- build.xml	12 Dec 2002 03:31:29 -0000	1.13
  +++ build.xml	2 Jan 2003 12:49:40 -0000	1.14
  @@ -46,6 +46,18 @@
           </not>
         </and>
       </condition>
  +
  +    <condition property="shell" value="/bin/sh">
  +        <os family="unix"/>
  +    </condition>
  +    <condition property="shell" value="cmd.exe">
  +      <and>
  +        <os family="windows"/>
  +        <not>
  +          <os family="win9x"/>
  +        </not>
  +      </and>
  +    </condition>
     </target>
             
     <!-- Build the code used to generate the merged xml scripts -->
  @@ -132,6 +144,14 @@
              extension=".${extension}" style="stylesheet/${target}.xsl"/>
     </target>
    
  +  <!-- generate and publish scripts to work area -->
  +  <target name="exec-scripts" depends="scripts">
  +    <exec dir="work" executable="${shell}">
  +      <arg value="puball.${extension}"/>
  +      <arg value="../${workspace}"/>
  +    </exec>
  +   </target>
  +
     <!-- Generate javadocs -->
     <target name="javadocs" depends="compile" unless="javadocs.uptodate">
       <mkdir dir="javadocs"/>
  
  
  

Mime
View raw message