ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/dotnet CSharp.java
Date Wed, 28 Jul 2004 13:45:03 GMT
bodewig     2004/07/28 06:45:03

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/dotnet
                        CSharp.java
  Log:
  Mono's mcs doesn't like the filealign parameter
  
  Revision  Changes    Path
  1.44      +1 -1      ant/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/CSharp.java
  
  Index: CSharp.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/CSharp.java,v
  retrieving revision 1.43
  retrieving revision 1.44
  diff -u -r1.43 -r1.44
  --- CSharp.java	14 Apr 2004 15:42:07 -0000	1.43
  +++ CSharp.java	28 Jul 2004 13:45:02 -0000	1.44
  @@ -197,7 +197,7 @@
        *@return    The OutputFile Parameter to CSC
        */
       protected String getFileAlignParameter() {
  -        if (fileAlign != 0) {
  +        if (fileAlign != 0 && !"mcs".equals(getExecutable())) {
               return "/filealign:" + fileAlign;
           } else {
               return null;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message