Thread: [pgsqlclient-checkins] SF.net SVN: pgsqlclient: [37] trunk/pgsqlclient/builds/win32/PgSqlClient.buil
Status: Inactive
Brought to you by:
carlosga_fb
From: <car...@us...> - 2006-03-17 18:22:57
|
Revision: 37 Author: carlosga_fb Date: 2006-03-17 10:22:48 -0800 (Fri, 17 Mar 2006) ViewCVS: http://svn.sourceforge.net/pgsqlclient/?rev=37&view=rev Log Message: ----------- Changes on the nant build project Modified Paths: -------------- trunk/pgsqlclient/builds/win32/PgSqlClient.build Modified: trunk/pgsqlclient/builds/win32/PgSqlClient.build =================================================================== --- trunk/pgsqlclient/builds/win32/PgSqlClient.build 2006-03-17 17:11:47 UTC (rev 36) +++ trunk/pgsqlclient/builds/win32/PgSqlClient.build 2006-03-17 18:22:48 UTC (rev 37) @@ -7,11 +7,11 @@ /> <property name="project.version" - value="1.0" + value="2.0 alpha 1" /> <property name="project.release.type" - value="rc1" + value="alpha" overwrite="false" /> <!-- nightly / dev / alpha / beta# / rc# / release --> @@ -47,7 +47,7 @@ <!-- Paths properties --> <property - name="source.dir" value="../../../source" + name="source.dir" value="../../source" /> <!-- Check for Html Help Compiler --> @@ -105,7 +105,7 @@ <!-- Copy snk file --> <copy - file="${source.dir}/FirebirdSql.Data.Firebird/FirebirdSql.Data.Firebird.snk" + file="${source.dir}/PostgreSql/Data/PostgreSql.Data.PostgreSqlClient.snk" todir="." /> </target> @@ -133,14 +133,6 @@ depends="check-build-config" description="Builds the provider for all available framework versions"> - <if test="${framework::exists('mono-1.0')}"> - <call target="set-mono-1.0-framework-configuration"/> - <call target="build" /> - </if> - <if test="${framework::exists('net-1.1')}"> - <call target="set-net-1.1-framework-configuration"/> - <call target="build" /> - </if> <if test="${framework::exists('net-2.0')}"> <call target="set-net-2.0-framework-configuration"/> <call target="build" /> @@ -148,29 +140,6 @@ </target> <target - name="set-net-1.1-framework-configuration" - description="Configures the build for MS.NET Framework 1.1"> - - <property - name="nant.settings.currentframework" - value="net-1.1" - /> - <property - name="current.build.defines" - value="${build.defines}NET,NET_1_1" - dynamic="true" - /> - <property - name="link.sdkdoc.version" - value="SDK_v1_1" - /> - <property - name="link.sdkdoc.web" - value="false" - /> - </target> - - <target name="set-net-2.0-framework-configuration" description="Configures the build for MS.NET Framework 2.0"> @@ -193,29 +162,6 @@ /> </target> - <target - name="set-mono-1.0-framework-configuration" - description="Configures the build for mono:: 1.0"> - - <property - name="nant.settings.currentframework" - value="mono-1.0" - /> - <property - name="current.build.defines" - value="${build.defines}MONO,MONO_1_0" - dynamic="true" - /> - <property - name="link.sdkdoc.version" - value="SDK_v1_1" - /> - <property - name="link.sdkdoc.web" - value="false" - /> - </target> - <!-- Build target for all existing platforms --> <target name="build"> <echo message="Using '${framework::get-target-framework()}' framework on '${platform::get-name()}' platform." /> @@ -248,14 +194,11 @@ <include name="System.Drawing.dll"/> <include name="System.XML.dll"/> <include name="System.Windows.Forms.dll"/> - <!-- include name="C:\Archivos de programa\Microsoft Visual Studio .NET 2003\Common7\IDE\PublicAssemblies\VSLangProj.dll"/ --> - <!-- include name="C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\EnvDTE.dll"/ --> </references> - <arg value="/resource:${source.dir}/FirebirdSql.Data.Common/Resources/isc_error_msg.resources,FirebirdSql.Data.Common.Resources.isc_error_msg.resources"/> - <arg value="/resource:${source.dir}/FirebirdSql.Data.Firebird/Resources/FbConnection.bmp,FirebirdSql.Data.Firebird.Resources.FbConnection.bmp"/> - <arg value="/resource:${source.dir}/FirebirdSql.Data.Firebird/Resources/FbCommand.bmp,FirebirdSql.Data.Firebird.Resources.FbCommand.bmp"/> - <arg value="/resource:${source.dir}/FirebirdSql.Data.Firebird/Resources/FbDataAdapter.bmp,FirebirdSql.Data.Firebird.Resources.FbDataAdapter.bmp"/> + <arg value="/resource:${source.dir}/PostgreSql/Data/Resources/ToolBox/PgConnection.bmp,PostgreSql.Data.Resources.ToolBox.PgConnection.bmp"/> + <arg value="/resource:${source.dir}/PostgreSql/Data/Resources/ToolBox/PgCommand.bmp,PostgreSql.Data.Resources.ToolBox.PgCommand.bmp"/> + <arg value="/resource:${source.dir}/PostgreSql/Data/Resources/ToolBox/PgDataAdapter.bmp,PostgreSql.Data.Resources.ToolBox.PgDataAdapter.bmp"/> <arg value="/optimize+" /> </csc> @@ -278,7 +221,7 @@ <!-- Copy config file to build dir --> <copy - file="${source.dir}/FirebirdSql.Data.Firebird.UnitTest/App.config" + file="${source.dir}/UnitTests/*.config" tofile="${build.dir}/${nant.project.name}.UnitTest.dll.config" /> @@ -331,355 +274,4 @@ /> </nunit2> </target> - - <!-- SDK Build targets --> - <target - name="build-sdk" - depends="build-all" - description="Builds the SDK help file"> - - <!-- Check for Html Help compiler --> - <call - target="check-htmlhelp-compiler" - /> - - <!-- Framework version --> - <property - name="nant.settings.currentframework" - value="net-1.1" - /> - - <!-- Set build directory --> - <property - name="build.dir" - value="${nant.settings.currentframework}/bin/${project.config}" - /> - - <!-- Set sdk build directory --> - <property - name="build.sdk.dir" - value="${build.dir}/sdk" - /> - - <!-- Create html-help build directory --> - <mkdir - dir="${build.sdk.dir}" - failonerror="false" - /> - - <ndoc failonerror="false"> - <assemblies basedir="${build.dir}"> - <include name="${nant.project.name}.dll"/> - </assemblies> - - <documenters> - <documenter name="MSDN"> - <property name="OutputDirectory" value="${build.sdk.dir}" /> - <property name="OutputTarget" value="HtmlHelp" /> - <property name="SdkDocVersion" value="${link.sdkdoc.version}" /> - <property name="SdkLinksOnWeb" value="${link.sdkdoc.web}" /> - <property name="HtmlHelpName" value="FirebirdNETProviderSDK" /> - <property name="IncludeFavorites" value="False" /> - <property name="Title" value="Firebird ADO.NET Provider SDK Documentation - v${project.version}" /> - <property name="SplitTOCs" value="False" /> - <property name="DefaulTOC" value="" /> - <property name="ShowVisualBasic" value="True" /> - <property name="Preliminary" value="${not(project.release.type=='release')}" /> - <property name="ShowMissingSummaries" value="${build.debug}" /> - <property name="ShowMissingRemarks" value="${build.debug}" /> - <property name="ShowMissingParams" value="${build.debug}" /> - <property name="ShowMissingReturns" value="${build.debug}" /> - <property name="ShowMissingValues" value="${build.debug}" /> - <property name="DocumentAttributes" value="True" /> - <property name="ShowTypeIdInAttributes" value="False" /> - <property name="DocumentInternals" value="False" /> - <property name="DocumentPrivates" value="False" /> - <property name="DocumentProtected" value="True" /> - <property name="DocumentEmptyNamespaces" value="False" /> - <property name="IncludeAssemblyVersion" value="False" /> - <property name="CopyrightText" value="Copyright (C) 2002-${datetime::get-year(datetime::now())} Carlos Guzman Alvarez" /> - <property name="CopyrightHref" value="http://www.firebirdsql.org" /> - <property name="EditorBrowsableFilter" value="Off" /> - </documenter> - </documenters> - </ndoc> - - <!-- Rename CHM file --> - <copy - file="${build.sdk.dir}/FirebirdNETProviderSDK.chm" - tofile="${build.dir}/FirebirdNETProviderSDK.chm" - /> - - <!-- Clean actual sdk build directory --> - <delete - dir="${build.sdk.dir}" - failonerror="false" - /> - </target> -</project> - - - - - -<?xml version="1.0" encoding="utf-8" ?> -<project name="PgSqlClient" default="release" basedir="." xmlnds="http://tempuri.org/nant-vs.xsd"> - <!-- Project properties --> - <property name="project.name" value="PgSqlClient" /> - <property name="project.FormalName" value="PostgreSql.Data.PgSqlClient" /> - <property name="project.version" value="1.0" /> - - <!-- Build properties --> - <property name="build.debug" value="true" /> - <property name="build.define" value="DEBUG" /> - - <!-- Paths properties --> - <property name="base.dir" value="." /> - <property name="base.build.dir" value="build" /> - <property name="build.dir" value="${base.build.dir}" /> - - <property name="tls.src.dir" value="Mono.Security" /> - <property name="src.dir" value="${project.FormalName}\source" /> - <property name="resources.dir" value="${src.dir}\Resources" /> - <property name="nunit.test.dir" value="PostgreSql.Data.PgSqlClient.UnitTests\source"/> - - <!-- Check for NUnit --> - <target name="check-nunit-framework"> - <if test="${not property::exists('nunit.framework.dll')}"> - <sysinfo /> - <property - name="nunit.framework.dll" - value="${sys.os.folder.programfiles}\NUnit 2.2.2\bin\nunit.framework.dll" - readonly="false" /> - </if> - </target> - - <!-- Target for check build configuration --> - <target name="check-build-config" depends="clean"> - <call target="check-nunit-framework" /> - </target> - - <!-- Target for clean destination directory --> - <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> - - <!-- Build target for all existing platforms --> - <target name="build-all" depends="check-build-config"> - <!-- Build --> - <if test="${framework::exists('net-1.0')}"> - <call target="net-1.0"/> - </if> - <if test="${framework::exists('net-1.1')}"> - <call target="net-1.1"/> - </if> - <if test="${framework::exists('net-2.0')}"> - <call target="net-2.0"/> - </if> - <if test="${framework::exists('mono-1.0')}"> - <call target="mono-1.0"/> - </if> - </target> - - <target name="net-1.0"> - <!-- .NET Framework 1.0 --> - <property name="nant.settings.currentframework" value="net-1.0" /> - - <echo message="Build using .NET Framework 1.0." /> - <call target="build-provider"/> - <if test="${property::exists('nunit.framework.dll')}"> - <call target="build-nunit-tests"/> - </if> - <call target="distribution"/> - </target> - - <target name="net-1.1"> - <!-- .NET Framework 1.1 --> - <property name="nant.settings.currentframework" value="net-1.1" /> - - <echo message="Build using .NET Framework 1.1." /> - <call target="build-provider"/> - <if test="${property::exists('nunit.framework.dll')}"> - <call target="build-nunit-tests"/> - </if> - <call target="distribution"/> - </target> - - <target name="net-2.0"> - <!-- .NET Framework 2.0 --> - <property name="nant.settings.currentframework" value="net-2.0" /> - - <echo message="Build using .NET Framework 2.0." /> - <call target="build-provider"/> - <if test="${property::exists('nunit.framework.dll')}"> - <call target="build-nunit-tests"/> - </if> - <call target="distribution"/> - </target> - - <target name="mono-1.0"> - <!-- mono:: 1.0 --> - <property name="nant.settings.currentframework" value="mono-1.0" /> - - <property name="build.define" value="${build.define};_MONO"/> - - <echo message="Build using mono:: 1.0." /> - <call target="build-provider-mono"/> - </target> - - <!-- Target for build TLS Assembly (Microsoft .NET) --> - <target name="build-tls"> - <property name="build.dir" value="${base.build.dir}\${nant.settings.currentframework}" /> - - <mkdir dir="${build.dir}" failonerror="false" /> - - <!-- compile Mono.Security.TLS --> - <csc output="${build.dir}\Mono.Security.Protocol.Tls.dll" target="library" define="${build.define}"> - <sources> - <include name="${tls.src.dir}/**/*.cs" /> - </sources> - <references> - <include name="System.dll" /> - <include name="System.Data.dll" /> - <include name="System.Drawing.dll" /> - <include name="System.XML.dll" /> - </references> - <arg value="/optimize+" /> - <arg value="/unsafe" /> - </csc> - </target> - - <!-- Taget for build PgSqlClient Data Provider (Microsoft .NET)--> - <target name="build-provider" depends="build-tls"> - <property name="build.dir" value="${base.build.dir}\${nant.settings.currentframework}" /> - - <!-- compile PostgreSql.Data.PgSqlClient --> - <csc output="${build.dir}\${project.FormalName}.dll" target="library" define="${build.define}" debug="${build.debug}"> - <sources> - <include name="${src.dir}/**/*.cs" /> - </sources> - <references> - <include name="System.dll" /> - <include name="System.Data.dll" /> - <include name="System.Design.dll"/> - <include name="System.Drawing.dll" /> - <include name="System.XML.dll" /> - <include name="${build.dir}/Mono.Security.Protocol.Tls.dll" /> - </references> - <arg value="/resource:${resources.dir}\Toolbox\PgConnection.bmp,PostgreSql.Data.PgSqlClient.Resources.ToolBox.PgConnection.bmp" /> - <arg value="/resource:${resources.dir}\Toolbox\PgCommand.bmp,PostgreSql.Data.PgSqlClient.Resources.ToolBox.PgCommand.bmp" /> - <arg value="/resource:${resources.dir}\Toolbox\PgDataAdapter.bmp,PostgreSql.Data.PgSqlClient.Resources.ToolBox.PgDataAdapter.bmp" /> - <arg value="/optimize+" /> - </csc> - </target> - - <!-- Taget for build TLS Assembly (mono::)--> - <target name="build-tls-mono"> - <property name="build.dir" value="${base.build.dir}\${nant.settings.currentframework}" /> - - <mkdir dir="${build.dir}" failonerror="false" /> - - <!-- compile Mono.Security.TLS --> - <csc output="${build.dir}\Mono.Security.Tls.dll" target="library" define="${build.define}"> - <sources> - <include name="${tls.src.dir}/**/*.cs" /> - </sources> - - <references> - <include name="${nant.settings.currentframework.frameworkassemblydirectory}/System.dll" /> - <include name="${nant.settings.currentframework.frameworkassemblydirectory}/System.Data.dll" /> - <include name="${nant.settings.currentframework.frameworkassemblydirectory}/System.Drawing.dll" /> - <include name="${nant.settings.currentframework.frameworkassemblydirectory}/System.XML.dll" /> - </references> - <arg value="/optimize+" /> - <arg value="/unsafe" /> - </csc> - </target> - - <!-- Taget for build PgSqlClient Data Provider Assembly (mono::) --> - <target name="build-provider-mono" depends="build-tls-mono"> - <property name="build.dir" value="${base.build.dir}\${nant.settings.currentframework}" /> - - <!-- compile PostgreSql.Data.PgSqlClient --> - <csc output="${build.dir}\${project.FormalName}.dll" target="library" define="${build.define}"> - <sources> - <include name="${src.dir}/**/*.cs" /> - </sources> - - <references> - <include name="${nant.settings.currentframework.frameworkassemblydirectory}/System.dll" /> - <include name="${nant.settings.currentframework.frameworkassemblydirectory}/System.Design.dll" /> - <include name="${nant.settings.currentframework.frameworkassemblydirectory}/System.Data.dll" /> - <include name="${nant.settings.currentframework.frameworkassemblydirectory}/System.Drawing.dll" /> - <include name="${nant.settings.currentframework.frameworkassemblydirectory}/System.XML.dll" /> - <include name="${build.dir}/Mono.Security.Tls.dll" /> - </references> - <arg value="/resource:${resources.dir}\Toolbox\PgConnection.bmp,PostgreSql.Data.PgSqlClient.Resources.ToolBox.PgConnection.bmp" /> - <arg value="/resource:${resources.dir}\Toolbox\PgCommand.bmp,PostgreSql.Data.PgSqlClient.Resources.ToolBox.PgCommand.bmp" /> - <arg value="/resource:${resources.dir}\Toolbox\PgDataAdapter.bmp,PostgreSql.Data.PgSqlClient.Resources.ToolBox.PgDataAdapter.bmp" /> - <arg value="/optimize+" /> - </csc> - </target> - - <!-- Target for build NUnit Test Suite --> - <target name="build-nunit-tests"> - <property name="build.dir" value="${base.build.dir}\${nant.settings.currentframework}" /> - - <copy todir="${build.dir}"> - <fileset basedir="${nunit.test.dir}/.."> - <include name="*.config" /> - </fileset> - </copy> - - <!-- compile PostgreSql.Data.PgSqlClient.Tests --> - <csc output="${build.dir}\${project.FormalName}.UnitTests.dll" target="library"> - <sources> - <include name="${nunit.test.dir}/**/*.cs" /> - </sources> - <references> - <include name="System.dll" /> - <include name="System.Data.dll" /> - <include name="System.XML.dll" /> - <include name="${nunit.framework.dll}"/> - <include name="${build.dir}/${project.FormalName}.dll" /> - </references> - <arg value="/optimize+" /> - </csc> - </target> - - <!-- Target for distribution --> - <target name="distribution"> - <property name="build.dir" value="${base.build.dir}\${nant.settings.currentframework}" /> - <property name="distribution.dir" value="${build.dir}\distribution" /> - - <mkdir dir="${distribution.dir}" failonerror="false" /> - - <!-- Copy needed files to distribution directory --> - <copy todir="${distribution.dir}"> - <fileset basedir="${build.dir}"> - <include name="*.dll" /> - <include name="*.config" /> - </fileset> - </copy> - - <copy todir="${distribution.dir}"> - <fileset basedir="."> - <include name="*.txt" /> - <include name="*.html" /> - </fileset> - </copy> - </target> -</project> +</project> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |