You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by ni...@apache.org on 2004/02/21 22:27:46 UTC

cvs commit: xml-forrest/scratchpad/forrestdoc build.properties build.xml

nicolaken    2004/02/21 13:27:46

  Modified:    scratchpad/forrestdoc build.properties build.xml
  Log:
  Make the jar and use the version number.
  
  Revision  Changes    Path
  1.2       +4 -1      xml-forrest/scratchpad/forrestdoc/build.properties
  
  Index: build.properties
  ===================================================================
  RCS file: /home/cvs/xml-forrest/scratchpad/forrestdoc/build.properties,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.properties	11 Feb 2004 11:12:37 -0000	1.1
  +++ build.properties	21 Feb 2004 21:27:46 -0000	1.2
  @@ -1,3 +1,4 @@
  +version=0.1-dev
   src.dir=./src/java
   ant.src.dir=./src/ant
   resources.dir=./src/resources
  @@ -8,4 +9,6 @@
   
   build.classes.dir=${build.dir}/classes
      
  -ws.dir=../../..
  \ No newline at end of file
  +ws.dir=../../..
  +
  +jar.name=xml-forrest-scratchpad-forrestdoc
  \ No newline at end of file
  
  
  
  1.7       +3 -3      xml-forrest/scratchpad/forrestdoc/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-forrest/scratchpad/forrestdoc/build.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- build.xml	12 Feb 2004 18:56:55 -0000	1.6
  +++ build.xml	21 Feb 2004 21:27:46 -0000	1.7
  @@ -41,10 +41,10 @@
                classpathref="lib.classpath" />
      </target>
   
  -   <target name="dist" depends="compile"
  -           description="Put everything in ${target} into the xml-forrestdoc.jar file">   
  +   <target name="jar" depends="compile"
  +           description="Put everything in ${target} into the ${jar.name}.jar file">   
         <mkdir dir="${dist.dir}" />
  -      <jar jarfile="${dist.dir}/xml-forrestdoc.jar"
  +      <jar jarfile="${dist.dir}/${jar.name}-${version}.jar"
              basedir="${build.classes.dir}" />
      </target>