You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by jg...@apache.org on 2012/07/10 23:06:15 UTC

svn commit: r1359903 - /activemq/activemq-dotnet/Apache.NMS/trunk/vs2010-nms-net2.0.csproj

Author: jgomes
Date: Tue Jul 10 21:06:14 2012
New Revision: 1359903

URL: http://svn.apache.org/viewvc?rev=1359903&view=rev
Log:
Set the current folder to the project folder prior to running NAnt.

Modified:
    activemq/activemq-dotnet/Apache.NMS/trunk/vs2010-nms-net2.0.csproj

Modified: activemq/activemq-dotnet/Apache.NMS/trunk/vs2010-nms-net2.0.csproj
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/trunk/vs2010-nms-net2.0.csproj?rev=1359903&r1=1359902&r2=1359903&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/trunk/vs2010-nms-net2.0.csproj (original)
+++ activemq/activemq-dotnet/Apache.NMS/trunk/vs2010-nms-net2.0.csproj Tue Jul 10 21:06:14 2012
@@ -165,6 +165,7 @@
   <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
   <PropertyGroup>
     <PostBuildEvent>if /i "$(build_extraplatforms)" equ "true" (
+    cd $(ProjectDir)
     nant -nologo -q -D:build.framework.strings="netcf-2.0,netcf-3.5,mono-2.0"
 )
 
@@ -178,6 +179,17 @@ cd $(ProjectDir)
 nant -nologo -q install-all -D:compile.skip=true
 
 :installskip
+
+if /i "$(install_skip)" equ "true" (
+   echo Skipping install...
+   goto :installskip
+)
+
+echo Installing $(ConfigurationName) output files...
+cd $(ProjectDir)
+nant -nologo -q install-all -D:compile.skip=true
+
+:installskip
 </PostBuildEvent>
     <PreBuildEvent>cd $(ProjectDir)
 nant -nologo -q generate-assemblyinfo -D:assemblyinfo.filename="src/main/csharp/CommonAssemblyInfo.cs"