forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject cvs commit: xml-forrest/src/resources/forrest-shbat forrest.build.xml
Date Thu, 14 Nov 2002 16:23:42 GMT
jefft       2002/11/14 08:23:42

  Modified:    src/resources/forrest-shbat forrest.build.xml
  Log:
  Nest the failure message in the <fail> element, instead of having it in a
  separate echo
  
  Revision  Changes    Path
  1.21      +6 -9      xml-forrest/src/resources/forrest-shbat/forrest.build.xml
  
  Index: forrest.build.xml
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/forrest-shbat/forrest.build.xml,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- forrest.build.xml	12 Nov 2002 17:17:48 -0000	1.20
  +++ forrest.build.xml	14 Nov 2002 16:23:42 -0000	1.21
  @@ -509,23 +509,21 @@
   
     <target name="ensure-nocontent" depends="check-contentdir"
       if="project.content.present">
  -    <echo>
  +    <fail>
   ------------------------------------------------
   This project already has content in ${project.xdocs-dir}.
   ------------------------------------------------
  -    </echo>
  -    <fail message="Project already has content"/>
  +    </fail>
     </target>
   
     <target name="ensure-content" depends="check-contentdir"
       unless="project.content.present">
  -    <echo>
  +    <fail>
   ------------------------------------------------
   This project has no content in ${project.xdocs-dir}.
   Use the 'seed' target to create a template project structure.
   ------------------------------------------------
  -    </echo>
  -    <fail message="Project has no content"/>
  +    </fail>
     </target>
   
     <!-- ===============================================================
  @@ -580,13 +578,12 @@
   
   
     <target name="project.webapp.defined" unless="project.webapp">
  -    <echo>
  +    <fail>
         ------------------------------------------------
         Error: $${project.webapp} variable has not been set. This is where the
         webapp will be assembled. Please define it in the calling script.
         ------------------------------------------------
  -    </echo>
  -    <fail message="project.webapp variable not set"/>
  +    </fail>
     </target>
   
     <!-- ===============================================================
  
  
  

Mime
View raw message