Mercurial > public > develkit
comparison ssdt-common-build.xml @ 46:8b682fce9900
correct version problem
author | smith@nwoca.org |
---|---|
date | Thu, 09 Jun 2011 17:15:53 -0400 |
parents | cc9b1cd6098b |
children | 426d160e1e4a |
comparison
equal
deleted
inserted
replaced
45:cc9b1cd6098b | 46:8b682fce9900 |
---|---|
46 <property name="project.name" value="${ivy.module}"/> | 46 <property name="project.name" value="${ivy.module}"/> |
47 <property name="project.version.file" value="${build.classes.dir}/version.properties"/> | 47 <property name="project.version.file" value="${build.classes.dir}/version.properties"/> |
48 </target> | 48 </target> |
49 | 49 |
50 <target name="project.version" depends="project.init" > | 50 <target name="project.version" depends="project.init" > |
51 <mkdir dir="${build.classes.dir}"/> | |
51 <propertyfile file="${project.version.file}" comment="Version build information"> | 52 <propertyfile file="${project.version.file}" comment="Version build information"> |
52 <entry key="projectName" value="${project.name}"/> | 53 <entry key="projectName" value="${project.name}"/> |
53 <entry key="projectVersion" value="${project.version}"/> | 54 <entry key="projectVersion" value="${project.version}"/> |
54 <entry key="buildDate" type="date" value="now"/> | 55 <entry key="buildDate" type="date" value="now"/> |
55 <entry key="buildNumber" value="${build.number}"/> | 56 <entry key="buildNumber" value="${build.number}"/> |
56 <entry key="built.by" value="${ant.version}"/> | 57 <entry key="built.by" value="${ant.version}"/> |
57 <entry key="build.java.version" value="${ant.java.version}"/> | 58 <entry key="build.java.version" value="${ant.java.version}"/> |
58 <entry key="built.on" value="${os.name} ${os.arch} ${os.version} (${user.name})"/> | 59 <entry key="built.on" value="${os.name} ${os.arch} ${os.version} (${user.name})"/> |
59 </propertyfile> | 60 </propertyfile> |
60 </target> | 61 </target> |
61 | 62 |
62 <target name="-project.pre-init" depends="init"> | 63 <target name="-project.pre-init" depends="init"> |
63 <condition property="tomcat.available"> | 64 <condition property="tomcat.available"> |
64 <and> | 65 <and> |
65 <available file="${tomcat.home}" type="dir"/> | 66 <available file="${tomcat.home}" type="dir"/> |