ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/compilers Gcj.java
Date Fri, 05 Oct 2001 17:23:49 GMT
donaldp     01/10/05 10:23:49

  Modified:    src/main/org/apache/tools/ant/taskdefs/compilers Gcj.java
  Log:
  Enabled encoding option for gcj Java compiler.
  
  Submitted by: "Takashi Okamoto" <tokamoto@rd.nttdata.co.jp>
  
  Revision  Changes    Path
  1.2       +1 -2      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/compilers/Gcj.java
  
  Index: Gcj.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/compilers/Gcj.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Gcj.java	2001/08/01 15:54:24	1.1
  +++ Gcj.java	2001/10/05 17:23:49	1.2
  @@ -122,8 +122,7 @@
           cmd.createArgument().setPath(classpath);
   
           if (encoding != null) {
  -            attributes.log("gcj doesn't support -encoding option.",
  -                           Project.MSG_WARN);
  +            cmd.createArgument().setValue("--encoding=" + encoding);
           }
           if (debug) {
               cmd.createArgument().setValue("-g1");
  
  
  

Mime
View raw message