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 SQLExec.java
Date Wed, 01 Aug 2001 15:33:42 GMT
bodewig     01/08/01 08:33:42

  Modified:    src/main/org/apache/tools/ant/taskdefs SQLExec.java
  Log:
  Expand properties in <sql>.
  
  PR: 1447
  
  Revision  Changes    Path
  1.22      +2 -0      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/SQLExec.java
  
  Index: SQLExec.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/SQLExec.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- SQLExec.java	2001/08/01 15:26:22	1.21
  +++ SQLExec.java	2001/08/01 15:33:42	1.22
  @@ -493,6 +493,8 @@
           try{
               while ((line=in.readLine()) != null){
                   line = line.trim();
  +                line = ProjectHelper.replaceProperties(project, line,
  +                                                       project.getProperties());
                   if (line.startsWith("//")) continue;
                   if (line.startsWith("--")) continue;
                   if (line.length() > 2 &&
  
  
  

Mime
View raw message