User: pathoss 
  Date: 02/05/12 13:03:51

  Modified:    core     Tag: MODULE_REFACTORING_BRANCH build.xml
  Added:       core     Tag: MODULE_REFACTORING_BRANCH build.properties
  Log:
  Moved properties to seperate file.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.3   +227 -271  xdoclet/core/Attic/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /cvsroot/xdoclet/xdoclet/core/Attic/build.xml,v
  retrieving revision 1.1.2.2
  retrieving revision 1.1.2.3
  diff -u -w -r1.1.2.2 -r1.1.2.3
  --- build.xml 12 May 2002 13:25:27 -0000      1.1.2.2
  +++ build.xml 12 May 2002 20:03:51 -0000      1.1.2.3
  @@ -2,31 +2,12 @@
   
   <project name="XDoclet" default="jar" basedir=".">
   
  -   <property name="Name"                    value="XDoclet"/>
  -   <property name="name"                    value="xdoclet"/>
  -   <property name="version"                 value="1.2.0"/>
  -
  -   <property name="src.dir"                 value="${basedir}/src"/>
  -   <property name="config.dir"              value="${basedir}/config"/>
  -   <property name="lib.dir"                 value="${basedir}/lib"/>
  -
  -   <property name="build.dir"               value="${basedir}/build"/>
  -   <property name="build.classes.dir"       value="${build.dir}/classes"/>
  -   <property name="build.src.dir"           value="${build.dir}/src"/>
  -   <property name="build.reports.xml.dir"   value="${build.dir}/reports/xml"/>
  -   <property name="build.reports.html.dir"  value="${build.dir}/reports/html"/>
  -
  -   <property name="packages"                value="${name}.*"/>
  -
  -   <property name="dist.dir"                value="${basedir}/dist"/>
  -   <property name="build.lib.dir"           value="${dist.dir}/lib"/>
  -   <property name="build.docs.dir"          value="${dist.dir}/docs"/>
  -   <property name="xdoclet.jar.file"        value="${build.lib.dir}/${name}.jar"/>
  +    <property file="build.properties"/>
   
      <!-- =================================================================== -->
      <!-- Define class path                                                   -->
      <!-- =================================================================== -->
  -   <path id="project.class.path">
  +    <path id="core.class.path">
         <fileset dir="${basedir}/../lib">
            <include name="**/*.jar" />
         </fileset>
  @@ -38,12 +19,10 @@
         <pathelement path="${java.class.path}" />
      </path>
   
  -
      <!-- =================================================================== -->
      <!-- Init properties                                                     -->
      <!-- =================================================================== -->
      <target name="init">
  -
         <available file="../../xjavadoc/build.xml" 
