[go: up one dir, main page]

Menu

[r22683]: / tags / v4 / Jmol-web / build.xml  Maximize  Restore  History

Download this file

41 lines (34 with data), 1.3 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<project default="doc" basedir=".">
<property name="version" value="4" />
<property name="applet-version" value="4" />
<property name="doc.dir" value="source/doc" />
<property name="build.dir" value="build" />
<property name="build.doc" value="${build.dir}/doc" />
<target name="clean">
<delete dir="${build.dir}"/>
</target>
<target name="spotless" depends="clean">
</target>
<target name="doc" >
<mkdir dir="${doc.dir}/images"/>
<mkdir dir="${build.doc}"/>
<style basedir="${doc.dir}"
destdir="${build.doc}"
style="${doc.dir}/style.xsl"
includes="**/*.xml"
excludes="project.xml"
/>
<copy todir="${build.doc}" overwrite="yes">
<fileset dir="${doc.dir}" includes="license.txt,document.dtd"/>
</copy>
<copy todir="${build.doc}/images" overwrite="yes">
<fileset dir="${doc.dir}/images"/>
</copy>
<copy todir="${build.doc}" overwrite="yes">
<fileset dir="${doc.dir}" includes="*.css,*.jar,*.xyz,*.cml,*.mol"/>
</copy>
<replace file="${build.doc}/index.html" token="$$VERSION$$" value="${version}"/>
<replace file="${build.doc}/download.html" token="$$VERSION$$" value="${version}"/>
<replace file="${build.doc}/applet.html" token="$$APPLET-VERSION$$" value="${applet-version}"/>
</target>
</project>