ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/compilers DefaultCompilerAdapter.java
Date Wed, 12 Jun 2002 14:34:17 GMT
bodewig     2002/06/12 07:34:17

  Modified:    src/main/org/apache/tools/ant/taskdefs/compilers Tag:
                        ANT_15_BRANCH DefaultCompilerAdapter.java
  Log:
  Only set -bootclasspath and -extdirs if the paths are not empty.
  
  PR: 9162
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.28.2.3  +2 -2      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java
  
  Index: DefaultCompilerAdapter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java,v
  retrieving revision 1.28.2.2
  retrieving revision 1.28.2.3
  diff -u -r1.28.2.2 -r1.28.2.3
  --- DefaultCompilerAdapter.java	24 May 2002 14:54:50 -0000	1.28.2.2
  +++ DefaultCompilerAdapter.java	12 Jun 2002 14:34:17 -0000	1.28.2.3
  @@ -277,11 +277,11 @@
                   cmd.createArgument().setValue("-target");
                   cmd.createArgument().setValue(target);
               }
  -            if (bootclasspath != null) {
  +            if (bootclasspath != null && bootclasspath.size() > 0) {
                   cmd.createArgument().setValue("-bootclasspath");
                   cmd.createArgument().setPath(bootclasspath);
               }
  -            if (extdirs != null) {
  +            if (extdirs != null && extdirs.size() > 0) {
                   cmd.createArgument().setValue("-extdirs");
                   cmd.createArgument().setPath(extdirs);
               }
  
  
  

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


Mime
View raw message