mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-23 06:42:05 +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:
parent
e1b93839d7
commit
290f1f0558
2 changed files with 11 additions and 8 deletions
|
@ -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>
|
||||
|
|
|
@ -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 -->
|
||||
|
|
Loading…
Reference in a new issue