Update of /cvsroot/nant/nant/src/NAnt.Console
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv27372/src/NAnt.Console

Modified Files:
        App.config 
Log Message:
Added support for relational operators between version values. Use this newly 
introduced support to clean-up version checks in our framework configuration 
projects.
Mono's resgen(2) only supports /useSourcePath on Mono 1.2.4 and higher. Fixes 
bug #1653893.

Index: App.config
===================================================================
RCS file: /cvsroot/nant/nant/src/NAnt.Console/App.config,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** App.config  4 Feb 2007 17:25:28 -0000       1.28
--- App.config  17 Feb 2007 07:54:06 -0000      1.29
***************
*** 422,426 ****
  
                          <!-- determine if we're dealing with a Mono 1.0.x 
release -->
!                         <if 
test="${version::get-major(version::parse(mono.version)) == 1 and 
version::get-minor(version::parse(mono.version)) == 0}">
                              <!-- 
                                  in Mono 1.0.x, the framework tools are 
located 
--- 422,426 ----
  
                          <!-- determine if we're dealing with a Mono 1.0.x 
release -->
!                         <if test="${version::parse(mono.version) &lt; 
version::parse('1.1')}">
                              <!-- 
                                  in Mono 1.0.x, the framework tools are 
located 
***************
*** 446,451 ****
                          </if>
  
!                         <!-- determine if we're NOT dealing with a Mono 1.0.x 
release -->
!                         <if 
test="${version::get-major(version::parse(mono.version)) != 1 or 
version::get-minor(version::parse(mono.version)) != 0}">
                              <!-- 
                                  in Mono 1.1.x (and higher ?), the framework 
tools 
--- 446,451 ----
                          </if>
  
!                         <!-- determine if we're dealing with a Mono 1.1.x 
release or higher -->
!                         <if test="${version::parse(mono.version) >= 
version::parse('1.1')}">
                              <!-- 
                                  in Mono 1.1.x (and higher ?), the framework 
tools 
***************
*** 597,601 ****
  
                          <!-- determine if we're dealing with a Mono 1.0.x 
release -->
!                         <if 
test="${version::get-major(version::parse(mono.version)) == 1 and 
version::get-minor(version::parse(mono.version)) == 0}">
                              <!-- 
                                  in Mono 1.0.x, the framework tools are 
located 
--- 597,601 ----
  
                          <!-- determine if we're dealing with a Mono 1.0.x 
release -->
!                         <if test="${version::parse(mono.version) &lt; 
version::parse('1.1')}">
                              <!-- 
                                  in Mono 1.0.x, the framework tools are 
located 
***************
*** 620,625 ****
                          </if>
  
!                         <!-- determine if we're NOT dealing with a Mono 1.0.x 
release -->
!                         <if 
test="${version::get-major(version::parse(mono.version)) != 1 or 
version::get-minor(version::parse(mono.version)) != 0}">
                              <!-- 
                                  in Mono 1.1.x (and higher ?), all the 
framework 
--- 620,625 ----
                          </if>
  
!                         <!-- determine if we're dealing with a Mono 1.1.x 
release or higher -->
!                         <if test="${version::parse(mono.version) >= 
version::parse('1.1')}">
                              <!-- 
                                  in Mono 1.1.x (and higher ?), all the 
framework 
***************
*** 662,668 ****
                              <property name="csc.supportsdocgeneration" 
value="true" />
                          </if>
! 
!                         <!-- as from Mono 1.2.x, resgen supports the 
/usesourcepath option -->
!                         <if 
test="${version::get-major(version::parse(mono.version)) > 1 or 
version::get-minor(version::parse(mono.version)) >= 2}">
                              <property 
name="resgen.supportsexternalfilereferences" value="true" />
                          </if>
--- 662,667 ----
                              <property name="csc.supportsdocgeneration" 
value="true" />
                          </if>
!                         <!-- as from Mono 1.2.4, resgen supports the 
/usesourcepath option -->
!                         <if test="${version::parse(mono.version) >= 
version::parse('1.2.4')}">
                              <property 
name="resgen.supportsexternalfilereferences" value="true" />
                          </if>
***************
*** 962,966 ****
                              <property name="csc.supportsdocgeneration" 
value="true" />
                          </if>
!                         <if test="${pkg-config::is-atleast-version('mono', 
'1.2')}">
                              <property 
name="resgen.supportsexternalfilereferences" value="true" />
                          </if>
--- 961,966 ----
                              <property name="csc.supportsdocgeneration" 
value="true" />
                          </if>
!                         <!-- as from Mono 1.2.4, resgen supports the 
/usesourcepath option -->
!                         <if test="${pkg-config::is-atleast-version('mono', 
'1.2.4')}">
                              <property 
name="resgen.supportsexternalfilereferences" value="true" />
                          </if>


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
nant-commits mailing list
nant-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-commits

Reply via email to