summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorknut <>2006-03-31 22:37:36 +0000
committerknut <>2006-03-31 22:37:36 +0000
commit3d080ce9e6482ad3fa7bf9226e651244366d5a59 (patch)
tree47c8a9acd5420fe90d35b3b2379b626096d078cf /build.xml
parentb6e539162ea75250932b83def2c28d00041f96af (diff)
Workaround for packaging with empty directories and preparing build file for RC1
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml14
1 files changed, 9 insertions, 5 deletions
diff --git a/build.xml b/build.xml
index 586f4e7c..5c2e8ba7 100644
--- a/build.xml
+++ b/build.xml
@@ -12,9 +12,9 @@
<project name="prado" basedir="." default="dist">
<property name="version" value="3.0.0"/>
- <property name="state" value="beta"/>
- <property name="pkgname" value="${phing.project.name}-${version}"/>
- <property name="pkgname.pear" value="${pkgname}-pear"/>
+ <property name="state" value="RC1"/>
+ <property name="pkgname" value="${phing.project.name}-${version}${state}"/>
+ <property name="pkgname.pear" value="${pkgname}${state}-pear"/>
<property name="src.dir" value="framework"/>
<property name="doc.dir" value="docs"/>
<property name="build.base.dir" value="build"/>
@@ -224,8 +224,12 @@
<target name="build" depends="versioncheck,prepare,doc,pradolite,build-standard-package" description="Creating the main PRADO build"/>
<target name="dist" depends="build" description="Create PRADO distributions">
- <tar compression="gzip" destFile="${dist.tarfile}" basedir="${build.base.dir}/standard"/>
- <zip destfile="${dist.zipfile}" basedir="${build.base.dir}/standard"/>
+ <!--<tar compression="gzip" destFile="${dist.tarfile}" basedir="${build.base.dir}/standard"/>-->
+ <exec command="tar czvf ${pkgname}.tar.gz ${pkgname}" dir="${build.base.dir}/standard"/>
+ <move file="${build.base.dir}/standard/${pkgname}.tar.gz" tofile="${dist.tarfile}"/>
+ <!--<zip destfile="${dist.zipfile}" basedir="${build.base.dir}/standard"/>-->
+ <exec command="zip ${pkgname}.zip -r ${pkgname}/*" dir="${build.base.dir}/standard"/>
+ <move file="${build.base.dir}/standard/${pkgname}.zip" tofile="${dist.zipfile}"/>
</target>
<target name="all" depends="lint,lint-demos,test,build,dist" description="Run all targets"/>