avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hamm...@apache.org
Subject cvs commit: avalon-sandbox/avalon-net/Castle Castle-helper.build
Date Tue, 13 Jan 2004 00:46:19 GMT
hammett     2004/01/12 16:46:19

  Modified:    avalon-net/Castle Castle-helper.build
  Log:
  Updated to work with the last nightly version of nant.
  
  Revision  Changes    Path
  1.2       +35 -35    avalon-sandbox/avalon-net/Castle/Castle-helper.build
  
  Index: Castle-helper.build
  ===================================================================
  RCS file: /home/cvs/avalon-sandbox/avalon-net/Castle/Castle-helper.build,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Castle-helper.build	27 Dec 2003 19:46:57 -0000	1.1
  +++ Castle-helper.build	13 Jan 2004 00:46:19 -0000	1.2
  @@ -2,136 +2,136 @@
   <project name="avalon-castle-helper" xmlnds="http://tempuri.org/nant-vs.xsd">
   
       <target name="check-bin-dir">
  -        <if test="${not nant::property-exists('bin.dir')}">
  +        <if test="${not property::exists('bin.dir')}">
               <property name="bin.dir" value="bin" readonly="false" />
           </if>
           <mkdir dir="${bin.dir}" />
       </target>
   
       <target name="check-build-debug">
  -        <if test="${not nant::property-exists('build.debug')}">
  +        <if test="${not property::exists('build.debug')}">
               <fail message="The build debug setting has not been specified." />
           </if>
       </target>
   
       <target name="check-build-defines">
  -        <if test="${not nant::property-exists('build.defines.csc')}">
  +        <if test="${not property::exists('build.defines.csc')}">
               <fail message="The build defines for the csc task have not been specified."
/>
           </if>
  -        <if test="${not nant::property-exists('build.defines.jsc')}">
  +        <if test="${not property::exists('build.defines.jsc')}">
               <fail message="The build defines for the jsc task have not been specified."
/>
           </if>
  -        <if test="${not nant::property-exists('build.defines.vbc')}">
  +        <if test="${not property::exists('build.defines.vbc')}">
               <fail message="The build defines for the vbc task have not been specified."
/>
           </if>
  -        <if test="${not nant::property-exists('build.defines.vjc')}">
  +        <if test="${not property::exists('build.defines.vjc')}">
               <fail message="The build defines for the vjc task have not been specified."
/>
           </if>
  -        <if test="${not nant::property-exists('build.defines.cl')}">
  +        <if test="${not property::exists('build.defines.cl')}">
               <fail message="The build defines for the cl task have not been specified."
/>
           </if>
       </target>
   
       <target name="check-doc-dir">
  -        <if test="${not nant::property-exists('doc.dir')}">
  +        <if test="${not property::exists('doc.dir')}">
               <property name="doc.dir" value="doc" readonly="false" />
           </if>
           <mkdir dir="${doc.dir}" />
       </target>
   
       <target name="check-sdkdoc-dir" depends="check-doc-dir">
  -        <if test="${not nant::property-exists('sdkdoc.dir')}">
  +        <if test="${not property::exists('sdkdoc.dir')}">
               <property name="sdkdoc.dir" value="${doc.dir}/sdk" readonly="false" />
           </if>
           <mkdir dir="${sdkdoc.dir}" />
       </target>
   
       <target name="check-sdkdoc-debug">
  -        <if test="${not nant::property-exists('sdkdoc.debug')}">
  +        <if test="${not property::exists('sdkdoc.debug')}">
               <fail message="The sdk documentation debug setting has not been specified."
/>
           </if>
       </target>
   
       <target name="check-current-bin-dir">
  -        <if test="${not nant::property-exists('current.bin.dir')}">
  +        <if test="${not property::exists('current.bin.dir')}">
               <fail message="The current binaries directory has not been specified." />
           </if>
           <mkdir dir="${current.bin.dir}" />
       </target>
   
       <target name="check-current-build-debug">
  -        <if test="${not nant::property-exists('current.build.debug')}">
  +        <if test="${not property::exists('current.build.debug')}">
               <fail message="The current build debug setting has not been specified."
/>
           </if>
       </target>
   
       <target name="check-current-build-defines">
  -        <if test="${not nant::property-exists('current.build.defines.csc')}">
  +        <if test="${not property::exists('current.build.defines.csc')}">
               <fail message="The current build defines for the csc task have not been
specified." />
           </if>
  -        <if test="${not nant::property-exists('current.build.defines.jsc')}">
  +        <if test="${not property::exists('current.build.defines.jsc')}">
               <fail message="The current build defines for the jsc task have not been
specified." />
           </if>
  -        <if test="${not nant::property-exists('current.build.defines.vbc')}">
  +        <if test="${not property::exists('current.build.defines.vbc')}">
               <fail message="The current build defines for the vbc task have not been
specified." />
           </if>
  -        <if test="${not nant::property-exists('current.build.defines.vjc')}">
  +        <if test="${not property::exists('current.build.defines.vjc')}">
               <fail message="The current build defines for the vjc task have not been
specified." />
           </if>
  -        <if test="${not nant::property-exists('current.build.defines.cl')}">
  +        <if test="${not property::exists('current.build.defines.cl')}">
               <fail message="The current build defines for the cl task have not been specified."
/>
           </if>
       </target>
   
       <target name="check-current-sdkdoc-dir">
  -        <if test="${not nant::property-exists('current.sdkdoc.dir')}">
  +        <if test="${not property::exists('current.sdkdoc.dir')}">
               <fail message="The current sdk document directory has not been specified."
