ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@locus.apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb EjbcHelper.java
Date Tue, 17 Oct 2000 14:25:39 GMT
conor       00/10/17 07:25:39

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/ejb
                        EjbcHelper.java
  Log:
  Make sure ejbc task handles situation when build.compiler is not set
  
  I didn't use Jeremy's patch directly since ejbcHelper is only interested if
  build.compielr is equal to Jikes
  
  Submitted by:	Jeremy Taylor <jtaylor@lehman.com>
  
  Revision  Changes    Path
  1.3       +1 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb/EjbcHelper.java
  
  Index: EjbcHelper.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb/EjbcHelper.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- EjbcHelper.java	2000/08/14 11:14:05	1.2
  +++ EjbcHelper.java	2000/10/17 14:25:39	1.3
  @@ -318,7 +318,7 @@
           String compiler = project.getProperty("build.compiler");
           String[] args = null;
           
  -        if (compiler.equalsIgnoreCase("jikes")) {
  +        if (compiler != null && compiler.equalsIgnoreCase("jikes")) {
               Path execClassPath = new Path(project);
               if (Project.getJavaVersion() == Project.JAVA_1_1) {
                   execClassPath.addExisting(new Path(project, System.getProperty("java.home")
  
  
  

Mime
View raw message