Permalink
Browse files

add version property. delete docs dir before generating. put docs in …

…a directory based on version number
  • Loading branch information...
1 parent 6e6bfde commit c3b5f9f07bb0f6215c7ba25ee60cfc950db10b8f Mike Dirolf committed Apr 23, 2009
Showing with 3 additions and 2 deletions.
  1. +3 −2 build.xml
View
@@ -1,6 +1,7 @@
<?xml version='1.0'?>
<project name="MongoDB Java Driver" default="compile" basedir=".">
+ <property name="version" value="0.2"/>
<property name="targetdir" location="target"/>
<property name="testdir" location="${targetdir}/test"/>
@@ -64,11 +65,11 @@
<target name="javadocs" depends="compile" description="Generate API docs">
-
+ <delete dir="docs/"/>
<javadoc packagenames="com.mongodb.*"
sourcepath="src/main/"
defaultexcludes="yes"
- destdir="docs/"
+ destdir="docs/${version}"
author="true"
version="true"
source="1.5"

0 comments on commit c3b5f9f

Please sign in to comment.