1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-23 11:07:57 +01:00

Release file name fixes.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6957 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Matt Tucker 2007-02-05 18:38:37 +00:00 committed by matt
parent e1b93839d7
commit 290f1f0558
2 changed files with 11 additions and 8 deletions

View file

@ -33,15 +33,18 @@
<if>
<equals arg1="${version.extra}" arg2=""/>
<then>
<property name="version.name"
<property name="version"
value="${version.major}.${version.minor}.${version.revision}"/>
<property name="version.filename"
value="${version.major}_${version.minor}_${version.revision}"/>
</then>
<else>
<property name="version.name"
<property name="version"
value="${version.major}.${version.minor}.${version.revision}.${version.extra}"/>
<property name="version.filename"
value="${version.major}_${version.minor}_${version.revision}_${version.extra}"/>
</else>
</if>
<tstamp>
<format property="builddate" pattern="MM/dd/yyyy"/>
</tstamp>
@ -194,7 +197,7 @@
sourcepath="${basedir}/source"
destdir="${javadoc.dest.dir}"
author="true"
windowtitle="Smack ${version.name} Documentation"
windowtitle="Smack ${version} Documentation"
overview="${basedir}/source/overview.html"
>
<classpath>

View file

@ -38,8 +38,8 @@
<property name="release-dev.name" value="smack-dev-${build.date}" />
</then>
<else>
<property name="release.name" value="smack-${version.name}" />
<property name="release-dev.name" value="smack-dev-${version.name}" />
<property name="release.name" value="smack-${version.filename}" />
<property name="release-dev.name" value="smack-dev-${version.filename}" />
</else>
</if>
<property name="release.dir" value="${basedir}/target/release/${release.name}" />
@ -106,14 +106,14 @@
<fileset dir="${basedir}/build/resources/releasedocs" includes="*.html" />
<filterset>
<filter token="builddate" value="${builddate}"/>
<filter token="version" value="${version.name}"/>
<filter token="version" value="${version}"/>
</filterset>
</copy>
<copy todir="${release-dev.dir}">
<fileset dir="${basedir}/build/resources/releasedocs" includes="*.html" />
<filterset>
<filter token="builddate" value="${builddate}"/>
<filter token="version" value="${version.name}"/>
<filter token="version" value="${version}"/>
</filterset>
</copy>
<!-- Package -->