[pgsqlclient-checkins] pgsqlclient changelog.txt,1.17,1.18 PGSqlClient.build,1.2,1.3
Status: Inactive
Brought to you by:
carlosga_fb
From: <car...@us...> - 2003-07-19 10:13:53
|
Update of /cvsroot/pgsqlclient/pgsqlclient In directory sc8-pr-cvs1:/tmp/cvs-serv30439 Modified Files: changelog.txt PGSqlClient.build Log Message: Prepare for Alpha 1 release. Index: changelog.txt =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient/changelog.txt,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** changelog.txt 18 Jul 2003 22:47:13 -0000 1.17 --- changelog.txt 19 Jul 2003 10:13:50 -0000 1.18 *************** *** 5,8 **** --- 5,10 ---- 2003-07-19 Carlos Guzmán Álvarez <car...@te...> + * Prepare for Alpha 1 release. + * Improved NUnit test Suite. Index: PGSqlClient.build =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient/PGSqlClient.build,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** PGSqlClient.build 15 Jul 2003 19:12:18 -0000 1.2 --- PGSqlClient.build 19 Jul 2003 10:13:50 -0000 1.3 *************** *** 1,4 **** <?xml version="1.0" ?> ! <project name="PGSqlClient" default="release" basedir="." xmlnds="http://tempuri.org/nant-vs.xsd"> <!-- Project properties --> <property name="project.name" value="PGSqlClient" /> --- 1,4 ---- <?xml version="1.0" ?> ! <project name="PGSqlClient" default="build-all" basedir="." xmlnds="http://tempuri.org/nant-vs.xsd"> <!-- Project properties --> <property name="project.name" value="PGSqlClient" /> *************** *** 16,19 **** --- 16,20 ---- <property name="nunit.test.dir" value="PostgreSql.Data.PGSqlClient.UnitTests\source"/> <property name="resources.dir" value="${src.dir}\Resources" /> + <property name="distribution.dir" value="${build.dir}\distribution" /> <!-- Check for Html Help Compiler --> *************** *** 32,36 **** <!-- Check for NUnit --> ! <target name="check-nunit-framework"> <ifnot propertyexists="nunit.framework.dll"> <sysinfo /> --- 33,37 ---- <!-- Check for NUnit --> ! <target name="check-nunit-framework" depends="check-htmlhelp-compiler"> <ifnot propertyexists="nunit.framework.dll"> <sysinfo /> *************** *** 40,47 **** </target> <!-- Target for check build configuration --> <target name="check-build-config" depends="clean"> ! <call target="check-htmlhelp-compiler" /> ! <call target="check-nunit-framework" /> </target> --- 41,116 ---- </target> + <!-- Displays configuration info, usefull for working out why PGSqlClient doesn't build --> + <target name="display-setup" depends="check-nunit-framework"> + <!-- .NET Framework 1.0 --> + <available type="Framework" resource="net-1.0" property="temp.framework.available" /> + <ifnot propertytrue="temp.framework.available"> + <echo message=".NET Framework 1.0 runtime is not available." /> + </ifnot> + <if propertytrue="temp.framework.available"> + <property name="nant.settings.currentframework" value="net-1.0" /> + <call target="display-current-runtime" force="true" /> + </if> + <!-- .NET Framework 1.1 --> + <available type="Framework" resource="net-1.1" property="temp.framework.available" /> + <ifnot propertytrue="temp.framework.available"> + <echo message=".NET Framework 1.1 runtime is not available." /> + </ifnot> + <if propertytrue="temp.framework.available"> + <property name="nant.settings.currentframework" value="net-1.1" /> + <call target="display-current-runtime" force="true" /> + </if> + <!-- Mono 1.0 --> + <available type="Framework" resource="mono-1.0" property="temp.framework.available" /> + <ifnot propertytrue="temp.framework.available"> + <echo message="Mono 1.0 runtime is not available." /> + </ifnot> + <if propertytrue="temp.framework.available"> + <property name="nant.settings.currentframework" value="mono-1.0" /> + <call target="display-current-runtime" force="true" /> + </if> + <!-- SSCLI 1.0 --> + <available type="Framework" resource="sscli-1.0" property="temp.framework.available" /> + <ifnot propertytrue="temp.framework.available"> + <echo message="SSCLI 1.0 runtime is not available." /> + </ifnot> + <if propertytrue="temp.framework.available"> + <property name="nant.settings.currentframework" value="sscli-1.0" /> + <call target="display-current-runtime" force="true" /> + </if> + <!-- HTML Help Compiler --> + <echo message="" /> + <echo message="----------------------------------------------------------" /> + <echo message="" /> + <echo message="htmlhelp.compiler: ${htmlhelp.compiler}" /> + <echo message="" /> + </target> + + <target name="display-current-runtime"> + <echo message="" /> + <echo message="----------------------------------------------------------" /> + <echo message=" ${nant.settings.currentframework.description}" /> + <echo message="----------------------------------------------------------" /> + <echo message="" /> + <echo message="framework : ${nant.settings.currentframework}" /> + <echo message="description : ${nant.settings.currentframework.description}" /> + <if propertyexists="nant.settings.currentframework.sdkdirectory"> + <echo message="sdk directory : ${nant.settings.currentframework.sdkdirectory}" /> + </if> + <ifnot propertyexists="nant.settings.currentframework.sdkdirectory"> + <echo message="sdk directory : <not configured/available>" /> + </ifnot> + <echo message="framework directory : ${nant.settings.currentframework.frameworkdirectory}" /> + <echo message="assembly directory : ${nant.settings.currentframework.frameworkassemblydirectory}" /> + <if propertyexists="nant.settings.currentframework.runtimeengine"> + <echo message="runtime engine : ${nant.settings.currentframework.runtimeengine}" /> + </if> + <echo message="" /> + </target> + <!-- Target for check build configuration --> <target name="check-build-config" depends="clean"> ! <call target="display-setup" /> ! <!-- ${nant.settings.currentframework} --> </target> *************** *** 49,65 **** <target name="clean" description="cleans build directory"> <delete dir="${build.dir}" failonerror="false" verbose="true" /> ! </target> ! ! <!-- Target for build in DEBUG mode --> ! <target name="debug" depends="clean"> ! <property name="build.debug" value="true" /> ! <call target="build-all" /> ! </target> ! ! <!-- Target for build in RELEASE mode --> ! <target name="release" depends="clean"> ! <property name="build.debug" value="false" /> ! <property name="build.define" value="_RELEASE" /> ! <call target="build-all" /> </target> --- 118,122 ---- <target name="clean" description="cleans build directory"> <delete dir="${build.dir}" failonerror="false" verbose="true" /> ! <delete dir="${distribution.dir}" failonerror="false" verbose="true" /> </target> *************** *** 70,80 **** <call target="build-nunit-tests" /> </if> </target> <!-- Taget for build PGSqlClient .NET Data Provider Assembly --> <target name="build-pgsqlclient"> ! <mkdir dir="${build.dir}" /> <!-- compile PostgreSql.Data.PGSqlClient --> ! <csc output="${build.dir}\${project.FormalName}.dll" target="library" debug="${build.debug}" define="${build.define}"> <sources> <includes name="${src.dir}/**/*.cs" /> --- 127,139 ---- <call target="build-nunit-tests" /> </if> + <call target="distribution" /> </target> <!-- Taget for build PGSqlClient .NET Data Provider Assembly --> <target name="build-pgsqlclient"> ! <mkdir dir="${build.dir}" failonerror="false" /> ! <!-- compile PostgreSql.Data.PGSqlClient --> ! <csc output="${build.dir}\${project.FormalName}.dll" target="library" define="${build.define}"> <sources> <includes name="${src.dir}/**/*.cs" /> *************** *** 89,92 **** --- 148,152 ---- <arg value="/resource:${resources.dir}\Toolbox\PGCommand.bmp,PostgreSql.Data.PGSqlClient.Resources.ToolboxBitmaps.PGCommand.bmp" /> <arg value="/resource:${resources.dir}\Toolbox\PGDataAdapter.bmp,PostgreSql.Data.PGSqlClient.Resources.ToolboxBitmaps.PGDataAdapter.bmp" /> + <arg value="/optimize+" /> </csc> </target> *************** *** 111,115 **** <includes name="${build.dir}/${project.FormalName}.dll" /> </references> </csc> ! </target> </project> --- 171,193 ---- <includes name="${build.dir}/${project.FormalName}.dll" /> </references> + <arg value="/optimize+" /> </csc> ! </target> ! ! <!-- Target for distribution --> ! <target name="distribution"> ! <mkdir dir="${distribution.dir}" failonerror="false" /> ! <!-- Copy needed files to distribution directory --> ! <copy todir="${distribution.dir}"> ! <fileset basedir="${build.dir}"> ! <includes name="*.dll" /> ! <includes name="*.config" /> ! </fileset> ! </copy> ! <copy todir="${distribution.dir}"> ! <fileset basedir="."> ! <includes name="*.txt" /> ! </fileset> ! </copy> ! </target> </project> |