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/fresh-site forrest-targets.ent
Date Fri, 01 Nov 2002 07:39:14 GMT
jefft       2002/10/31 23:39:14

  Modified:    src/resources/fresh-site forrest-targets.ent
  Log:
  Improve the error message when ${forrest.home} isn't found
  
  Revision  Changes    Path
  1.2       +21 -3     xml-forrest/src/resources/fresh-site/forrest-targets.ent
  
  Index: forrest-targets.ent
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/fresh-site/forrest-targets.ent,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- forrest-targets.ent	1 Nov 2002 06:21:36 -0000	1.1
  +++ forrest-targets.ent	1 Nov 2002 07:39:14 -0000	1.2
  @@ -134,6 +134,19 @@
     </target>
   
     <target name="forrest.home.defined" depends="forrest.sethome" unless="forrest.home.present">
  +    <property name="path" value="${user.home}/xml-forrest/build/dist/shbat"/>
  +    <pathconvert targetos="windows" property="winpath">
  +      <path>
  +        <pathelement location="${path}"/>
  +      </path>
  +    </pathconvert>
  +    <pathconvert targetos="unix" property="unixpath">
  +      <path>
  +        <pathelement
  +          location="${path}"/>
  +      </path>
  +    </pathconvert>
  +
       <echo>
         ----------------------------------------------
         To run this target, you need Forrest installed.
  @@ -145,11 +158,16 @@
         build      (Windows)
         ./build.sh (Unix)
   
  -      Then create build.properties, containing this line:
  +      Then either:
  +
  +      - Set FORREST_HOME as the Forrest build instructions describe
  +      - Create a build.properties, with the forrest.home property pointing to
  +        the forrest shbat directory, eg:
   
  -      forrest.home=${user.home}/xml-forrest/build/dist/shbat
  +        forrest.home=${winpath}  (Windows)
  +        forrest.home=${unixpath}  (Unix)
   
  -      (adjusting the path according to where your xml-forrest is)
  +        (adjusting the path according to where your xml-forrest is)
         ----------------------------------------------
       </echo>
       <fail message="Need to define $${forrest.home}"/>
  
  
  

Mime
View raw message