You are viewing a plain text version of this content. The canonical link for it is here.
Posted to alexandria-dev@jakarta.apache.org by co...@apache.org on 2003/01/02 13:49:41 UTC

cvs commit: jakarta-gump build.xml

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

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>