I was trying to figure out where the project version is stored and it appears to be stored in many places (and out of date in most of them)

Files that refer to 0.7
./extras/qmf/setup.py:23:      version="0.7",
./tests/setup.py:23:      version="0.7",
./cpp/src/qpid/Version.h:39:  const std::string version  = "0.7";
./cpp/configure.ac:14:AC_INIT([qpidc], [0.7], [...@qpid.apache.org])
./python/setup.py:301:      version="0.7",
./java/management/common/src/main/java/management-common.bnd:1:ver: 0.7.0
./java/client/src/main/java/client.bnd:1:ver: 0.7.0
./java/common.xml:26:  <property name="project.version"       value="0.7"/>

Files that refer to 0.6
./doc/book/src/SASL-Compatibility.xml:20:| Python Client |0.6\[[#2]\]|0.6\[[#2]\]|0.6\[[#2]\] |0.6\[[#2]\]|0.6\[[#2]\] | M4 | ./doc/book/src/SASL-Compatibility.xml:21:| Ruby Client |0.6\[[#2]\]|0.6\[[#2]\]|0.6\[[#2]\] |0.6\[[#2]\]|0.6\[[#2]\] | M4 |
./cpp/bld-winsdk.ps1:27:$ver='0.6'
./cpp/examples/README.txt:19: C:\Program Files\qpidc-0.6\examples\direct> declare_queues ./java/broker/src/test/java/org/apache/qpid/server/logging/messages/BrokerMessagesTest.java:32: String version = "Qpid 0.6"; ./java/broker/src/main/java/org/apache/qpid/server/plugins/PluginManager.java:82: "org.apache.qpid.junit.extensions.util; version=0.6.1,"
./java/common/src/main/java/common.bnd:1:ver: 0.6.0
./java/systests/src/main/java/org/apache/qpid/server/logging/BrokerLoggingTest.java:348: * <date> MESSAGE BRK-1001 : Startup : qpid Version: 0.6 Build: 767150

I propose we create a single file: qpid/QPID_VERSION.txt and have all the build systems copy that into their builds when built in an SVN checkout. Any objections or better ideas? I can fix up C++, any volunteers to do python/ruby/java?

Cheers,
Alan.

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org

Reply via email to