* migration ant task fail when path to the sql migration script files have the space character.
This commit is contained in:
parent
65bd6542bb
commit
c447821639
|
@ -38,7 +38,7 @@
|
|||
<echo message="Loading file ${file.name}" />
|
||||
<exec dir="${oracle.home}/bin" executable="${oracle.home}/bin/sqlplus" resultproperty="sqlplus.result" output="sqlplus.log" append="true">
|
||||
<arg line="${oracle.connect.param}" />
|
||||
<arg line="@${file.name}" />
|
||||
<arg line='@"${file.name}"'/>
|
||||
</exec>
|
||||
<echo message="File ${file.name} status ${sqlplus.result}" />
|
||||
<echo append="true" file="build.log">File ${file.name} status ${sqlplus.result}</echo>
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
<arg line="-h ${postgresql.host}" />
|
||||
<arg line="-d ${postgresql.database} -q" />
|
||||
<arg line="-U ${postgresql.user}" />
|
||||
<arg line="-f ${file.name}" />
|
||||
<arg line='-f "${file.name}"' />
|
||||
<env key="PGPASSWORD" value="${postgresql.password}" />
|
||||
</exec>
|
||||
<echo message="File ${file.name} status ${psql.result}" />
|
||||
|
|
Loading…
Reference in New Issue