ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 3084] New: - Extension of "os" attribute portability
Date Fri, 10 Aug 2001 16:12:20 GMT
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3084

*** shadow/3084	Fri Aug 10 09:12:19 2001
--- shadow/3084.tmp.15023	Fri Aug 10 09:12:19 2001
***************
*** 0 ****
--- 1,41 ----
+ +============================================================================+
+ | Extension of "os" attribute portability                                    |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 3084                        Product: Ant                     |
+ |       Status: NEW                         Version: 1.4Beta1                |
+ |   Resolution:                            Platform: Other                   |
+ |     Severity: Enhancement              OS/Version: All                     |
+ |     Priority: Other                     Component: Core tasks              |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: ant-dev@jakarta.apache.org                                   |
+ |  Reported By: ulysees2001@yahoo.com                                        |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ The "os" (Operating System) attribute seems to only exist for the exec and 
+ execon tasks. Can it also apply to the "apply" task as well?
+ 
+ Also, it is not clear how to specify the list of operating systems. Is this a 
+ exact match to the value of the property ${os.name}? Can the list be shortened 
+ to just "Windows"?
+ 
+ I think this attribute should be an optional tag like a patternset or fileset. 
+ You should have the flexibility of assigning a list of possible OSs and/or 
+ exclude others. For instance, you can run a FixCRLF if and only if the OS is 
+ NOT Windows. I.e.
+ 
+ <exec executable="echo">
+   <arg value="I am not Windows"/>
+   <os>
+     <exclude name="Windows"/>
+   </os>
+ </exec>
+ 
+ <exec executable="echo">
+   <arg "I am some Unix-like OS"/>
+   <os>
+     <include value=name="*nix" />
+   </os>
+ </exec>
\ No newline at end of file

Mime
View raw message