property="xjavadoc.source.present"/>
   
         <filterset id="xdoclet.filters">
  @@ -51,16 +30,15 @@
            <filter token="DATE" value="${TODAY}" />
            <filter token="TIME" value="${TSTAMP}" />
         </filterset>
  -
      </target>
   
      <!-- =================================================================== -->
      <!-- Runs JUnit tests                                                    -->
      <!-- =================================================================== -->
  -   <target name="junit" depends="jar" description="Runs All JUnit tests">
  +    <target name="junit" depends="jar" description="Runs all JUnit tests">
         <mkdir dir="${build.reports.xml.dir}"/>
         <junit fork="yes">
  -         <classpath refid="project.class.path"/>
  +            <classpath refid="core.class.path"/>
            <batchtest todir="${build.reports.xml.dir}">
               <fileset dir="${build.classes.dir}">
                  <include name="**/*Test.class"/>
  @@ -83,8 +61,6 @@
         </junitreport>
      </target>
   
  -
  -
      <!-- =================================================================== -->
      <!-- Prepares the build directory                                        -->
      <!-- =================================================================== -->
  @@ -127,7 +103,6 @@
   
      </target>
   
  -
      <!-- =================================================================== -->
      <!-- Compiles the source code                                            -->
      <!-- =================================================================== -->
  @@ -142,19 +117,17 @@
   
         <javac
                  destdir="${build.classes.dir}"
  -               classpathref="project.class.path"
  -               debug="on"
  -               deprecation="off"
  -               optimize="off"
  +            classpathref="core.class.path"
  +            debug="${compile.debug}"
  +            deprecation="${compile.deprecation}"
  +            optimize="${compile.optimize}"
  +            nowarn="${compile.nowarn}"
                  includes="**/*.java">
  -
             <src path="${build.dir}/src-filtered"/>
  -
         </javac>
   
      </target>
   
  -
      <!-- =================================================================== -->
      <!-- Creates the jar archives                                            -->
      <!-- =================================================================== -->
  @@ -163,9 +136,7 @@
            <fileset dir="${config.dir}" />
         </copy>
   
  -      <jar  jarfile="${xdoclet.jar.file}"
  -            basedir="${build.dir}/classes"
  -      />
  +        <jar  jarfile="${xdoclet.jar.file}" basedir="${build.dir}/classes"/>
   
      </target>
   
  @@ -173,13 +144,10 @@
      <!-- Cleans up generated stuff                                           -->
      <!-- =================================================================== -->
      <target name="clean" depends="init">
  -
         <delete dir="${build.dir}"/>
         <delete dir="${dist.dir}"/>
  -
      </target>
   
  -
      <!-- =================================================================== -->
      <!-- Generate template tags documentation from source                    -->
      <!-- =================================================================== -->
  @@ -198,17 +166,14 @@
         </fileset>
       </path>
   
  -      <document
  -                destdir="${build.dir}/docs/templates"
  -                classpathref="document.classpath"
  -      >
  +        <document destdir="${build.dir}/docs/templates"
  +                  classpathref="document.classpath">
   
            <fileset dir="${src.dir}">
               <include name="**/*TagsHandler.java" />
            </fileset>
   
            <documenttags/>
  -
         </document>
   
         <copy todir="${build.dir}/docs">
  @@ -216,12 +181,10 @@
         </copy>
      </target>
   
  -
      <!-- =================================================================== -->
      <!-- Creates the API documentation                                       -->
      <!-- =================================================================== -->
      <target name="javadocs" depends="prepare">
  -
         <javadoc packagenames="${packages}"
                  sourcepath="${src.dir}"
                  destdir="${build.dir}/docs/api"
  @@ -229,19 +192,16 @@
                  version="true"
                  windowtitle="${Name} API"
                  doctitle="${Name}">
  -          <classpath refid="project.class.path"/>
  +            <classpath refid="core.class.path"/>
         </javadoc>
  -
      </target>
   
  -   <!-- ========================================= -->
  -   <!-- generate todo-list from on @todo tags     -->
  -   <!-- ========================================= -->
  +    <!-- =================================================================== -->
  +    <!-- Generate todo-list from source (@todo tags)                         -->
  +    <!-- =================================================================== -->
      <target name="todo" depends="jar">
  -
       <mkdir dir="${build.dir}/todo" />
  -      <taskdef
  -         name="todo"
  +        <taskdef name="todo"
            classname="xdoclet.doc.DocumentDocletTask"
            
classpath="${dist.dir}/lib/${name}.jar;${basedir}/../lib/xjavadoc.jar;${basedir}/../lib/log4j.jar"
         />
  @@ -255,10 +215,8 @@
         </fileset>
       </path>
   
  -      <todo
  -         destdir="${build.dir}/todo"
  -         classpathref="todo.classpath"
  -      >
  +        <todo destdir="${build.dir}/todo"
  +              classpathref="todo.classpath">
            <fileset dir="${src.dir}">
               <include name="**/*.java" />
            </fileset>
  @@ -275,6 +233,4 @@
            <fileset dir="${src.dir}"/>
         </copy>
      </target>
  -
  -
   </project>
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.1   +47 -0     xdoclet/core/Attic/build.properties
  
  
  
  

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to