Browse Source

Expand properties in <sql>.

PR: 1447


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269433 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 24 years ago
parent
commit
261ac57e67
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/main/org/apache/tools/ant/taskdefs/SQLExec.java

+ 2
- 0
src/main/org/apache/tools/ant/taskdefs/SQLExec.java View File

@@ -493,6 +493,8 @@ public class SQLExec extends Task {
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 &&


Loading…
Cancel
Save