You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by ek...@apache.org on 2004/10/29 02:06:23 UTC
svn commit: rev 55915 - incubator/beehive/trunk
Author: ekoneil
Date: Thu Oct 28 17:06:22 2004
New Revision: 55915
Modified:
incubator/beehive/trunk/beehive.properties
incubator/beehive/trunk/build.xml
Log:
Fixes:
- set a default value for beehive.version in beehive.properties. This will set the name of the built distribution to:
apache-beehive-incubating-svn-snapshot
instead of:
apache-beehive-incubating-alpha-${beehive.version}
This value can be overridden as needed on the command line as:
ant build.dist -Dbeehive.version=foo
Since this line has branched, it seems reasonable to set the value in the beehive.properties file.
- fix the "build.dist test.dist" sequence. This is broken when the .zip/.tar.gz files aren't created because the output of the test run is written to jars/
BB: self
Test: build.dist test.dist passes
Modified: incubator/beehive/trunk/beehive.properties
==============================================================================
--- incubator/beehive/trunk/beehive.properties (original)
+++ incubator/beehive/trunk/beehive.properties Thu Oct 28 17:06:22 2004
@@ -59,4 +59,10 @@
dist.name=${dist.base.name}${beehive.version}
dist.name.src=${dist.name}-src
dist.dir=${dist.base.dir}/${dist.name}
-dist.docs.dir=${beehive.dir}/build/dist-docs
\ No newline at end of file
+dist.docs.dir=${beehive.dir}/build/dist-docs
+
+#
+# This is the version used when rolling the distribution; in order to
+# specify a different value, pass -Dbeehive.version on the command line.
+#
+beehive.version=svn-snapshot
\ No newline at end of file
Modified: incubator/beehive/trunk/build.xml
==============================================================================
--- incubator/beehive/trunk/build.xml (original)
+++ incubator/beehive/trunk/build.xml Thu Oct 28 17:06:22 2004
@@ -395,6 +395,8 @@
</target>
<target name="test.dist" description="Tests a Beehive distribution">
+ <property name="distroStdout.file" location="${beehive.dir}/build/testDistro.output"/>
+
<unzip src="${tomcat.installer}" dest="${dist.dir}"/>
<exec executable="cmd" dir="${dist.dir}" newenvironment="true" os="Windows XP,Windows 2000" outputproperty="testDistro.output">
<arg line="/c ${os.BEEHIVE_HOME}/test/testDistro.cmd"/>
@@ -406,7 +408,8 @@
</condition>
</fail>
<echo message="${testDistro.output}"/>
- <echo message="${testDistro.output}" file="build/jars/testDistro.output"/>
+
+ <echo message="${testDistro.output}" file="${distroStdout.file}"/>
</target>
<!-- ============================================= -->