diff options
| author | Tomas Restrepo <tomasr@apache.org> | 2007-05-14 14:06:40 +0000 |
|---|---|---|
| committer | Tomas Restrepo <tomasr@apache.org> | 2007-05-14 14:06:40 +0000 |
| commit | dda84019faf93b56028fd0c67f646362a137f0d1 (patch) | |
| tree | 611e2e525d8fab178bf05f229e58c6198578a396 /qpid/dotnet/build-mono | |
| parent | c40d919a420b377608fce2fc35de7069f912cf84 (diff) | |
| download | qpid-python-dda84019faf93b56028fd0c67f646362a137f0d1.tar.gz | |
Merged revisions 537834-537845 via svnmerge from
https://svn.apache.org/repos/asf/incubator/qpid/branches/M2
........
r537834 | tomasr | 2007-05-14 08:37:45 -0500 (Mon, 14 May 2007) | 6 lines
* QPID-489 Added Nant build scripts for Qpid.NET
* Modified msbuild files to build to central location matching nant builds
* Removed old files from Qpid.Buffer
* Removed MonoDevelop project files
* Updated build scripts, readme.txt, todo.txt
........
r537835 | tomasr | 2007-05-14 08:38:14 -0500 (Mon, 14 May 2007) | 1 line
* removed MonoDevelop solution
........
r537841 | tomasr | 2007-05-14 08:50:18 -0500 (Mon, 14 May 2007) | 1 line
Fixed Qpid.Client.Tests build on linux
........
r537845 | tomasr | 2007-05-14 08:57:12 -0500 (Mon, 14 May 2007) | 1 line
Fixed release script and made executable
........
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@537848 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/dotnet/build-mono')
| -rwxr-xr-x | qpid/dotnet/build-mono | 86 |
1 files changed, 1 insertions, 85 deletions
diff --git a/qpid/dotnet/build-mono b/qpid/dotnet/build-mono index 83a8198307..6f5cad5744 100755 --- a/qpid/dotnet/build-mono +++ b/qpid/dotnet/build-mono @@ -1,85 +1 @@ -#!/bin/bash -# -# Low brow build script for Mono 2.0. -# Uses metadata available in VS2005 project files. -# -# Replace with Mono's new XBuild when details are fully released. -# Note: XBuild is a clone of MSBuild. -# - -#MCS_FLAGS="-debug+" -MCS_FLAGS="-optimize" -outDir=$PWD/build/mono - -FindExternalReferences() -{ - assembly=$1 - grep HintPath $assembly.csproj | sed -e 's-.*<HintPath>\(.*\)</HintPath>-\1-' -e 's-\\-/-g' | - while read ref; do - echo $PWD/$ref - done -} - -Build() -{ - assembly=$1; shift - - echo "====================================================" - echo Building $assembly - references=$(grep '<ProjectReference' $assembly/$assembly.csproj | sed -e 's-.*"\(.*\)".*-\1-' -e 's-\\-/-g' | - while read file; do - echo $(basename $file .csproj); - done) - references=$(echo $references) - echo "Projects referenced = [$references]" - ( - regularRefs="" - for ref in $references; do - regularRefs="$regularRefs $outDir/$ref.dll" - done - cd $assembly - find . -name \*.cs >tmp.build.sources - externalReferences=$(FindExternalReferences $assembly) - # Strip Control-M characters from external references... - externalReferences=$(echo $externalReferences | sed 's/\r//g') - echo "externalReferences = [$externalReferences]" - echo "regularRefs = [$regularRefs]" - echo PWD=$PWD - - # construct "-r" argument. - fullrefs="" - for ref in $regularRefs $externalReferences; do - if [[ -z $fullrefs ]]; then - fullrefs="-r:$ref" - else - fullrefs="$fullrefs,$ref" - fi - done - echo "fullrefs = [$fullrefs]" - - # Copy external references to output directory. - for ref in $externalReferences; do - cp $ref $outDir - done - - # Strip Control-M character here too. Not sure how they get there... - echo $fullrefs >tmp.references - mcs $MCS_FLAGS -out:$outDir/$assembly.dll -target:library @tmp.references @tmp.build.sources - ) -} - -mkdir -p $outDir - -# Tried to magically get projects from Qpid.NET.sln but wrong order for building.. -#for project in $(grep ^Project Qpid.NET.sln | sed 's/.*\\\(.*\).csproj.*/\1/'); do -# Build $project -#done - -Build Qpid.Messaging && - Build Qpid.Buffer && - Build Qpid.Codec && - Build Qpid.Common && - Build Qpid.Common.Tests && - Build Qpid.Client && - Build Qpid.Client.Transport.Socket.Blocking && - Build Qpid.Client.Tests +nant -t:mono-2.0 |
