ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb WeblogicDeploymentTool.java
Date Thu, 19 Jul 2001 11:09:42 GMT
conor       01/07/19 04:09:42

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/ejb
                        WeblogicDeploymentTool.java
  Log:
  Fix for when build.compiler is not defined (D'Oh)
  
  Submitted by:	Mark Crook <markc@cortexebusiness.com.au>
  
  Revision  Changes    Path
  1.29      +1 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb/WeblogicDeploymentTool.java
  
  Index: WeblogicDeploymentTool.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb/WeblogicDeploymentTool.java,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- WeblogicDeploymentTool.java	2001/07/18 14:03:34	1.28
  +++ WeblogicDeploymentTool.java	2001/07/19 11:09:42	1.29
  @@ -427,7 +427,7 @@
                   // try to use the compiler specified by build.compiler. Right now we are
just going
                   // to allow Jikes
                   String buildCompiler = getTask().getProject().getProperty("build.compiler");
  -                if (buildCompiler.equals("jikes")) {
  +                if (buildCompiler != null && buildCompiler.equals("jikes")) {
                       javaTask.createArg().setValue("-compiler");
                       javaTask.createArg().setValue("jikes");
                   }
  
  
  

Mime
View raw message