All Downloads are FREE. Search and download functionalities are using the official Maven repository.

z_build.ant_sub_files.refresh.xml Maven / Gradle / Ivy

Go to download

Template Featherweight: A simplistic Java template-rendering engine, providing for *plain gaps only*, such as "Hello, %name%!"--it has no advanced features such as if-logic, looping, or expressions--Templates may be output in full, after all gaps have been filled, or they may be *auto-rendered*, such that they are gradually output as each gap is filled.

The newest version!
<project name="refresh" default="help" basedir=".">
<!-- Clean targets...START -->

      <target name="delete_build"
            description="Delete the entire build directory (not ${dir_classes_xbn})">
         <delete dir="${dir_build_parent}" includeemptydirs="true" quiet="false"/>
      </target>
         <target name="docclean"
               description="Delete the entire build documentation directory">
            <delete dir="${DIR_bld_docs}" includeemptydirs="true" quiet="true"/>
         </target>
         <target name="delete_build_javadoc"
               description="Delete the build JavaDoc directory">
            <delete dir="${dir_build_docs_javadoc}" includeemptydirs="true" quiet="true"/>
         </target>
         <target name="delete_classes_xbn"
               description="Delete the xbn.** class files in both build/classes and the sandbox">
            <delete quiet="true" includeemptydirs="true" dir="${dir_classes}codelet"/>
            <delete quiet="true" includeemptydirs="true">
               <fileset dir="${dir_classes_xbn}" excludes="testdev/ant/*.class"/>
            </delete>
            <echo>dir_classes_xbn=${dir_classes_xbn}</echo>
            <!-- Delete any class files in the sandbox, except in the bin (or root) directory. -->
            <delete quiet="true">
               <fileset dir="${dir_sandbox_src}">
                  <include name="**/*.class"/>
               </fileset>
               <fileset dir="${dir_sandbox_examples}">
                  <include name="**/*.class"/>
               </fileset>
               <fileset dir="${dir_sandbox_test}">
                  <include name="**/*.class"/>
               </fileset>
               <fileset dir="${dir_sandbox_bldfiles}">
                  <include name="**/*.class"/>
               </fileset>
            </delete>
         </target>
      <target name="delete_working"
            description="Delete the working directory">
         <delete dir="${dir_working}" quiet="true"/>
      </target>

      <target name="cleansandbox"
            description="Deletes temporary files from the sandbox">
         <delete file="${pom_xml_dest}"/><!-- Originates in task preppom. Needed by task clean -->
         <delete file="${dir_sandbox}temp.txt"/>
      </target>

      <target name="clean"
            description="Calls delete_build, delete_classes_xbn and delete_working">
         <antcall target="delete_build"/>
         <antcall target="delete_classes_xbn"/>
         <antcall target="delete_working"/>
         <antcall target="cleansandbox"/>
      </target>
<!-- Clean targets...END -->

<!-- Prepare/refresh targets...START -->
   <target name="prepare"
         description="Create all directories outside of the sandbox, necessary for building xbn">
      <mkdir dir="${dir_working}"/>

      <!-- Never deleted! Created here just in case. -->
      <mkdir dir="${build.class.dir}"/>

      <!-- The delete above is CLASSES/xbn, but mkdir here is only of CLASSES (parent) -->
      <mkdir dir="${dir_build_download}"/>
      <mkdir dir="${dir_build_logs}"/>
      <mkdir dir="${dir_build_docs_javadoc}"/>
   </target>

   <target name="refresh" description="Calls clean then prepare">
      <antcall target="clean"/>
      <antcall target="prepare"/>
   </target>
<!-- Prepare/refresh targets...END -->

</project>





© 2015 - 2024 Weber Informatics LLC | Privacy Policy