cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: cocoon-2.1/tools/src/anttasks XConfToolTask.java
Date Thu, 18 Mar 2004 10:56:54 GMT
bruno       2004/03/18 02:56:54

  Modified:    tools/src/anttasks XConfToolTask.java
  Log:
  if-prop wasn't working (my fault)
  
  Revision  Changes    Path
  1.23      +2 -2      cocoon-2.1/tools/src/anttasks/XConfToolTask.java
  
  Index: XConfToolTask.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/tools/src/anttasks/XConfToolTask.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- XConfToolTask.java	17 Mar 2004 20:04:18 -0000	1.22
  +++ XConfToolTask.java	18 Mar 2004 10:56:53 -0000	1.23
  @@ -305,7 +305,7 @@
           String ifProp = getAttribute(elem, "if-prop", replaceProperties);
           boolean ifValue = false;
           if (ifProp != null && !ifProp.equals("")) {
  -            Boolean.valueOf(project.getProperty(ifProp)).booleanValue();
  +            ifValue = Boolean.valueOf(project.getProperty(ifProp)).booleanValue();
           }
   
           if (ifProp != null && ifProp.length() > 0 && !ifValue ) {
  
  
  

Mime
View raw message