/>
           </if>
           <mkdir dir="${sdkdoc.dir}" />
       </target>
   
       <target name="check-current-sdkdoc-debug">
  -        <if test="${not nant::property-exists('current.sdkdoc.debug')}">
  +        <if test="${not property::exists('current.sdkdoc.debug')}">
               <fail message="The curernt sdk documentation debug setting has not been
specified." />
           </if>
       </target>
   
       <target name="check-current-runtime-config">
  -        <if test="${not nant::property-exists('current.runtime.config')}">
  +        <if test="${not property::exists('current.runtime.config')}">
               <fail message="The current runtime configuration has not been specified."
/>
           </if>
       </target>
   
       <target name="check-current-runtime-version">
  -        <if test="${not nant::property-exists('current.runtime.config')}">
  +        <if test="${not property::exists('current.runtime.config')}">
               <fail message="The current runtime version has not been specified." />
           </if>
       </target>
   
       <target name="check-current-runtime-description">
  -        <if test="${not nant::property-exists('current.runtime.description')}">
  -            <if test="${not nant::property-exists('project.runtime.description')}">
  +        <if test="${not property::exists('current.runtime.description')}">
  +            <if test="${not property::exists('project.runtime.description')}">
                   <fail message="The runtime description has not been specified and no
default runtime description is available." />
               </if>
  -            <if test="${nant::property-exists('project.runtime.description')}">
  +            <if test="${property::exists('project.runtime.description')}">
                   <property name="current.runtime.description" value="${project.runtime.description}"
readonly="false" />
               </if>
           </if>
       </target>
   
       <target name="check-current-build-config">
  -        <if test="${not nant::property-exists('current.build.config')}">
  -            <if test="${not nant::property-exists('project.build.config')}">
  +        <if test="${not property::exists('current.build.config')}">
  +            <if test="${not property::exists('project.build.config')}">
                   <fail message="The build configuration has not been specified and no
default build configuration is available." />
               </if>
  -            <if test="${nant::property-exists('project.build.config')}">
  +            <if test="${property::exists('project.build.config')}">
                   <property name="current.build.config" value="${project.build.config}"
readonly="false" />
               </if>
           </if>
       </target>
   
       <target name="check-castle-basedir">
  -        <if test="${not nant::property-exists('castle.basedir')}">
  +        <if test="${not property::exists('castle.basedir')}">
               <fail message="The castle base directory has not been specified." />
           </if>
       </target>
  @@ -139,7 +139,7 @@
       <target name="check-castle-assembly" depends="check-current-runtime-config, check-current-runtime-version,
check-current-build-config, check-castle-basedir">
           <available type="File" resource="${castle.basedir}/bin/${current.runtime.config}/${current.runtime.version}/${current.build.config}/Castle.dll"
               property="temp.castle.assembly.available" />
  -        <if test="${not nant::property-exists('temp.castle.assembly.available')}">
  +        <if test="${not property::exists('temp.castle.assembly.available')}">
               <fail message="The Castle '${current.build.config}' assembly for runtime
'${current.runtime.config}-${current.runtime.version}' is not available." />
           </if>
       </target>
  @@ -153,7 +153,7 @@
       <target name="clean-current-bin-dir" depends="check-current-bin-dir" description="Cleans
the current binaries directory">
           <echo message="Cleaning the ${current.bin.dir} binaries directory." />
           <available type="Directory" resource="${current.bin.dir}" property="temp.current.bin.dir.available"
/>
  -        <if test="${nant::property-exists('temp.current.bin.dir.available')}">
  +        <if test="${property::exists('temp.current.bin.dir.available')}">
               <delete dir="${current.bin.dir}" />
           </if>
           <mkdir dir="${current.bin.dir}" />
  @@ -162,7 +162,7 @@
       <target name="clean-current-sdkdoc-dir" depends="check-current-sdkdoc-dir" description="cleaning
the current SDK documentation directory">
           <echo message="Cleaning the ${current.sdkdoc.dir} SDK documentation directory."
/>
           <available type="Directory" resource="${current.sdkdoc.dir}" property="temp.current.sdkdoc.dir.available"
/>
  -        <if test="${nant::property-exists('temp.current.sdkdoc.dir.available')}">
  +        <if test="${property::exists('temp.current.sdkdoc.dir.available')}">
               <delete dir="${current.sdkdoc.dir}" />
           </if>
           <mkdir dir="${current.sdkdoc.dir}" />
  @@ -209,8 +209,8 @@
       </target>
   
       <target name="set-runtime-configuration" depends="check-current-build-config">
  -        <if test="${not nant::property-exists('current.runtime.config')}">
  -            <if test="${not nant::property-exists('nant.settings.currentframework')}">
  +        <if test="${not property::exists('current.runtime.config')}">
  +            <if test="${not property::exists('nant.settings.currentframework')}">
                   <fail message="No runtime configuration was specified and the default
NAnt runtime is not available." />
               </if>
   
  @@ -221,8 +221,8 @@
               </ifnot>
               <call target="set-${nant.settings.currentframework}-runtime-configuration"
 />
           </if>
  -        <if test="${not nant::property-exists('current.runtime.version')}">
  -            <if test="${not nant::property-exists('nant.settings.currentframework')}">
  +        <if test="${not property::exists('current.runtime.version')}">
  +            <if test="${not property::exists('nant.settings.currentframework')}">
                   <fail message="No runtime configuration was specified and the default
NAnt runtime is not available." />
               </if>
               <!-- <if test="${not nant::target-exists('set-${nant.settings.currentframework}-runtime-configuration')}">
-->
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message