From: eherman Date: December 12 2005 4:46pm Subject: Connector/MXJ commit: r8 - trunk/connector-mxj List-Archive: http://lists.mysql.com/commits/75 Message-Id: <200512121646.jBCGk6ur023034@bk-internal.mysql.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added: trunk/connector-mxj/_dev_notes.txt Log: added some notes... mostly for mark, really. Added: trunk/connector-mxj/_dev_notes.txt =================================================================== --- trunk/connector-mxj/_dev_notes.txt 2005-12-12 13:35:49 UTC (rev 7) +++ trunk/connector-mxj/_dev_notes.txt 2005-12-12 16:46:06 UTC (rev 8) @@ -0,0 +1,95 @@ +Notes: +* ROLLING A CONNECTOR/MXJ DISTRO +* UPDATING THE MYSQLD BINARIES + +--------- +ROLLING A CONNECTOR/MXJ DISTRO + +I start by making sure the code is up to date, and tests pass in my development +environment. A number of things have "bitten" me in this process: +* old files in my $WORKSPACE/connector-mxj/bin directory +* old files in my temp directory such as "c-mxj-utils" "cmxj-dir2" or "mysql-c.mxj" + +update the version number in build.xml +ant "dist-all" + +copy /tmp/cmxj-build/dist/connector-mxj-* to various test machines +for each platform run: +java junit.textui.TestRunner com.mysql.management.AllTestsSuite +(this depends upon JUNIT, C/J and, if java 1.4, JMX libraries) + +tag the source with the new version + +scp /tmp/cmxj-build/dist/connector-mxj-* mysqldev@stripped:/tmp/connector-mxj +ssh mysqldev@stripped +scp /tmp/connector-mxj-* production.mysql.com:/tmp/connector-mxj +ssh build.mysql.com +scp /tmp/connector-mxj-gpl-* autobuild@localhost:/home/autobuild/stage/Downloads/Connector-MXJ/ +scp /tmp/connector-mxj-commercial-* autobuild@localhost:/home/autobuild/stage/commercial/Connector-MXJ/ +rm -rf /tmp/connector-mxj/connector-mxj-* + + +email: rebuild +Cc: dev-connectors@stripped +Subject: Connector/MXJ 1.0.6-beta + +email: web-requests@stripped +for any changes to the download page + +wait for mirrors to catch up. + +email: announce@stripped +------------------ + + +UPDATING THE MYSQLD BINARIES + +download the various MySQLs +* mysql-5.0.XY-win32 +* mysql-standard-5.0.XY-linux-i686 +* mysql-standard-5.0.XY-osx10.3-powerpc +* mysql-standard-5.0.XY-solaris9-sparc + +* mysql-pro-noinstall-5.0.XY-win32.zip +* mysql-pro-5.0.XY-linux-i686 +* mysql-pro-5.0.XY-osx10.3-powerpc +* mysql-pro-5.0.XY-solaris9-sparc + +In the "resources" directory create a subdirectory named "5-0-XY" +In the "commercial" directory create a subdirectory named "5-0-XY" +Create subdirectories under each of these top level directories for the platforms +(look in previous version for a hint) + +from each, extract the "/bin/mysqld" (for win32: /bin/mysqld-nt.exe") +place the mysqld files in each of the platform directories, and update the +create a "version.txt" to describe the binary. + + +use the "scripts/mysql_install_db" to create the "data" and "share" directories. +(use your platform of course, but it is trickier on windows) + +Create the "data_dir.jar": +cd data +jar cvf $WORKSPACE/resources/5-0-XY/data_dir.jar * + + +Create the "share_dir.jar": +cd .. +jar cvf $WORKSPACE/resources/5-0-XY/share_dir.jar share + +Create the "win_share_dir.jar" (eliminate the "mysql" sub-dir) +cd share +cd mysql mv * .. +cd .. +rd mysql +cd .. +jar cvf $WORKSPACE/resources/5-0-XY/win_share_dir.jar share + +copy the *dir.jar files to the "commercial" directory as well + (this should be removed as the duplication does not really help the build process) + +Update the default version in MysqldResourceI +re-run tests + + +*** END OF FILE ***