Author: rhuijben
Date: Tue Mar 23 23:20:54 2010
New Revision: 926847

URL: http://svn.apache.org/viewvc?rev=926847&view=rev
Log:
* build/generator/templates/vcnet_vcproj.ezt
  Use comment block instead of define and if-any instead of is ""
  with only an else clause.
  
* build/generator/templates/vcnet_vcxproj.ezt
  Use if-any instead of is "" with only an else clause.

Modified:
    subversion/trunk/build/generator/templates/vcnet_vcproj.ezt
    subversion/trunk/build/generator/templates/vcnet_vcxproj.ezt

Modified: subversion/trunk/build/generator/templates/vcnet_vcproj.ezt
URL: 
http://svn.apache.org/viewvc/subversion/trunk/build/generator/templates/vcnet_vcproj.ezt?rev=926847&r1=926846&r2=926847&view=diff
==============================================================================
--- subversion/trunk/build/generator/templates/vcnet_vcproj.ezt (original)
+++ subversion/trunk/build/generator/templates/vcnet_vcproj.ezt Tue Mar 23 
23:20:54 2010
@@ -1,4 +1,4 @@
-[define COPYRIGHT]
+[#
 <!--
      Licensed to the Apache Software Foundation (ASF) under one
      or more contributor license agreements.  See the NOTICE file
@@ -17,7 +17,7 @@
      specific language governing permissions and limitations
      under the License.
 -->
-[end]<?xml version="1.0" encoding = "Windows-1252"?>
+]<?xml version="1.0" encoding = "Windows-1252"?>
 <VisualStudioProject
        ProjectType="Visual C++"
        Version="[version]"
@@ -128,7 +128,7 @@
                                <Tool
                                        Name="VCCustomBuildTool"
                                        CommandLine="[sources.custom_build]"
-[is sources.custom_desc ""][else]                                      
Description="[sources.custom_desc]"
+[if-any sources.custom_desc]                                   
Description="[sources.custom_desc]"
 [end]                                  AdditionalDependencies="[for 
sources.user_deps]&quot;[sources.user_deps]&quot;;[end]"
                                        
Outputs="&quot;[sources.custom_target]&quot;"/>
                        </FileConfiguration>

Modified: subversion/trunk/build/generator/templates/vcnet_vcxproj.ezt
URL: 
http://svn.apache.org/viewvc/subversion/trunk/build/generator/templates/vcnet_vcxproj.ezt?rev=926847&r1=926846&r2=926847&view=diff
==============================================================================
--- subversion/trunk/build/generator/templates/vcnet_vcxproj.ezt (original)
+++ subversion/trunk/build/generator/templates/vcnet_vcxproj.ezt Tue Mar 23 
23:20:54 2010
@@ -91,7 +91,7 @@
 [for configs][for platforms]      <Command 
Condition="'$(Configuration)|$(Platform)'=='[configs.name]|[platforms]'">[sources.custom_build]</Command>
       <AdditionalInputs 
Condition="'$(Configuration)|$(Platform)'=='[configs.name]|[platforms]'">[for 
sources.user_deps][sources.user_deps];[end]%(AdditionalInputs)</AdditionalInputs>
       <Outputs 
Condition="'$(Configuration)|$(Platform)'=='[configs.name]|[platforms]'">[sources.custom_target];%(Outputs)</Outputs>
-[is sources.custom_desc ""][else]<Message 
Condition="'$(Configuration)|$(Platform)'=='[configs.name]|[platforms]'">[sources.custom_desc]</Message>
+[if-any sources.custom_desc]<Message 
Condition="'$(Configuration)|$(Platform)'=='[configs.name]|[platforms]'">[sources.custom_desc]</Message>
 [end][end][end]    </CustomBuild>
 [else][is sources.extension ".c"]    <ClCompile Include="[sources.path]" />
 [else][is sources.extension ".cpp"]    <ClCompile Include="[sources.path]" />


Reply via email to