Author: adrianocrestani Date: Fri Nov 30 22:51:31 2007 New Revision: 600054
URL: http://svn.apache.org/viewvc?rev=600054&view=rev Log: -adding distribution task detains to README_ANT_INSTALL file Modified: incubator/tuscany/cpp/sdo/README_ANT_INSTALL Modified: incubator/tuscany/cpp/sdo/README_ANT_INSTALL URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sdo/README_ANT_INSTALL?rev=600054&r1=600053&r2=600054&view=diff ============================================================================== --- incubator/tuscany/cpp/sdo/README_ANT_INSTALL (original) +++ incubator/tuscany/cpp/sdo/README_ANT_INSTALL Fri Nov 30 22:51:31 2007 @@ -161,17 +161,51 @@ Main targets: - all build and install all TuscanySdoNative source code and documentation - build Build all TuscanySdoNative source code and documentation - clean Clean all TuscanySdoNative compiled source code - install Install TuscanySdoNative libraries and headers - test Run SDO tests, not implemented yet + all build and install all TuscanySdoNative source code and documentation + build Build all TuscanySdoNative source code and documentation + clean Clean all TuscanySdoNative compiled source code + install Install TuscanySdoNative libraries and headers + test Run SDO tests, not implemented yet + distribution Create a source and bin distribution structure + pack.distribution Pack the bin and source distribution into .zip and .tar.gz files. Also generates the .asc and .md5 files Default target: all Public targets are those that have descriptions and are usually the only ones needed for compiling, installing and cleaning. For more avanced use, the private targets can be seen by looking at the actual build.xml file. + + +GENERATING A PROJECT DISTRIBUTION +================================= + +To create a src and bin distribution of Tuscany SDO subproject, there must be set some properties on platform.properties files: + +Property Required Example Description +-------- -------- ------- ----------- + +platform.public.key.path Yes "E:/gnupg/trustdb.gpg" The public key ring file path + +platform.secret.key.path Yes "E:/gnupg/secring.gpg" The secret key ring file path + +platform.key.id Yes "148CAFB2" The key id used to sign the distribution files + +platform.tuscanySDO.distribution.dir NO "C:\distribution\" The folder where the distribution files will be generated, default=tuscanySDO.root.dir/distribution + +platform.tuscanySDO.release.file.name NO "tuscany_das_native-1.0-incubator-M4-" The beginning of src and bin packed distribution file name, default="tuscany_cpp_das". + TUSCANY_DASCPP_RELEASE_NAME env var may be used as an alternative + +Also is required the bcpg-jdk<latest_version>-<latest_version>.jar and jce-jdk<latest_version>-<latest_version>.jar files defines on classpath. +Both can be found at http://www.bouncycastle.org/latest_releases.html + +Use the "distribution" target to generate the src and bin distribution file structure under platform.tuscanySDO.distribution.dir folder. +Then use the "pack.distribution" target to pack the bin and src distribution folders as .zip and .tar.gz and generate their .asc and .md5 files. +A password must be set on the command line when using pack.distribution target, this password is used to sign the packed distribution files with the secret key defined on platform.secret.key.path + +Usage: +ant distribution +// do whatever you want on the generated distribution files +ant pack.distribution -Dpassword="123456" CONFIGURATION --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
