Forum Stats

  • 3,727,347 Users
  • 2,245,373 Discussions
  • 7,852,748 Comments

Discussions

runOracleScript with file and relative path

Alex Nuijten
Alex Nuijten Member Posts: 158 Bronze Badge

Is there a way to use relative path when using runOracleScript in a changeSet?

This works:

<n0:runOracleScript sourceType="FILE" ownerName="WKY" objectName="SCRIPT">

<n0:source>

<![CDATA[/Users/alexnuijten/Projects/demo-scripts/vat_test.sql]]>

</n0:source>

</n0:runOracleScript>


but this doesn't work (even when the controller and file vat_test.sql are in the same folder):

<n0:runOracleScript sourceType="FILE" ownerName="WKY" objectName="SCRIPT">

<n0:source>

<![CDATA[vat_test.sql]]>

</n0:source>

</n0:runOracleScript>


This would be helpful, our developers use different OS (Windows and Apple) and have the Git-repository checked out in a place where they see fit.

Sign In or Register to comment.