imakerplugin/generatedoc-build.xml
author Matti Hagman <ext-matti.hagman@nokia.com>
Tue, 21 Sep 2010 13:50:51 +0300
changeset 29 f48eb66e9604
parent 0 61163b28edca
permissions -rw-r--r--
Creator Carbide Extension 1.3.0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     1
<!--****************************************************************************
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     2
 * Configuration tool main build file
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     3
 * This ant build.xml will compile all Configuration tool plugins
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     4
 ****************************************************************************-->
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     5
 
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     6
<project name="ConfigurationTool generatedoc" default="generatedoc">
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     7
	<!-- import common properties for this plugin -->
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     8
	<property file="common.properties"/>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     9
	<property file="install.properties"/>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    10
  <property file="build.properties"/>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    11
    
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    12
  <target name="init-generatedoc" depends="get-svnversion">
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    13
      <mkdir dir="${common.documents}"/>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    14
  </target>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    15
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    16
  <target name="generatedoc" depends="doxygen"/>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    17
    
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    18
  <target name="update-doxyfile">
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    19
		<delete file="$Doxyfile"/>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    20
		<copy file="Doxyfile.template" tofile="Doxyfile"/>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    21
		<echo file="Doxyfile" append="yes">
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    22
		# -------------------------------------------------------------------------
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    23
		# generated by ant
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    24
		PROJECT_NAME           = ${ant.project.name}
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    25
		PROJECT_NUMBER         = ${common.version}-${common.svnversion}
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    26
		OUTPUT_DIRECTORY       = "${common.documents}\doxygen"
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    27
		</echo>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    28
  </target>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    29
  
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    30
  <target name="doxygen" depends="init-generatedoc,update-doxyfile">
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    31
    <exec executable="doxygen" dir=".">
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    32
	  </exec>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    33
  </target>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    34
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    35
  <target name="javadoc" depends="init-generatedoc">
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    36
	  <javadoc linksource="yes" destdir="${common.documents}/javadoc">
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    37
	    <sourcefiles>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    38
        <fileset dir=".">
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    39
        	<include name="**/src/**/*.java"/>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    40
        </fileset>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    41
      </sourcefiles>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    42
      <classpath>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    43
        <pathelement location="lib/*.jar"/>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    44
      </classpath>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    45
	  </javadoc>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    46
  </target>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    47
  	
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    48
</project>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    49
     
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    50
     
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    51